Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kbuild: remove unnecessary "obj- := dummy.o" trick

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>

authored by

Masahiro Yamada and committed by
Michal Marek
895ed4e8 aa55c8e2

-7
-1
arch/arm/plat-samsung/Makefile
··· 8 8 9 9 obj-y := 10 10 obj-m := 11 - obj-n := dummy.o 12 11 obj- := 13 12 14 13 # Objects we always build independent of SoC choice
-2
drivers/clk/shmobile/Makefile
··· 6 6 obj-$(CONFIG_ARCH_R8A7791) += clk-rcar-gen2.o 7 7 obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += clk-div6.o 8 8 obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += clk-mstp.o 9 - # for emply built-in.o 10 - obj-n := dummy
-4
drivers/net/wimax/Makefile
··· 1 - 2 1 obj-$(CONFIG_WIMAX_I2400M) += i2400m/ 3 - 4 - # (from Sam Ravnborg) force kbuild to create built-in.o 5 - obj- := dummy.o