mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
2a02bc166d
The current rules have the .dtb files build in a different directory from the .dts files. This patch changes xtensa to use the generic dtb rule which builds .dtb files in the same directory as the source .dts. This requires moving parts of arch/xtensa/boot/Makefile into newly created arch/xtensa/boot/dts/Makefile, and updating arch/xtensa/Makefile to call the new Makefile. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Chris Zankel <chris@zankel.net>
16 lines
370 B
Makefile
16 lines
370 B
Makefile
#
|
|
# arch/xtensa/boot/dts/Makefile
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU General Public
|
|
# License. See the file "COPYING" in the main directory of this archive
|
|
# for more details.
|
|
#
|
|
#
|
|
|
|
BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o
|
|
ifneq ($(CONFIG_BUILTIN_DTB),"")
|
|
obj-$(CONFIG_OF) += $(BUILTIN_DTB)
|
|
endif
|
|
|
|
clean-files := *.dtb.S
|