summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2016-05-02 18:50:10 +0000
committerJo-Philipp Wich <jo@mein.io>2016-05-10 10:43:12 +0200
commitb695ce2999bdd7ce16e0abd0cc3506554456a290 (patch)
tree63ddab40de3c5b7c093fcedab74dd4f6628e2cc0 /target
parent5ed21401629c88c90326fa7e6148ff694937d067 (diff)
downloadmtk-20170518-b695ce2999bdd7ce16e0abd0cc3506554456a290.zip
mtk-20170518-b695ce2999bdd7ce16e0abd0cc3506554456a290.tar.gz
mtk-20170518-b695ce2999bdd7ce16e0abd0cc3506554456a290.tar.bz2
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
Diffstat (limited to 'target')
-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 67fdff6..bc74e4f 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