kbuild: remove unnecessary "obj- := dummy.o" trick
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 9 Sep 2014 10:26:19 +0000 (19:26 +0900)
committerMichal Marek <mmarek@suse.cz>
Thu, 2 Oct 2014 11:55:02 +0000 (13:55 +0200)
In these Makefiles, at least one of "obj-y" and "obj-" is non-empty,
hence built-in.o is always created without such a trick.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Peter Foley <pefoley2@pefoley.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Acked-by: Simon Horman <horms+renesas@verge.net.au> [shmobile]
Acked-by: David S. Miller <davem@davemloft.net> [networking]
Signed-off-by: Michal Marek <mmarek@suse.cz>
arch/arm/plat-samsung/Makefile
drivers/clk/shmobile/Makefile
drivers/net/wimax/Makefile

index 5fe175017f07bad4d698ad226e38b2c41cec0bb4..a402262bb37f3930719a11d3182ba0d7a25354d6 100644 (file)
@@ -8,7 +8,6 @@ ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include
 
 obj-y                          :=
 obj-m                          :=
-obj-n                          := dummy.o
 obj-                           :=
 
 # Objects we always build independent of SoC choice
index e0029237827a3ee6e2e5f6f8d68100a17702f982..9aab51c8d159bed07a78eedc6be59a3fcb49b912 100644 (file)
@@ -6,5 +6,3 @@ obj-$(CONFIG_ARCH_R8A7790)              += clk-rcar-gen2.o
 obj-$(CONFIG_ARCH_R8A7791)             += clk-rcar-gen2.o
 obj-$(CONFIG_ARCH_SHMOBILE_MULTI)      += clk-div6.o
 obj-$(CONFIG_ARCH_SHMOBILE_MULTI)      += clk-mstp.o
-# for emply built-in.o
-obj-n  := dummy
index 992bc02bc016f55e3106b7f4e426998b908cd4d0..692184dd674a378aba293ca6be398eccd0aa8b87 100644 (file)
@@ -1,5 +1 @@
-
 obj-$(CONFIG_WIMAX_I2400M)     += i2400m/
-
-# (from Sam Ravnborg) force kbuild to create built-in.o
-obj- := dummy.o