[PATCH v2] kbuild: clean up *.dtb and *.dtb.S patterns from top-level Makefile

Rob Herring robh at kernel.org
Wed Nov 8 08:46:10 PST 2017


On Wed, Nov 1, 2017 at 9:51 PM, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> We need to add "clean-files" in Makfiles to clean up DT blobs, but we
> often miss to do so.
>
> Since there are no source files that end with .dtb or .dtb.S, so we
> can clean-up those files from the top-level Makefile.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
> Changes in v2:
>   - Remove clean-files

Applied this and the 2 prerequisite patches.

>
>  Documentation/kbuild/makefiles.txt               | 1 -
>  Makefile                                         | 2 +-
>  arch/arc/boot/dts/Makefile                       | 1 -
>  arch/arm/boot/dts/Makefile                       | 1 -
>  arch/arm64/boot/dts/actions/Makefile             | 1 -
>  arch/arm64/boot/dts/al/Makefile                  | 1 -
>  arch/arm64/boot/dts/allwinner/Makefile           | 1 -
>  arch/arm64/boot/dts/altera/Makefile              | 1 -
>  arch/arm64/boot/dts/amd/Makefile                 | 1 -
>  arch/arm64/boot/dts/amlogic/Makefile             | 1 -
>  arch/arm64/boot/dts/apm/Makefile                 | 1 -
>  arch/arm64/boot/dts/arm/Makefile                 | 1 -
>  arch/arm64/boot/dts/broadcom/Makefile            | 1 -
>  arch/arm64/boot/dts/broadcom/northstar2/Makefile | 1 -
>  arch/arm64/boot/dts/broadcom/stingray/Makefile   | 1 -
>  arch/arm64/boot/dts/cavium/Makefile              | 1 -
>  arch/arm64/boot/dts/exynos/Makefile              | 1 -
>  arch/arm64/boot/dts/freescale/Makefile           | 1 -
>  arch/arm64/boot/dts/hisilicon/Makefile           | 1 -
>  arch/arm64/boot/dts/lg/Makefile                  | 1 -
>  arch/arm64/boot/dts/marvell/Makefile             | 1 -
>  arch/arm64/boot/dts/mediatek/Makefile            | 1 -
>  arch/arm64/boot/dts/nvidia/Makefile              | 1 -
>  arch/arm64/boot/dts/qcom/Makefile                | 1 -
>  arch/arm64/boot/dts/realtek/Makefile             | 1 -
>  arch/arm64/boot/dts/renesas/Makefile             | 1 -
>  arch/arm64/boot/dts/rockchip/Makefile            | 1 -
>  arch/arm64/boot/dts/socionext/Makefile           | 1 -
>  arch/arm64/boot/dts/sprd/Makefile                | 1 -
>  arch/arm64/boot/dts/xilinx/Makefile              | 1 -
>  arch/arm64/boot/dts/zte/Makefile                 | 1 -
>  arch/c6x/boot/dts/Makefile                       | 2 --
>  arch/cris/boot/dts/Makefile                      | 2 --
>  arch/h8300/boot/dts/Makefile                     | 1 -
>  arch/metag/boot/dts/Makefile                     | 1 -
>  arch/microblaze/boot/Makefile                    | 2 +-
>  arch/mips/boot/dts/Makefile                      | 1 -
>  arch/mips/boot/dts/brcm/Makefile                 | 1 -
>  arch/mips/boot/dts/cavium-octeon/Makefile        | 1 -
>  arch/mips/boot/dts/img/Makefile                  | 1 -
>  arch/mips/boot/dts/ingenic/Makefile              | 1 -
>  arch/mips/boot/dts/lantiq/Makefile               | 1 -
>  arch/mips/boot/dts/mti/Makefile                  | 1 -
>  arch/mips/boot/dts/netlogic/Makefile             | 1 -
>  arch/mips/boot/dts/ni/Makefile                   | 1 -
>  arch/mips/boot/dts/pic32/Makefile                | 1 -
>  arch/mips/boot/dts/qca/Makefile                  | 1 -
>  arch/mips/boot/dts/ralink/Makefile               | 1 -
>  arch/mips/boot/dts/xilfpga/Makefile              | 1 -
>  arch/nios2/boot/Makefile                         | 2 --
>  arch/openrisc/boot/dts/Makefile                  | 2 --
>  arch/powerpc/boot/Makefile                       | 2 +-
>  arch/sh/boot/dts/Makefile                        | 2 --
>  arch/xtensa/boot/dts/Makefile                    | 2 --
>  54 files changed, 3 insertions(+), 60 deletions(-)



More information about the linux-arm-kernel mailing list