summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin2016-05-02 18:50:10 +0000
committerJohn Crispin2016-05-02 18:50:10 +0000
commit571dd86582508bd0a39287eedd749b79da78a885 (patch)
treef5c912865db5eae42aead8ab190013ab7dcaf17d
parentf43158d9db282a906b9f52504f24bff2fda0ab41 (diff)
downloadarchive-571dd86582508bd0a39287eedd749b79da78a885.tar.gz
lantiq: use sysupgrade.bin postfix for tplink images
Use the same name for TP-Link images as it was with the old image build code. Move the BOARD_ID export to the TP-Link image build recipe, to indicate that the variable is only related in this context. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49279
-rw-r--r--target/linux/lantiq/image/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
index f779a1b936..033dcc32b4 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -283,14 +283,15 @@ define Device/Default
IMAGES := sysupgrade.bin
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs
endef
-DEVICE_VARS += BOARD_ID DEVICE_PROFILE DEVICE_DTS
+DEVICE_VARS += DEVICE_PROFILE DEVICE_DTS
define Device/lantiqTpLink
KERNEL := kernel-bin | append-dtb | lzma
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | tplink-fw
- IMAGES := tplink
- IMAGE/tplink := mktplinkfw2
+ IMAGES := sysupgrade.bin
+ IMAGE/sysupgrade.bin := mktplinkfw2
endef
+DEVICE_VARS += BOARD_ID
define Device/lantiqBrnImage
KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict