mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
ee96fa15b1
Convert whole target to Device Tree based board detection instead of identifying devices by dts file name. With this we can drop mvebu.sh translation script and rely on common method for model detection. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
29 lines
918 B
Makefile
29 lines
918 B
Makefile
ifeq ($(SUBTARGET),cortexa72)
|
|
|
|
define Device/marvell_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 += marvell_macchiatobin
|
|
|
|
define Device/marvell_armada8040-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
|
|
endef
|
|
TARGET_DEVICES += marvell_armada8040-db
|
|
|
|
define Device/marvell_armada7040-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
|
|
endef
|
|
TARGET_DEVICES += marvell_armada7040-db
|
|
|
|
endif
|