Makefile 407 B

123456789101112131415161718192021
  1. # SPDX-License-Identifier: GPL-2.0+
  2. ifdef CONFIG_SANDBOX64
  3. dtb-$(CONFIG_SANDBOX) += sandbox64.dtb
  4. else
  5. dtb-$(CONFIG_SANDBOX) += sandbox.dtb
  6. endif
  7. dtb-$(CONFIG_UT_DM) += test.dtb
  8. dtb-$(CONFIG_CMD_EXTENSION) += overlay0.dtbo overlay1.dtbo
  9. include $(srctree)/scripts/Makefile.dts
  10. targets += $(dtb-y)
  11. DTC_FLAGS += -R 4 -p 0x1000
  12. PHONY += dtbs
  13. dtbs: $(addprefix $(obj)/, $(dtb-y))
  14. @:
  15. clean-files := *.dtb