X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fmpc85xx%2Fimage%2FMakefile;h=dd15d4c610f8e6c232ba40611415eda8e36d11d4;hb=5de6aed42c3519f819b913a8b218adb5ea827872;hp=00eed888740a18460877b492cba59c4d2a31808a;hpb=ed2839ac41908905294f82de36b68757e78545e6;p=openwrt%2Fopenwrt.git diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index 00eed88874..dd15d4c610 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -79,4 +79,23 @@ TARGET_DEVICES += hiveap-330 endif +ifeq ($(SUBTARGET),p2020) + +define Device/p2020rdb + DEVICE_TITLE := Freescale P2020RDB + DEVICE_DTS_DIR := $(DTS_DIR)/fsl + DEVICE_PACKAGES := kmod-hwmon-core kmod-hwmon-lm90 kmod-rtc-ds1307 \ + kmod-gpio-pca953x kmod-eeprom-at24 + BLOCKSIZE := 128k + KERNEL := kernel-bin | gzip | \ + fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb + SUPPORTED_DEVICES := fsl,P2020RDB + IMAGES := sysupgrade.bin + IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \ + pad-rootfs $$(BLOCKSIZE) | append-metadata +endef +TARGET_DEVICES += p2020rdb + +endif + $(eval $(call BuildImage))