mpc85xx: restructure image receipts
[openwrt/openwrt.git] / target / linux / mpc85xx / image / p1020.mk
1 define Device/aerohive_hiveap-330
2 DEVICE_VENDOR := Aerohive
3 DEVICE_MODEL := HiveAP-330
4 DEVICE_PACKAGES := kmod-tpm-i2c-atmel
5 BLOCKSIZE := 128k
6 KERNEL := kernel-bin | gzip | uImage gzip
7 KERNEL_SIZE := 8m
8 KERNEL_INITRAMFS := copy-file $(KDIR)/vmlinux-initramfs | uImage none
9 IMAGES := fdt.bin sysupgrade.bin
10 IMAGE/fdt.bin := append-dtb
11 IMAGE/sysupgrade.bin := append-dtb | pad-to 256k | check-size 256k | \
12 append-uImage-fakehdr ramdisk | pad-to 256k | check-size 512k | \
13 append-rootfs | pad-rootfs $$(BLOCKSIZE) | pad-to 41216k | check-size 41216k | \
14 append-kernel | append-metadata
15 endef
16 TARGET_DEVICES += aerohive_hiveap-330
17
18 define Device/enterasys_ws-ap3710i
19 DEVICE_VENDOR := Enterasys
20 DEVICE_MODEL := WS-AP3710i
21 BLOCKSIZE := 128k
22 KERNEL = kernel-bin | lzma | fit lzma $(KDIR)/image-$$(DEVICE_DTS).dtb
23 IMAGES := sysupgrade.bin
24 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
25 endef
26 TARGET_DEVICES += enterasys_ws-ap3710i
27
28 define Device/ocedo_panda
29 DEVICE_VENDOR := OCEDO
30 DEVICE_MODEL := Panda
31 DEVICE_PACKAGES := kmod-rtc-ds1307 uboot-envtools
32 KERNEL = kernel-bin | gzip | fit gzip $(KDIR)/image-$$(DEVICE_DTS).dtb
33 PAGESIZE := 2048
34 SUBPAGESIZE := 512
35 BLOCKSIZE := 128k
36 IMAGES := fdt.bin sysupgrade.bin
37 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
38 IMAGE/fdt.bin := append-dtb
39 endef
40 TARGET_DEVICES += ocedo_panda
41