diff options
54 files changed, 3 insertions, 60 deletions
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index 329e740adea7..411b7282c287 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt | |||
| @@ -1153,7 +1153,6 @@ When kbuild executes, the following steps are followed (roughly): | |||
| 1153 | 1153 | ||
| 1154 | Example: | 1154 | Example: |
| 1155 | targets += $(dtb-y) | 1155 | targets += $(dtb-y) |
| 1156 | clean-files += *.dtb | ||
| 1157 | DTC_FLAGS ?= -p 1024 | 1156 | DTC_FLAGS ?= -p 1024 |
| 1158 | 1157 | ||
| 1159 | --- 6.8 Custom kbuild commands | 1158 | --- 6.8 Custom kbuild commands |
| @@ -1544,7 +1544,7 @@ clean: $(clean-dirs) | |||
| 1544 | $(call cmd,rmfiles) | 1544 | $(call cmd,rmfiles) |
| 1545 | @find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \ | 1545 | @find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \ |
| 1546 | \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ | 1546 | \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ |
| 1547 | -o -name '*.ko.*' \ | 1547 | -o -name '*.ko.*' -o -name '*.dtb' -o -name '*.dtb.S' \ |
| 1548 | -o -name '*.dwo' \ | 1548 | -o -name '*.dwo' \ |
| 1549 | -o -name '*.su' \ | 1549 | -o -name '*.su' \ |
| 1550 | -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ | 1550 | -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ |
diff --git a/arch/arc/boot/dts/Makefile b/arch/arc/boot/dts/Makefile index a09f11b71e66..1257db1dc1be 100644 --- a/arch/arc/boot/dts/Makefile +++ b/arch/arc/boot/dts/Makefile | |||
| @@ -14,4 +14,3 @@ dtstree := $(srctree)/$(src) | |||
| 14 | dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) | 14 | dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) |
| 15 | 15 | ||
| 16 | always := $(dtb-y) | 16 | always := $(dtb-y) |
| 17 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index faf46abaa4a2..5eeefbcfe98c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
| @@ -1074,4 +1074,3 @@ dtstree := $(srctree)/$(src) | |||
| 1074 | dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) | 1074 | dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) |
| 1075 | 1075 | ||
| 1076 | always := $(dtb-y) | 1076 | always := $(dtb-y) |
| 1077 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/actions/Makefile b/arch/arm64/boot/dts/actions/Makefile index 62922d688ce3..89bb1b534492 100644 --- a/arch/arm64/boot/dts/actions/Makefile +++ b/arch/arm64/boot/dts/actions/Makefile | |||
| @@ -2,4 +2,3 @@ dtb-$(CONFIG_ARCH_ACTIONS) += s900-bubblegum-96.dtb | |||
| 2 | 2 | ||
| 3 | always := $(dtb-y) | 3 | always := $(dtb-y) |
| 4 | subdir-y := $(dts-dirs) | 4 | subdir-y := $(dts-dirs) |
| 5 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/al/Makefile b/arch/arm64/boot/dts/al/Makefile index 8a6cde4f9b23..8606a57e567f 100644 --- a/arch/arm64/boot/dts/al/Makefile +++ b/arch/arm64/boot/dts/al/Makefile | |||
| @@ -2,4 +2,3 @@ dtb-$(CONFIG_ARCH_ALPINE) += alpine-v2-evp.dtb | |||
| 2 | 2 | ||
| 3 | always := $(dtb-y) | 3 | always := $(dtb-y) |
| 4 | subdir-y := $(dts-dirs) | 4 | subdir-y := $(dts-dirs) |
| 5 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile index 19c3fbd75eda..871ed768f85d 100644 --- a/arch/arm64/boot/dts/allwinner/Makefile +++ b/arch/arm64/boot/dts/allwinner/Makefile | |||
| @@ -11,4 +11,3 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-nanopi-neo2.dtb | |||
| 11 | 11 | ||
| 12 | always := $(dtb-y) | 12 | always := $(dtb-y) |
| 13 | subdir-y := $(dts-dirs) | 13 | subdir-y := $(dts-dirs) |
| 14 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/altera/Makefile b/arch/arm64/boot/dts/altera/Makefile index d7a641698d77..7511b51d9b4a 100644 --- a/arch/arm64/boot/dts/altera/Makefile +++ b/arch/arm64/boot/dts/altera/Makefile | |||
| @@ -2,4 +2,3 @@ dtb-$(CONFIG_ARCH_STRATIX10) += socfpga_stratix10_socdk.dtb | |||
| 2 | 2 | ||
| 3 | always := $(dtb-y) | 3 | always := $(dtb-y) |
| 4 | subdir-y := $(dts-dirs) | 4 | subdir-y := $(dts-dirs) |
| 5 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/amd/Makefile b/arch/arm64/boot/dts/amd/Makefile index ba84770f789f..cb1c77967c9e 100644 --- a/arch/arm64/boot/dts/amd/Makefile +++ b/arch/arm64/boot/dts/amd/Makefile | |||
| @@ -4,4 +4,3 @@ dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive.dtb \ | |||
| 4 | 4 | ||
| 5 | always := $(dtb-y) | 5 | always := $(dtb-y) |
| 6 | subdir-y := $(dts-dirs) | 6 | subdir-y := $(dts-dirs) |
| 7 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index 7a9f48c27b1f..d86440346962 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile | |||
| @@ -22,4 +22,3 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxm-rbox-pro.dtb | |||
| 22 | 22 | ||
| 23 | always := $(dtb-y) | 23 | always := $(dtb-y) |
| 24 | subdir-y := $(dts-dirs) | 24 | subdir-y := $(dts-dirs) |
| 25 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/apm/Makefile b/arch/arm64/boot/dts/apm/Makefile index c75f17a49471..4334978f522e 100644 --- a/arch/arm64/boot/dts/apm/Makefile +++ b/arch/arm64/boot/dts/apm/Makefile | |||
| @@ -3,4 +3,3 @@ dtb-$(CONFIG_ARCH_XGENE) += apm-merlin.dtb | |||
| 3 | 3 | ||
| 4 | always := $(dtb-y) | 4 | always := $(dtb-y) |
| 5 | subdir-y := $(dts-dirs) | 5 | subdir-y := $(dts-dirs) |
| 6 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/arm/Makefile b/arch/arm64/boot/dts/arm/Makefile index 75cc2aa10101..01c342f61ed3 100644 --- a/arch/arm64/boot/dts/arm/Makefile +++ b/arch/arm64/boot/dts/arm/Makefile | |||
| @@ -5,4 +5,3 @@ dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2f-1xv7-ca53x2.dtb | |||
| 5 | 5 | ||
| 6 | always := $(dtb-y) | 6 | always := $(dtb-y) |
| 7 | subdir-y := $(dts-dirs) | 7 | subdir-y := $(dts-dirs) |
| 8 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile index 3eaef3895d66..d720d0dc7043 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile | |||
| @@ -4,4 +4,3 @@ dts-dirs += northstar2 | |||
| 4 | dts-dirs += stingray | 4 | dts-dirs += stingray |
| 5 | always := $(dtb-y) | 5 | always := $(dtb-y) |
| 6 | subdir-y := $(dts-dirs) | 6 | subdir-y := $(dts-dirs) |
| 7 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/broadcom/northstar2/Makefile b/arch/arm64/boot/dts/broadcom/northstar2/Makefile index e01a1485b813..c589b9b55da8 100644 --- a/arch/arm64/boot/dts/broadcom/northstar2/Makefile +++ b/arch/arm64/boot/dts/broadcom/northstar2/Makefile | |||
| @@ -3,4 +3,3 @@ dtb-$(CONFIG_ARCH_BCM_IPROC) += ns2-xmc.dtb | |||
| 3 | 3 | ||
| 4 | always := $(dtb-y) | 4 | always := $(dtb-y) |
| 5 | subdir-y := $(dts-dirs) | 5 | subdir-y := $(dts-dirs) |
| 6 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/broadcom/stingray/Makefile b/arch/arm64/boot/dts/broadcom/stingray/Makefile index f70028edad63..8edcc5264be8 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/Makefile +++ b/arch/arm64/boot/dts/broadcom/stingray/Makefile | |||
| @@ -3,4 +3,3 @@ dtb-$(CONFIG_ARCH_BCM_IPROC) += bcm958742t.dtb | |||
| 3 | 3 | ||
| 4 | always := $(dtb-y) | 4 | always := $(dtb-y) |
| 5 | subdir-y := $(dts-dirs) | 5 | subdir-y := $(dts-dirs) |
| 6 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/cavium/Makefile b/arch/arm64/boot/dts/cavium/Makefile index 581b2c1c400a..c63145e50271 100644 --- a/arch/arm64/boot/dts/cavium/Makefile +++ b/arch/arm64/boot/dts/cavium/Makefile | |||
| @@ -3,4 +3,3 @@ dtb-$(CONFIG_ARCH_THUNDER2) += thunder2-99xx.dtb | |||
| 3 | 3 | ||
| 4 | always := $(dtb-y) | 4 | always := $(dtb-y) |
| 5 | subdir-y := $(dts-dirs) | 5 | subdir-y := $(dts-dirs) |
| 6 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index 7ddea53769a7..4633adf4cbdd 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile | |||
| @@ -5,4 +5,3 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ | |||
| 5 | 5 | ||
| 6 | always := $(dtb-y) | 6 | always := $(dtb-y) |
| 7 | subdir-y := $(dts-dirs) | 7 | subdir-y := $(dts-dirs) |
| 8 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 72c4b525726f..fe18e3d7b8e8 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile | |||
| @@ -15,4 +15,3 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb | |||
| 15 | 15 | ||
| 16 | always := $(dtb-y) | 16 | always := $(dtb-y) |
| 17 | subdir-y := $(dts-dirs) | 17 | subdir-y := $(dts-dirs) |
| 18 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/hisilicon/Makefile b/arch/arm64/boot/dts/hisilicon/Makefile index 8960ecafd37d..cb25d7a5cb5c 100644 --- a/arch/arm64/boot/dts/hisilicon/Makefile +++ b/arch/arm64/boot/dts/hisilicon/Makefile | |||
| @@ -7,4 +7,3 @@ dtb-$(CONFIG_ARCH_HISI) += hip07-d05.dtb | |||
| 7 | 7 | ||
| 8 | always := $(dtb-y) | 8 | always := $(dtb-y) |
| 9 | subdir-y := $(dts-dirs) | 9 | subdir-y := $(dts-dirs) |
| 10 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/lg/Makefile b/arch/arm64/boot/dts/lg/Makefile index 5c7b54c12adc..c0bbe06b95de 100644 --- a/arch/arm64/boot/dts/lg/Makefile +++ b/arch/arm64/boot/dts/lg/Makefile | |||
| @@ -3,4 +3,3 @@ dtb-$(CONFIG_ARCH_LG1K) += lg1313-ref.dtb | |||
| 3 | 3 | ||
| 4 | always := $(dtb-y) | 4 | always := $(dtb-y) |
| 5 | subdir-y := $(dts-dirs) | 5 | subdir-y := $(dts-dirs) |
| 6 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/marvell/Makefile index 6cff81eeaae2..b471235d9e66 100644 --- a/arch/arm64/boot/dts/marvell/Makefile +++ b/arch/arm64/boot/dts/marvell/Makefile | |||
| @@ -12,4 +12,3 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-8080-db.dtb | |||
| 12 | 12 | ||
| 13 | always := $(dtb-y) | 13 | always := $(dtb-y) |
| 14 | subdir-y := $(dts-dirs) | 14 | subdir-y := $(dts-dirs) |
| 15 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 151723b5c733..80d174334014 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile | |||
| @@ -7,4 +7,3 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb | |||
| 7 | 7 | ||
| 8 | always := $(dtb-y) | 8 | always := $(dtb-y) |
| 9 | subdir-y := $(dts-dirs) | 9 | subdir-y := $(dts-dirs) |
| 10 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/nvidia/Makefile b/arch/arm64/boot/dts/nvidia/Makefile index 18941458cb4d..a9d51961bdca 100644 --- a/arch/arm64/boot/dts/nvidia/Makefile +++ b/arch/arm64/boot/dts/nvidia/Makefile | |||
| @@ -6,4 +6,3 @@ dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-smaug.dtb | |||
| 6 | dtb-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186-p2771-0000.dtb | 6 | dtb-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186-p2771-0000.dtb |
| 7 | 7 | ||
| 8 | always := $(dtb-y) | 8 | always := $(dtb-y) |
| 9 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index ff81d7e5805e..65af6f9ac569 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile | |||
| @@ -8,4 +8,3 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb | |||
| 8 | 8 | ||
| 9 | always := $(dtb-y) | 9 | always := $(dtb-y) |
| 10 | subdir-y := $(dts-dirs) | 10 | subdir-y := $(dts-dirs) |
| 11 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/realtek/Makefile b/arch/arm64/boot/dts/realtek/Makefile index 8521e921e59a..88cb515f7b21 100644 --- a/arch/arm64/boot/dts/realtek/Makefile +++ b/arch/arm64/boot/dts/realtek/Makefile | |||
| @@ -2,4 +2,3 @@ dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb | |||
| 2 | 2 | ||
| 3 | always := $(dtb-y) | 3 | always := $(dtb-y) |
| 4 | subdir-y := $(dts-dirs) | 4 | subdir-y := $(dts-dirs) |
| 5 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index 381928bc1358..960dadee8aed 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile | |||
| @@ -5,4 +5,3 @@ dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-x.dtb r8a7796-m3ulcb.dtb | |||
| 5 | dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb | 5 | dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb |
| 6 | 6 | ||
| 7 | always := $(dtb-y) | 7 | always := $(dtb-y) |
| 8 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index f1c9b13cea5c..6b6bb1db831c 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile | |||
| @@ -13,4 +13,3 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb | |||
| 13 | 13 | ||
| 14 | always := $(dtb-y) | 14 | always := $(dtb-y) |
| 15 | subdir-y := $(dts-dirs) | 15 | subdir-y := $(dts-dirs) |
| 16 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/socionext/Makefile b/arch/arm64/boot/dts/socionext/Makefile index 4bc091b365fd..5eed3cecbc16 100644 --- a/arch/arm64/boot/dts/socionext/Makefile +++ b/arch/arm64/boot/dts/socionext/Makefile | |||
| @@ -6,4 +6,3 @@ dtb-$(CONFIG_ARCH_UNIPHIER) += \ | |||
| 6 | uniphier-pxs3-ref.dtb | 6 | uniphier-pxs3-ref.dtb |
| 7 | 7 | ||
| 8 | always := $(dtb-y) | 8 | always := $(dtb-y) |
| 9 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/sprd/Makefile b/arch/arm64/boot/dts/sprd/Makefile index f0535e6eaaaa..c91b62e115dc 100644 --- a/arch/arm64/boot/dts/sprd/Makefile +++ b/arch/arm64/boot/dts/sprd/Makefile | |||
| @@ -3,4 +3,3 @@ dtb-$(CONFIG_ARCH_SPRD) += sc9836-openphone.dtb \ | |||
| 3 | 3 | ||
| 4 | always := $(dtb-y) | 4 | always := $(dtb-y) |
| 5 | subdir-y := $(dts-dirs) | 5 | subdir-y := $(dts-dirs) |
| 6 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/xilinx/Makefile b/arch/arm64/boot/dts/xilinx/Makefile index ae16427f6a4a..74e195650f04 100644 --- a/arch/arm64/boot/dts/xilinx/Makefile +++ b/arch/arm64/boot/dts/xilinx/Makefile | |||
| @@ -2,4 +2,3 @@ dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-ep108.dtb | |||
| 2 | 2 | ||
| 3 | always := $(dtb-y) | 3 | always := $(dtb-y) |
| 4 | subdir-y := $(dts-dirs) | 4 | subdir-y := $(dts-dirs) |
| 5 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/zte/Makefile b/arch/arm64/boot/dts/zte/Makefile index d86c4def6bc9..71e07089cde0 100644 --- a/arch/arm64/boot/dts/zte/Makefile +++ b/arch/arm64/boot/dts/zte/Makefile | |||
| @@ -3,4 +3,3 @@ dtb-$(CONFIG_ARCH_ZX) += zx296718-pcbox.dtb | |||
| 3 | 3 | ||
| 4 | always := $(dtb-y) | 4 | always := $(dtb-y) |
| 5 | subdir-y := $(dts-dirs) | 5 | subdir-y := $(dts-dirs) |
| 6 | clean-files := *.dtb | ||
diff --git a/arch/c6x/boot/dts/Makefile b/arch/c6x/boot/dts/Makefile index c7528b02d061..cb4874c67050 100644 --- a/arch/c6x/boot/dts/Makefile +++ b/arch/c6x/boot/dts/Makefile | |||
| @@ -16,5 +16,3 @@ $(obj)/builtin.dtb: $(obj)/$(DTB).dtb | |||
| 16 | $(call if_changed,cp) | 16 | $(call if_changed,cp) |
| 17 | 17 | ||
| 18 | $(obj)/linked_dtb.o: $(obj)/builtin.dtb | 18 | $(obj)/linked_dtb.o: $(obj)/builtin.dtb |
| 19 | |||
| 20 | clean-files := *.dtb | ||
diff --git a/arch/cris/boot/dts/Makefile b/arch/cris/boot/dts/Makefile index faf69fb9919f..4a97c7dbd865 100644 --- a/arch/cris/boot/dts/Makefile +++ b/arch/cris/boot/dts/Makefile | |||
| @@ -2,5 +2,3 @@ BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o | |||
| 2 | ifneq ($(CONFIG_BUILTIN_DTB),"") | 2 | ifneq ($(CONFIG_BUILTIN_DTB),"") |
| 3 | obj-$(CONFIG_OF) += $(BUILTIN_DTB) | 3 | obj-$(CONFIG_OF) += $(BUILTIN_DTB) |
| 4 | endif | 4 | endif |
| 5 | |||
| 6 | clean-files := *.dtb.S | ||
diff --git a/arch/h8300/boot/dts/Makefile b/arch/h8300/boot/dts/Makefile index 6c08467c6a3a..6f3fe4795518 100644 --- a/arch/h8300/boot/dts/Makefile +++ b/arch/h8300/boot/dts/Makefile | |||
| @@ -12,4 +12,3 @@ dtstree := $(srctree)/$(src) | |||
| 12 | dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) | 12 | dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) |
| 13 | 13 | ||
| 14 | always := $(dtb-y) | 14 | always := $(dtb-y) |
| 15 | clean-files := *.dtb.S *.dtb | ||
diff --git a/arch/metag/boot/dts/Makefile b/arch/metag/boot/dts/Makefile index 097c6da4547f..83d5b883e1f7 100644 --- a/arch/metag/boot/dts/Makefile +++ b/arch/metag/boot/dts/Makefile | |||
| @@ -18,4 +18,3 @@ dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dts | |||
| 18 | .SECONDARY: $(obj)/$(builtindtb-y).dtb.S | 18 | .SECONDARY: $(obj)/$(builtindtb-y).dtb.S |
| 19 | 19 | ||
| 20 | always += $(dtb-y) | 20 | always += $(dtb-y) |
| 21 | clean-files += *.dtb *.dtb.S | ||
diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile index 91d2068da1b9..1cb84cf7c766 100644 --- a/arch/microblaze/boot/Makefile +++ b/arch/microblaze/boot/Makefile | |||
| @@ -34,4 +34,4 @@ $(obj)/simpleImage.%: vmlinux FORCE | |||
| 34 | $(call if_changed,strip) | 34 | $(call if_changed,strip) |
| 35 | @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' | 35 | @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' |
| 36 | 36 | ||
| 37 | clean-files += simpleImage.*.unstrip linux.bin.ub dts/*.dtb | 37 | clean-files += simpleImage.*.unstrip linux.bin.ub |
diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile index cbac26ce063e..7891ffa487d6 100644 --- a/arch/mips/boot/dts/Makefile +++ b/arch/mips/boot/dts/Makefile | |||
| @@ -18,4 +18,3 @@ dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dt | |||
| 18 | 18 | ||
| 19 | always := $(dtb-y) | 19 | always := $(dtb-y) |
| 20 | subdir-y := $(dts-dirs) | 20 | subdir-y := $(dts-dirs) |
| 21 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/brcm/Makefile b/arch/mips/boot/dts/brcm/Makefile index d61bc2aebf69..69a69d1f636e 100644 --- a/arch/mips/boot/dts/brcm/Makefile +++ b/arch/mips/boot/dts/brcm/Makefile | |||
| @@ -40,4 +40,3 @@ obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | |||
| 40 | obj- += dummy.o | 40 | obj- += dummy.o |
| 41 | 41 | ||
| 42 | always := $(dtb-y) | 42 | always := $(dtb-y) |
| 43 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/cavium-octeon/Makefile b/arch/mips/boot/dts/cavium-octeon/Makefile index 5b99c40a058f..a6fb331de0ff 100644 --- a/arch/mips/boot/dts/cavium-octeon/Makefile +++ b/arch/mips/boot/dts/cavium-octeon/Makefile | |||
| @@ -6,4 +6,3 @@ obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | |||
| 6 | obj- += dummy.o | 6 | obj- += dummy.o |
| 7 | 7 | ||
| 8 | always := $(dtb-y) | 8 | always := $(dtb-y) |
| 9 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/img/Makefile b/arch/mips/boot/dts/img/Makefile index 3d70958d0f5a..135f98761671 100644 --- a/arch/mips/boot/dts/img/Makefile +++ b/arch/mips/boot/dts/img/Makefile | |||
| @@ -7,4 +7,3 @@ obj-$(CONFIG_MACH_PISTACHIO) += pistachio_marduk.dtb.o | |||
| 7 | obj- += dummy.o | 7 | obj- += dummy.o |
| 8 | 8 | ||
| 9 | always := $(dtb-y) | 9 | always := $(dtb-y) |
| 10 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/ingenic/Makefile b/arch/mips/boot/dts/ingenic/Makefile index f2b864f07850..e3d0ec1bf577 100644 --- a/arch/mips/boot/dts/ingenic/Makefile +++ b/arch/mips/boot/dts/ingenic/Makefile | |||
| @@ -7,4 +7,3 @@ obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | |||
| 7 | obj- += dummy.o | 7 | obj- += dummy.o |
| 8 | 8 | ||
| 9 | always := $(dtb-y) | 9 | always := $(dtb-y) |
| 10 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/lantiq/Makefile b/arch/mips/boot/dts/lantiq/Makefile index 0906c62141b9..5976f089d038 100644 --- a/arch/mips/boot/dts/lantiq/Makefile +++ b/arch/mips/boot/dts/lantiq/Makefile | |||
| @@ -6,4 +6,3 @@ obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | |||
| 6 | obj- += dummy.o | 6 | obj- += dummy.o |
| 7 | 7 | ||
| 8 | always := $(dtb-y) | 8 | always := $(dtb-y) |
| 9 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/mti/Makefile b/arch/mips/boot/dts/mti/Makefile index fcabd69b7030..9a1a6dc2ef36 100644 --- a/arch/mips/boot/dts/mti/Makefile +++ b/arch/mips/boot/dts/mti/Makefile | |||
| @@ -7,4 +7,3 @@ obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | |||
| 7 | obj- += dummy.o | 7 | obj- += dummy.o |
| 8 | 8 | ||
| 9 | always := $(dtb-y) | 9 | always := $(dtb-y) |
| 10 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/netlogic/Makefile b/arch/mips/boot/dts/netlogic/Makefile index 9868057140b5..6b2cf492db18 100644 --- a/arch/mips/boot/dts/netlogic/Makefile +++ b/arch/mips/boot/dts/netlogic/Makefile | |||
| @@ -10,4 +10,3 @@ obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | |||
| 10 | obj- += dummy.o | 10 | obj- += dummy.o |
| 11 | 11 | ||
| 12 | always := $(dtb-y) | 12 | always := $(dtb-y) |
| 13 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/ni/Makefile b/arch/mips/boot/dts/ni/Makefile index 66cfdffc51c2..094da7219905 100644 --- a/arch/mips/boot/dts/ni/Makefile +++ b/arch/mips/boot/dts/ni/Makefile | |||
| @@ -4,4 +4,3 @@ dtb-$(CONFIG_FIT_IMAGE_FDT_NI169445) += 169445.dtb | |||
| 4 | obj- += dummy.o | 4 | obj- += dummy.o |
| 5 | 5 | ||
| 6 | always := $(dtb-y) | 6 | always := $(dtb-y) |
| 7 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/pic32/Makefile b/arch/mips/boot/dts/pic32/Makefile index 7ac790551ec9..0ee591b15720 100644 --- a/arch/mips/boot/dts/pic32/Makefile +++ b/arch/mips/boot/dts/pic32/Makefile | |||
| @@ -9,4 +9,3 @@ obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | |||
| 9 | obj- += dummy.o | 9 | obj- += dummy.o |
| 10 | 10 | ||
| 11 | always := $(dtb-y) | 11 | always := $(dtb-y) |
| 12 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/qca/Makefile b/arch/mips/boot/dts/qca/Makefile index 63a9ddf048c9..87cf351cff45 100644 --- a/arch/mips/boot/dts/qca/Makefile +++ b/arch/mips/boot/dts/qca/Makefile | |||
| @@ -9,4 +9,3 @@ dtb-$(CONFIG_ATH79) += ar9331_tl_mr3020.dtb | |||
| 9 | obj- += dummy.o | 9 | obj- += dummy.o |
| 10 | 10 | ||
| 11 | always := $(dtb-y) | 11 | always := $(dtb-y) |
| 12 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/ralink/Makefile b/arch/mips/boot/dts/ralink/Makefile index 55e2937b61f3..e0e3a9db8d76 100644 --- a/arch/mips/boot/dts/ralink/Makefile +++ b/arch/mips/boot/dts/ralink/Makefile | |||
| @@ -11,4 +11,3 @@ obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | |||
| 11 | obj- += dummy.o | 11 | obj- += dummy.o |
| 12 | 12 | ||
| 13 | always := $(dtb-y) | 13 | always := $(dtb-y) |
| 14 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/mips/boot/dts/xilfpga/Makefile b/arch/mips/boot/dts/xilfpga/Makefile index 913a752a9ff1..8b9ea11bf730 100644 --- a/arch/mips/boot/dts/xilfpga/Makefile +++ b/arch/mips/boot/dts/xilfpga/Makefile | |||
| @@ -6,4 +6,3 @@ obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | |||
| 6 | obj- += dummy.o | 6 | obj- += dummy.o |
| 7 | 7 | ||
| 8 | always := $(dtb-y) | 8 | always := $(dtb-y) |
| 9 | clean-files := *.dtb *.dtb.S | ||
diff --git a/arch/nios2/boot/Makefile b/arch/nios2/boot/Makefile index c899876320df..2ba23a679732 100644 --- a/arch/nios2/boot/Makefile +++ b/arch/nios2/boot/Makefile | |||
| @@ -53,7 +53,5 @@ $(obj)/%.dtb: $(src)/dts/%.dts FORCE | |||
| 53 | 53 | ||
| 54 | $(obj)/dtbs: $(addprefix $(obj)/, $(dtb-y)) | 54 | $(obj)/dtbs: $(addprefix $(obj)/, $(dtb-y)) |
| 55 | 55 | ||
| 56 | clean-files := *.dtb | ||
| 57 | |||
| 58 | install: | 56 | install: |
| 59 | sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(BOOTIMAGE) System.map "$(INSTALL_PATH)" | 57 | sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(BOOTIMAGE) System.map "$(INSTALL_PATH)" |
diff --git a/arch/openrisc/boot/dts/Makefile b/arch/openrisc/boot/dts/Makefile index b092d30d6c23..0a5017ceaa6c 100644 --- a/arch/openrisc/boot/dts/Makefile +++ b/arch/openrisc/boot/dts/Makefile | |||
| @@ -5,6 +5,4 @@ BUILTIN_DTB := | |||
| 5 | endif | 5 | endif |
| 6 | obj-y += $(BUILTIN_DTB) | 6 | obj-y += $(BUILTIN_DTB) |
| 7 | 7 | ||
| 8 | clean-files := *.dtb.S | ||
| 9 | |||
| 10 | #DTC_FLAGS ?= -p 1024 | 8 | #DTC_FLAGS ?= -p 1024 |
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index c4e6fe35c075..c3caa5bdd6e6 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
| @@ -439,7 +439,7 @@ zInstall: $(CONFIGURE) $(addprefix $(obj)/, $(image-y)) | |||
| 439 | clean-files += $(image-) $(initrd-) cuImage.* dtbImage.* treeImage.* \ | 439 | clean-files += $(image-) $(initrd-) cuImage.* dtbImage.* treeImage.* \ |
| 440 | zImage zImage.initrd zImage.chrp zImage.coff zImage.holly \ | 440 | zImage zImage.initrd zImage.chrp zImage.coff zImage.holly \ |
| 441 | zImage.miboot zImage.pmac zImage.pseries \ | 441 | zImage.miboot zImage.pmac zImage.pseries \ |
| 442 | zImage.maple simpleImage.* otheros.bld *.dtb | 442 | zImage.maple simpleImage.* otheros.bld |
| 443 | 443 | ||
| 444 | # clean up files cached by wrapper | 444 | # clean up files cached by wrapper |
| 445 | clean-kernel-base := vmlinux.strip vmlinux.bin | 445 | clean-kernel-base := vmlinux.strip vmlinux.bin |
diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Makefile index e5ce3a0de7f4..715def00a436 100644 --- a/arch/sh/boot/dts/Makefile +++ b/arch/sh/boot/dts/Makefile | |||
| @@ -1,3 +1 @@ | |||
| 1 | obj-$(CONFIG_USE_BUILTIN_DTB) += $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_SOURCE)).dtb.o | obj-$(CONFIG_USE_BUILTIN_DTB) += $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_SOURCE)).dtb.o | |
| 2 | |||
| 3 | clean-files := *.dtb.S | ||
diff --git a/arch/xtensa/boot/dts/Makefile b/arch/xtensa/boot/dts/Makefile index a15e241c9153..c62dd6ca1f82 100644 --- a/arch/xtensa/boot/dts/Makefile +++ b/arch/xtensa/boot/dts/Makefile | |||
| @@ -16,5 +16,3 @@ dtstree := $(srctree)/$(src) | |||
| 16 | dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) | 16 | dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) |
| 17 | 17 | ||
| 18 | always += $(dtb-y) | 18 | always += $(dtb-y) |
| 19 | clean-files += *.dtb *.dtb.S | ||
| 20 | |||
