aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/nand.mk
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-06-08 15:18:34 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-06-11 21:32:17 +0200
commit7bc5571d148cbb404a39b0d10fe41957547ba1e8 (patch)
treea5f93e266c0469e95f91542b49dbe0680f952c49 /target/linux/ar71xx/image/nand.mk
parent80136e57a479d2a0902a3acdd57bfb0776a3be97 (diff)
downloadupstream-7bc5571d148cbb404a39b0d10fe41957547ba1e8.tar.gz
upstream-7bc5571d148cbb404a39b0d10fe41957547ba1e8.tar.bz2
upstream-7bc5571d148cbb404a39b0d10fe41957547ba1e8.zip
ar71xx: image: use simply expanded variables
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/image/nand.mk')
-rw-r--r--target/linux/ar71xx/image/nand.mk36
1 files changed, 18 insertions, 18 deletions
diff --git a/target/linux/ar71xx/image/nand.mk b/target/linux/ar71xx/image/nand.mk
index bd9eaf70c5..fafccb9b77 100644
--- a/target/linux/ar71xx/image/nand.mk
+++ b/target/linux/ar71xx/image/nand.mk
@@ -18,12 +18,12 @@ endef
define Device/c-60
DEVICE_TITLE := AirTight C-60
DEVICE_PACKAGES := kmod-spi-gpio kmod-usb-core kmod-usb2 kmod-ath9k
- BOARDNAME = C-60
+ BOARDNAME := C-60
BLOCKSIZE := 64k
- KERNEL_SIZE = 3648k
- IMAGE_SIZE = 32m
+ KERNEL_SIZE := 3648k
+ IMAGE_SIZE := 32m
IMAGES := sysupgrade.tar
- MTDPARTS = spi0.0:256k(u-boot)ro,128k(u-boot-env)ro,3648k(kernel),64k(art)ro;ar934x-nfc:32m(ubi)
+ MTDPARTS := spi0.0:256k(u-boot)ro,128k(u-boot-env)ro,3648k(kernel),64k(art)ro;ar934x-nfc:32m(ubi)
KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
IMAGE/sysupgrade.tar := sysupgrade-tar
endef
@@ -32,24 +32,24 @@ TARGET_DEVICES += c-60
define Device/domywifi-dw33d
DEVICE_TITLE := DomyWifi DW33D
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
- BOARDNAME = DW33D
- IMAGE_SIZE = 16000k
- MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14528k(rootfs),1472k(kernel),64k(art)ro,16000k@0x50000(firmware);ar934x-nfc:96m(rootfs_data),32m(backup)ro
- IMAGE/sysupgrade.bin = append-rootfs | pad-rootfs | pad-to 14528k | append-kernel | check-size $$$$(IMAGE_SIZE)
+ BOARDNAME := DW33D
+ IMAGE_SIZE := 16000k
+ MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14528k(rootfs),1472k(kernel),64k(art)ro,16000k@0x50000(firmware);ar934x-nfc:96m(rootfs_data),32m(backup)ro
+ IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | pad-to 14528k | append-kernel | check-size $$$$(IMAGE_SIZE)
endef
TARGET_DEVICES += domywifi-dw33d
define Device/hiveap-121
DEVICE_TITLE := Aerohive HiveAP-121
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-i2c-gpio-custom kmod-spi-gpio kmod-ath9k kmod-tpm-i2c-atmel
- BOARDNAME = HiveAP-121
+ BOARDNAME := HiveAP-121
BLOCKSIZE := 128k
PAGESIZE := 2048
IMAGE_SIZE := 115m
KERNEL_SIZE := 5120k
UBINIZE_OPTS := -E 5
- CONSOLE = ttyS0,9600
- MTDPARTS = spi0.0:512k(u-boot)ro,64k(u-boot-env),64k(hw-info)ro,64k(boot-info)ro,64k(boot-sinfo)ro;ar934x-nfc:4096k(u-boot-1),4096k(u-boot-env-1),5m(kernel),111m(ubi),4096k(wifi-info)ro
+ CONSOLE := ttyS0,9600
+ MTDPARTS := spi0.0:512k(u-boot)ro,64k(u-boot-env),64k(hw-info)ro,64k(boot-info)ro,64k(boot-sinfo)ro;ar934x-nfc:4096k(u-boot-1),4096k(u-boot-env-1),5m(kernel),111m(ubi),4096k(wifi-info)ro
IMAGES := sysupgrade.tar factory.bin
KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE)
@@ -60,9 +60,9 @@ TARGET_DEVICES += hiveap-121
define Device/mr18
DEVICE_TITLE := Meraki MR18
DEVICE_PACKAGES := kmod-spi-gpio kmod-ath9k
- BOARDNAME = MR18
+ BOARDNAME := MR18
BLOCKSIZE := 64k
- MTDPARTS = ar934x-nfc:512k(nandloader)ro,8M(kernel),8M(recovery),113664k(ubi),128k@130944k(odm-caldata)ro
+ MTDPARTS := ar934x-nfc:512k(nandloader)ro,8M(kernel),8M(recovery),113664k(ubi),128k@130944k(odm-caldata)ro
IMAGES := sysupgrade.tar
KERNEL := kernel-bin | patch-cmdline | MerakiNAND
KERNEL_INITRAMFS := kernel-bin | patch-cmdline | MerakiNAND
@@ -73,9 +73,9 @@ TARGET_DEVICES += mr18
define Device/rambutan
DEVICE_TITLE := 8devices Rambutan
DEVICE_PACKAGES := kmod-usb-core kmod-usb2
- BOARDNAME = RAMBUTAN
- BLOCKSIZE = 128KiB
- MTDPARTS = ar934x-nfc:3M(u-boot)ro,2M(u-boot-env),1M(art),122M(ubi)
+ BOARDNAME := RAMBUTAN
+ BLOCKSIZE := 128KiB
+ MTDPARTS := ar934x-nfc:3M(u-boot)ro,2M(u-boot-env),1M(art),122M(ubi)
PAGESIZE := 2048
KERNEL_IN_UBI := 1
IMAGES := factory.ubi sysupgrade.tar
@@ -87,9 +87,9 @@ TARGET_DEVICES += rambutan
define Device/z1
DEVICE_TITLE := Meraki Z1
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-spi-gpio kmod-ath9k kmod-owl-loader
- BOARDNAME = Z1
+ BOARDNAME := Z1
BLOCKSIZE := 64k
- MTDPARTS = ar934x-nfc:128K(loader1)ro,8064K(kernel),128K(loader2)ro,8064K(recovery),114560K(ubi),128K(origcaldata)ro
+ MTDPARTS := ar934x-nfc:128K(loader1)ro,8064K(kernel),128K(loader2)ro,8064K(recovery),114560K(ubi),128K(origcaldata)ro
IMAGES := sysupgrade.tar
KERNEL := kernel-bin | patch-cmdline | MerakiNAND-old
KERNEL_INITRAMFS := kernel-bin | patch-cmdline | MerakiNAND-old