]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
kbuild: add dummy obj-y to create built-in.o
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 4 Feb 2014 08:24:25 +0000 (17:24 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:07:50 +0000 (11:07 -0500)
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>
arch/arm/cpu/armv7/tegra114/Makefile
arch/arm/cpu/armv7/tegra30/Makefile
arch/nds32/cpu/n1213/Makefile
board/freescale/common/Makefile
board/samsung/origen/Makefile
board/samsung/smdkv310/Makefile
board/spear/common/Makefile
board/spear/x600/Makefile

index 886b5092d68206e38e550ac3112d8eb75c12b243..77e231959b351280096902444b6266ded8a12d5b 100644 (file)
@@ -17,4 +17,5 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-obj- :=
+# necessary to create built-in.o
+obj- := __dummy__.o
index 518d6d1b3e4aafc0f753494f103b06f26ea89b6f..413eba102a4463768c94e43f9a3aec0a20d1be91 100644 (file)
@@ -17,4 +17,5 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-obj- :=
+# necessary to create built-in.o
+obj- := __dummy__.o
index bb3550eb47636b06d3ef6e0c86c21a3ce8ba86b7..206d304d4c5ff597f41b248c7c2af01c525d93f3 100644 (file)
@@ -9,4 +9,7 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+# necessary to create built-in.o
+obj- := __dummy__.o
+
 extra-y        = start.o
index 25f063d3add9f6043b5ce6b52f46dd3e67522130..f6a08797531c731c3abf6bc44aaccfdbd4f491d2 100644 (file)
@@ -13,7 +13,10 @@ MINIMAL=y
 endif
 endif
 
-ifndef MINIMAL
+ifdef MINIMAL
+# necessary to create built-in.o
+obj- := __dummy__.o
+else
 obj-$(CONFIG_FSL_CADMUS)       += cadmus.o
 obj-$(CONFIG_FSL_VIA)          += cds_via.o
 obj-$(CONFIG_FMAN_ENET)        += fman.o
index 37acba71e010f4c3a6b0198bd021f42bb8503aaf..1add9fe626fd17f67f7c209db5eddc63eb6b357f 100644 (file)
@@ -5,6 +5,9 @@
 #
 
 ifdef CONFIG_SPL_BUILD
+# necessary to create built-in.o
+obj- := __dummy__.o
+
 hostprogs-y := tools/mkorigenspl
 always := $(hostprogs-y)
 
index 9e37b4e78077618d20ebb4836347de344ba8975b..de0da167be1e58f539c2a4fee3e0ec2d3b60655d 100644 (file)
@@ -5,6 +5,9 @@
 #
 
 ifdef CONFIG_SPL_BUILD
+# necessary to create built-in.o
+obj- := __dummy__.o
+
 hostprogs-y := tools/mksmdkv310spl
 always := $(hostprogs-y)
 else
index 08dc09f06dfc4b3abb5c379fba20dc0700a1a39c..b0ba320481b68c5eaca959193e48553d1b0a6ba6 100644 (file)
@@ -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
index f9053feec35538c801c4cf396c541d5e9d7c1d4f..18d3dd2e6fad49f775e26014841679da42bce471 100644 (file)
@@ -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