diff options
Diffstat (limited to 'target/linux/ar71xx/image/generic.mk')
-rw-r--r-- | target/linux/ar71xx/image/generic.mk | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk index 37ee755ee4..ab64e76d7c 100644 --- a/target/linux/ar71xx/image/generic.mk +++ b/target/linux/ar71xx/image/generic.mk @@ -766,25 +766,3 @@ define Device/bhr-4grv2 IMAGE/factory.bin = append-kernel | pad-to $$$$(KERNEL_SIZE) | append-rootfs | mkbuffaloimg endef TARGET_DEVICES += bhr-4grv2 - - -# factory image starts with a header of size 60 (0x3c) bytes. The header is -# only used for checking integrity of the firmware image without being written -# to flash chip. That means it's okay we include jffs2 pads when computing -# checksums -define Build/wrt400n-factory - cp $(IMAGE_ROOTFS) $(IMAGE_ROOTFS).tmp - $(STAGING_DIR_HOST)/bin/padjffs2 $(IMAGE_ROOTFS).tmp $(BLOCKSIZE:%k=%) - $(STAGING_DIR_HOST)/bin/wrt400n $(IMAGE_KERNEL) $(IMAGE_ROOTFS).tmp $@ - rm -f $(IMAGE_ROOTFS).tmp -endef - -define Device/wrt400n - DEVICE_TITLE := Linksys WRT400N - BOARDNAME := WRT400N - CONSOLE := ttyS0,115200 - IMAGES := sysupgrade.bin factory.bin - IMAGE/sysupgrade.bin = append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size 0x770000 - IMAGE/factory.bin = wrt400n-factory | check-size 0x77003c -endef -TARGET_DEVICES += wrt400n |