This moves the if conditions for choosing which image Makefiles
are used to the parent image/Makefile. It seems more convenient
to have "codeflow" in the parent while the subtarget-specific
files only contain the definitions.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
+ifeq ($(SUBTARGET),cortexa9)
+endif
+
+ifeq ($(SUBTARGET),cortexa53)
+endif
+
+ifeq ($(SUBTARGET),cortexa72)
$(eval $(call BuildImage))
$(eval $(call BuildImage))
-ifeq ($(SUBTARGET),cortexa53)
-
define Device/globalscale_espressobin
$(call Device/Default-arm64)
DEVICE_VENDOR := Marvell
define Device/globalscale_espressobin
$(call Device/Default-arm64)
DEVICE_VENDOR := Marvell
BOOT_SCRIPT := udpu
endef
TARGET_DEVICES += methode_udpu
BOOT_SCRIPT := udpu
endef
TARGET_DEVICES += methode_udpu
-ifeq ($(SUBTARGET),cortexa72)
-
define Device/marvell_macchiatobin
$(call Device/Default-arm64)
DEVICE_VENDOR := SolidRun
define Device/marvell_macchiatobin
$(call Device/Default-arm64)
DEVICE_VENDOR := SolidRun
IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
endef
TARGET_DEVICES += marvell_armada7040-db
IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
endef
TARGET_DEVICES += marvell_armada7040-db
# See /LICENSE for more information.
#
# See /LICENSE for more information.
#
-ifeq ($(SUBTARGET),cortexa9)
-
define Device/linksys
$(Device/NAND-128K)
DEVICE_VENDOR := Linksys
define Device/linksys
$(Device/NAND-128K)
DEVICE_VENDOR := Linksys
SUPPORTED_DEVICES += armada-385-turris-omnia
endef
TARGET_DEVICES += cznic_turris-omnia
SUPPORTED_DEVICES += armada-385-turris-omnia
endef
TARGET_DEVICES += cznic_turris-omnia