mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
ef384c68e7
All of arm64 devices have part of variables repeatedly defined. Stack them to common define, and reference it in each device recipe. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
31 lines
978 B
Makefile
31 lines
978 B
Makefile
ifeq ($(SUBTARGET),cortexa72)
|
|
|
|
define Device/armada-macchiatobin
|
|
$(call Device/Default-arm64)
|
|
DEVICE_TITLE := MACCHIATObin (SolidRun Armada 8040 Community Board)
|
|
DEVICE_PACKAGES += kmod-i2c-core kmod-i2c-mux kmod-i2c-mux-pca954x
|
|
DEVICE_DTS := armada-8040-mcbin
|
|
SUPPORTED_DEVICES := marvell,armada8040-mcbin
|
|
endef
|
|
TARGET_DEVICES += armada-macchiatobin
|
|
|
|
define Device/armada-8040-db
|
|
$(call Device/Default-arm64)
|
|
DEVICE_TITLE := Marvell Armada 8040 DB board
|
|
DEVICE_DTS := armada-8040-db
|
|
IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
|
|
SUPPORTED_DEVICES := marvell,armada8040-db
|
|
endef
|
|
TARGET_DEVICES += armada-8040-db
|
|
|
|
define Device/armada-7040-db
|
|
$(call Device/Default-arm64)
|
|
DEVICE_TITLE := Marvell Armada 7040 DB board
|
|
DEVICE_DTS := armada-7040-db
|
|
IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
|
|
SUPPORTED_DEVICES := marvell,armada7040-db
|
|
endef
|
|
TARGET_DEVICES += armada-7040-db
|
|
|
|
endif
|