diff options
Diffstat (limited to 'target/linux/realtek/image/Makefile')
-rw-r--r-- | target/linux/realtek/image/Makefile | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile index 6c7be4aa90..e4a3904aa8 100644 --- a/target/linux/realtek/image/Makefile +++ b/target/linux/realtek/image/Makefile @@ -6,9 +6,15 @@ include $(INCLUDE_DIR)/image.mk KERNEL_LOADADDR = 0x80000000 KERNEL_ENTRY = 0x80000400 -DEVICE_VARS += ZYXEL_VERS DLINK_KERNEL_PART_SIZE -DEVICE_VARS += CAMEO_KERNEL_PART CAMEO_ROOTFS_PART CAMEO_CUSTOMER_SIGNATURE CAMEO_BOARD_VERSION -DEVICE_VARS += H3C_PRODUCT_ID H3C_DEVICE_ID +DEVICE_VARS += \ + CAMEO_BOARD_VERSION \ + CAMEO_CUSTOMER_SIGNATURE \ + CAMEO_KERNEL_PART \ + CAMEO_ROOTFS_PART \ + DLINK_KERNEL_PART_SIZE \ + H3C_DEVICE_ID \ + H3C_PRODUCT_ID \ + ZYXEL_VERS define Build/zyxel-vers ( echo VERS;\ @@ -81,13 +87,26 @@ endef define Device/Default PROFILES = Default - KERNEL := kernel-bin | append-dtb | gzip | uImage gzip - KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | uImage gzip + KERNEL := \ + kernel-bin | \ + append-dtb | \ + gzip | \ + uImage gzip + KERNEL_INITRAMFS := \ + kernel-bin | \ + append-dtb | \ + gzip | \ + uImage gzip DEVICE_DTS_DIR := ../dts-$(KERNEL_PATCHVER) DEVICE_DTS = $$(SOC)_$(1) IMAGES := sysupgrade.bin - IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | append-rootfs | pad-rootfs | \ - check-size | append-metadata + IMAGE/sysupgrade.bin := \ + append-kernel | \ + append-metadata | \ + append-rootfs | \ + check-size | \ + pad-rootfs | \ + pad-to 64k endef include $(SUBTARGET).mk |