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
This commit is contained in:
blogic 2016-05-02 18:50:10 +00:00 committed by Jo-Philipp Wich
parent 5ed2140162
commit b695ce2999

View file

@ -283,14 +283,15 @@ define Device/Default
IMAGES := sysupgrade.bin IMAGES := sysupgrade.bin
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs
endef endef
DEVICE_VARS += BOARD_ID DEVICE_PROFILE DEVICE_DTS DEVICE_VARS += DEVICE_PROFILE DEVICE_DTS
define Device/lantiqTpLink define Device/lantiqTpLink
KERNEL := kernel-bin | append-dtb | lzma KERNEL := kernel-bin | append-dtb | lzma
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | tplink-fw KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | tplink-fw
IMAGES := tplink IMAGES := sysupgrade.bin
IMAGE/tplink := mktplinkfw2 IMAGE/sysupgrade.bin := mktplinkfw2
endef endef
DEVICE_VARS += BOARD_ID
define Device/lantiqBrnImage define Device/lantiqBrnImage
KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict