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

kbuild: remove all dummy assignments to obj-

Now kbuild core scripts create empty built-in.o where necessary.
Remove "obj- := dummy.o" tricks.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

-58
-1
arch/arm/mach-uniphier/Makefile
··· 1 - obj- += dummy.o
-3
arch/mips/boot/dts/brcm/Makefile
··· 35 35 bcm97435svmb.dtb 36 36 37 37 obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 38 - 39 - # Force kbuild to make empty built-in.o if necessary 40 - obj- += dummy.o
-3
arch/mips/boot/dts/cavium-octeon/Makefile
··· 2 2 dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb 3 3 4 4 obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 5 - 6 - # Force kbuild to make empty built-in.o if necessary 7 - obj- += dummy.o
-3
arch/mips/boot/dts/img/Makefile
··· 3 3 4 4 dtb-$(CONFIG_MACH_PISTACHIO) += pistachio_marduk.dtb 5 5 obj-$(CONFIG_MACH_PISTACHIO) += pistachio_marduk.dtb.o 6 - 7 - # Force kbuild to make empty built-in.o if necessary 8 - obj- += dummy.o
-3
arch/mips/boot/dts/ingenic/Makefile
··· 3 3 dtb-$(CONFIG_JZ4780_CI20) += ci20.dtb 4 4 5 5 obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 6 - 7 - # Force kbuild to make empty built-in.o if necessary 8 - obj- += dummy.o
-3
arch/mips/boot/dts/lantiq/Makefile
··· 2 2 dtb-$(CONFIG_DT_EASY50712) += easy50712.dtb 3 3 4 4 obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 5 - 6 - # Force kbuild to make empty built-in.o if necessary 7 - obj- += dummy.o
-3
arch/mips/boot/dts/mti/Makefile
··· 3 3 dtb-$(CONFIG_LEGACY_BOARD_SEAD3) += sead3.dtb 4 4 5 5 obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 6 - 7 - # Force kbuild to make empty built-in.o if necessary 8 - obj- += dummy.o
-3
arch/mips/boot/dts/netlogic/Makefile
··· 6 6 dtb-$(CONFIG_DT_XLP_RVP) += xlp_rvp.dtb 7 7 8 8 obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 9 - 10 - # Force kbuild to make empty built-in.o if necessary 11 - obj- += dummy.o
-3
arch/mips/boot/dts/ni/Makefile
··· 1 1 dtb-$(CONFIG_FIT_IMAGE_FDT_NI169445) += 169445.dtb 2 - 3 - # Force kbuild to make empty built-in.o if necessary 4 - obj- += dummy.o
-3
arch/mips/boot/dts/pic32/Makefile
··· 5 5 pic32mzda_sk.dtb 6 6 7 7 obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 8 - 9 - # Force kbuild to make empty built-in.o if necessary 10 - obj- += dummy.o
-3
arch/mips/boot/dts/qca/Makefile
··· 5 5 dtb-$(CONFIG_ATH79) += ar9331_dragino_ms14.dtb 6 6 dtb-$(CONFIG_ATH79) += ar9331_omega.dtb 7 7 dtb-$(CONFIG_ATH79) += ar9331_tl_mr3020.dtb 8 - 9 - # Force kbuild to make empty built-in.o if necessary 10 - obj- += dummy.o
-3
arch/mips/boot/dts/ralink/Makefile
··· 7 7 dtb-$(CONFIG_DTB_VOCORE2) += vocore2.dtb 8 8 9 9 obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 10 - 11 - # Force kbuild to make empty built-in.o if necessary 12 - obj- += dummy.o
-3
arch/mips/boot/dts/xilfpga/Makefile
··· 2 2 dtb-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += nexys4ddr.dtb 3 3 4 4 obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) 5 - 6 - # Force kbuild to make empty built-in.o if necessary 7 - obj- += dummy.o
-3
firmware/Makefile
··· 59 59 60 60 targets := $(patsubst $(obj)/%,%, \ 61 61 $(shell find $(obj) -name \*.gen.S 2>/dev/null)) 62 - # Without this, built-in.o won't be created when it's empty, and the 63 - # final vmlinux link will fail. 64 - obj- := dummy
-3
samples/bpf/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 - # kbuild trick to avoid linker error. Can be omitted if a module is built. 3 - obj- := dummy.o 4 - 5 2 # List of programs to build 6 3 hostprogs-y := test_lru_dist 7 4 hostprogs-y += sock_example
-3
samples/hidraw/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 - # kbuild trick to avoid linker error. Can be omitted if a module is built. 3 - obj- := dummy.o 4 - 5 2 # List of programs to build 6 3 hostprogs-y := hid-example 7 4
-3
samples/seccomp/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 - # kbuild trick to avoid linker error. Can be omitted if a module is built. 3 - obj- := dummy.o 4 - 5 2 hostprogs-$(CONFIG_SAMPLE_SECCOMP) := bpf-fancy dropper bpf-direct 6 3 7 4 HOSTCFLAGS_bpf-fancy.o += -I$(objtree)/usr/include
-3
samples/sockmap/Makefile
··· 1 - # kbuild trick to avoid linker error. Can be omitted if a module is built. 2 - obj- := dummy.o 3 - 4 1 # List of programs to build 5 2 hostprogs-y := sockmap 6 3
-3
samples/statx/Makefile
··· 1 - # kbuild trick to avoid linker error. Can be omitted if a module is built. 2 - obj- := dummy.o 3 - 4 1 # List of programs to build 5 2 hostprogs-$(CONFIG_SAMPLE_STATX) := test-statx 6 3
-3
samples/uhid/Makefile
··· 1 - # kbuild trick to avoid linker error. Can be omitted if a module is built. 2 - obj- := dummy.o 3 - 4 1 # List of programs to build 5 2 hostprogs-y := uhid-example 6 3