summaryrefslogtreecommitdiff
path: root/board/spear/common
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-04 17:24:25 +0900
committerTom Rini <trini@ti.com>2014-02-19 11:07:50 -0500
commit7c8278a866122ef6c1201b94cd602f98cc649a2f (patch)
treeb437709eca74cde4fd5febe614c4bc39c9fe2074 /board/spear/common
parent9e4140329ee9a787d0f96ac2829d618d47f7973f (diff)
downloadu-boot-imx-7c8278a866122ef6c1201b94cd602f98cc649a2f.zip
u-boot-imx-7c8278a866122ef6c1201b94cd602f98cc649a2f.tar.gz
u-boot-imx-7c8278a866122ef6c1201b94cd602f98cc649a2f.tar.bz2
kbuild: add dummy obj-y to create built-in.o
We are going to switch over to Kbuild in upcoming commits. Each makefile must have non-empty obj- or obj-y to generate built-in.o on Kbuild. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'board/spear/common')
-rw-r--r--board/spear/common/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/spear/common/Makefile b/board/spear/common/Makefile
index 08dc09f..b0ba320 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