mpc85xx: restructure image receipts
[openwrt/openwrt.git] / target / linux / mpc85xx / image / p2020.mk
1 define Device/freescale_p2020rdb
2 DEVICE_VENDOR := Freescale
3 DEVICE_MODEL := P2020RDB
4 DEVICE_DTS_DIR := $(DTS_DIR)/fsl
5 DEVICE_PACKAGES := kmod-hwmon-lm90 kmod-rtc-ds1307 \
6 kmod-gpio-pca953x kmod-eeprom-at24
7 BLOCKSIZE := 128k
8 KERNEL := kernel-bin | gzip | \
9 fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
10 SUPPORTED_DEVICES := fsl,P2020RDB
11 IMAGES := sysupgrade.bin
12 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
13 pad-rootfs $$(BLOCKSIZE) | append-metadata
14 endef
15 TARGET_DEVICES += freescale_p2020rdb