[U-Boot] [PATCH] kbuild,tegra124: add dummy obj- for Kbuild

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Feb 19 14:26:43 CET 2014


In Kbuild, every makefile must have non-empty obj- or obj-y.
Otherwise, built-in.o will not be created and the link stage
will fail.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

Tom,
Please apply this along with the Kbuild series.



 arch/arm/cpu/armv7/tegra124/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/cpu/armv7/tegra124/Makefile b/arch/arm/cpu/armv7/tegra124/Makefile
index 7f127b1..9478d44 100644
--- a/arch/arm/cpu/armv7/tegra124/Makefile
+++ b/arch/arm/cpu/armv7/tegra124/Makefile
@@ -4,3 +4,6 @@
 #
 # SPDX-License-Identifier:     GPL-2.0+
 #
+
+# necessary to create built-in.o
+obj- := __dummy__.o
-- 
1.8.3.2



More information about the U-Boot mailing list