Skip to content

Commit

Permalink
kbuild: remove unnecessary "obj- := dummy.o" trick
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada authored and Michal Marek committed Oct 2, 2014
1 parent aa55c8e commit 895ed4e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion arch/arm/plat-samsung/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions drivers/clk/shmobile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions drivers/net/wimax/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@

obj-$(CONFIG_WIMAX_I2400M) += i2400m/

# (from Sam Ravnborg) force kbuild to create built-in.o
obj- := dummy.o

0 comments on commit 895ed4e

Please sign in to comment.