ar71xx: tiny: add missing mkbuffaloimg method
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
db3a9e3987
commit
bc54e5ea6e
@ -1,3 +1,11 @@
|
||||
define Build/mkbuffaloimg
|
||||
$(STAGING_DIR_HOST)/bin/mkbuffaloimg -B $(BOARDNAME) \
|
||||
-R $$(($(subst k, * 1024,$(ROOTFS_SIZE)))) \
|
||||
-K $$(($(subst k, * 1024,$(KERNEL_SIZE)))) \
|
||||
-i $@ -o $@.new
|
||||
mv $@.new $@
|
||||
endef
|
||||
|
||||
define Device/bhr-4grv2
|
||||
DEVICE_TITLE := Buffalo BHR-4GRV2
|
||||
BOARDNAME := BHR-4GRV2
|
||||
@ -21,4 +29,4 @@ define Device/zbt-we1526
|
||||
MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14528k(rootfs),1472k(kernel),64k(art)ro,16000k@0x50000(firmware)
|
||||
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | pad-to $$$$(ROOTFS_SIZE) | append-kernel | check-size $$$$(IMAGE_SIZE)
|
||||
endef
|
||||
TARGET_DEVICES += zbt-we1526
|
||||
TARGET_DEVICES += zbt-we1526
|
||||
|
||||
Loading…
Reference in New Issue
Block a user