diff options
Diffstat (limited to 'board/spear')
-rw-r--r-- | board/spear/common/Makefile | 5 | ||||
-rw-r--r-- | board/spear/x600/Makefile | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/board/spear/common/Makefile b/board/spear/common/Makefile index 08dc09f06df..b0ba320481b 100644 --- a/board/spear/common/Makefile +++ b/board/spear/common/Makefile @@ -5,7 +5,10 @@ # SPDX-License-Identifier: GPL-2.0+ # -ifndef CONFIG_SPL_BUILD +ifdef CONFIG_SPL_BUILD +# necessary to create built-in.o +obj- := __dummy__.o +else obj-y := spr_misc.o obj-y += spr_lowlevel_init.o endif diff --git a/board/spear/x600/Makefile b/board/spear/x600/Makefile index f9053feec35..18d3dd2e6fa 100644 --- a/board/spear/x600/Makefile +++ b/board/spear/x600/Makefile @@ -5,6 +5,9 @@ # SPDX-License-Identifier: GPL-2.0+ # -ifndef CONFIG_SPL_BUILD +ifdef CONFIG_SPL_BUILD +# necessary to create built-in.o +obj- := __dummy__.o +else obj-y := fpga.o x600.o endif |