blob: 8c26c0afd90c6f755d715043ccab001fc5980abd [file] [log] [blame]
Marek Vasut276dad42025-01-29 18:04:28 +01001#
2# board/renesas/whitehawk/Makefile
3#
4# Copyright (C) 2024 Marek Vasut <marek.vasut+renesas@mailbox.org>
5#
6# SPDX-License-Identifier: GPL-2.0+
7#
8
9# R-Car SoCs
10ifndef CONFIG_RZG2L
11
12# 32 bit SoCs
13ifdef CONFIG_RCAR_32
14ifdef CONFIG_RCAR_GEN2
15endif
16endif
17
18# 64 bit SoCs
19ifdef CONFIG_RCAR_64
20ifndef CONFIG_XPL_BUILD
Marek Vasutfc756d72025-01-29 18:04:29 +010021obj-y += rcar64-common.o
Marek Vasut276dad42025-01-29 18:04:28 +010022endif
23
24ifdef CONFIG_RCAR_GEN3
25ifdef CONFIG_XPL_BUILD
26obj-y += gen3-spl.o
27else
28obj-y += gen3-common.o
29ifdef CONFIG_R8A77970
30obj-y += v3-common.o
31endif
32ifdef CONFIG_R8A77980
33obj-y += v3-common.o
34endif
35endif
36endif
37
38ifdef CONFIG_RCAR_GEN4
39ifdef CONFIG_XPL_BUILD
40obj-y += gen4-spl.o
41else
42obj-y += gen4-common.o
43endif
44endif
45endif
46
47endif