diff options
author | Rob Herring <robh@kernel.org> | 2015-10-06 17:51:21 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-10-27 16:12:16 -0500 |
commit | 990857042f599440ea7a10b84c17a06ed21078e5 (patch) | |
tree | 3ab1559a0f77b826e4b35a7b13eb5dc7a6219b14 /arch/xtensa/boot | |
parent | 0426f6482d5d61c0d762aafa03b27b96d02a68a7 (diff) | |
download | linux-990857042f599440ea7a10b84c17a06ed21078e5.tar.bz2 |
xtensa: enable building of all dtbs
Enable building all dtb files when CONFIG_OF_ALL_DTBS is enabled. The dtbs
are not really dependent on a platform being enabled or any other kernel
config, so for testing coverage it is convenient to build all of the dtbs.
This builds all dts files in the tree, not just targets listed.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: linux-xtensa@linux-xtensa.org
Diffstat (limited to 'arch/xtensa/boot')
-rw-r--r-- | arch/xtensa/boot/dts/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/xtensa/boot/dts/Makefile b/arch/xtensa/boot/dts/Makefile index 5f711bba8307..a15e241c9153 100644 --- a/arch/xtensa/boot/dts/Makefile +++ b/arch/xtensa/boot/dts/Makefile @@ -12,4 +12,9 @@ ifneq ($(CONFIG_BUILTIN_DTB),"") obj-$(CONFIG_OF) += $(BUILTIN_DTB) endif -clean-files := *.dtb.S +dtstree := $(srctree)/$(src) +dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) + +always += $(dtb-y) +clean-files += *.dtb *.dtb.S + |