Makefile 520 B

123456789101112131415161718192021
  1. #
  2. # arch/xtensa/boot/dts/Makefile
  3. #
  4. # This file is subject to the terms and conditions of the GNU General Public
  5. # License. See the file "COPYING" in the main directory of this archive
  6. # for more details.
  7. #
  8. #
  9. BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB)).dtb.o
  10. ifneq ($(CONFIG_BUILTIN_DTB),"")
  11. obj-$(CONFIG_OF) += $(BUILTIN_DTB)
  12. endif
  13. dtstree := $(srctree)/$(src)
  14. dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
  15. always += $(dtb-y)
  16. clean-files += *.dtb *.dtb.S