Makefile 557 B

12345678910111213141516171819
  1. include $(TOPDIR)/rules.mk
  2. include $(INCLUDE_DIR)/image.mk
  3. define Device/Default
  4. PROFILES := Default
  5. KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
  6. KERNEL_LOADADDR := 0x80208000
  7. DEVICE_DTS = $$(SOC)-$(lastword $(subst _, ,$(1)))
  8. DEVICE_DTS_CONFIG := config@1
  9. IMAGES := sysupgrade.bin
  10. IMAGE/sysupgrade.bin = sysupgrade-tar | append-metadata
  11. IMAGE/sysupgrade.bin/squashfs :=
  12. DEVICE_COMPAT_VERSION := 1.1
  13. DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
  14. endef
  15. include $(SUBTARGET).mk
  16. $(eval $(call BuildImage))