mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
cc2d61edc3
When converting the fdt binary to be created as an artifact, the image
receipt was dropped but the entry in the target images list was not.
Fixes commit 1e41de2f48
("mpc85xx: convert TL-WDR4900 v1 to simpleImage")
Signed-off-by: David Bauer <mail@david-bauer.net>
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
DEVICE_VARS += TPLINK_HWID TPLINK_HWREV TPLINK_FLASHLAYOUT TPLINK_HEADER_VERSION
|
|
|
|
define Device/tplink_tl-wdr4900-v1
|
|
DEVICE_VENDOR := TP-Link
|
|
DEVICE_MODEL := TL-WDR4900
|
|
DEVICE_VARIANT := v1
|
|
TPLINK_HEADER_VERSION := 1
|
|
TPLINK_HWID := 0x49000001
|
|
TPLINK_HWREV := 1
|
|
TPLINK_FLASHLAYOUT := 16Mppc
|
|
KERNEL_SIZE := 2684k
|
|
KERNEL_NAME := simpleImage.tl-wdr4900-v1
|
|
KERNEL_INITRAMFS :=
|
|
KERNEL := kernel-bin | uImage none
|
|
KERNEL_ENTRY := 0x1000000
|
|
KERNEL_LOADADDR := 0x1000000
|
|
SUPPORTED_DEVICES += tl-wdr4900-v1
|
|
ARTIFACTS := fdt.bin
|
|
ARTIFACT/fdt.bin := append-dtb
|
|
IMAGES := factory.bin sysupgrade.bin
|
|
IMAGE/sysupgrade.bin := tplink-v1-image sysupgrade | append-metadata
|
|
IMAGE/factory.bin := tplink-v1-image factory
|
|
endef
|
|
TARGET_DEVICES += tplink_tl-wdr4900-v1
|
|
|
|
define Device/sophos_red-15w-rev1
|
|
DEVICE_VENDOR := Sophos
|
|
DEVICE_MODEL := RED 15w
|
|
DEVICE_VARIANT := Rev.1
|
|
# Original firmware uses a dedicated DTB-partition.
|
|
# The bootloader however supports FIT-images.
|
|
KERNEL = kernel-bin | gzip | fit gzip $(KDIR)/image-$$(DEVICE_DTS).dtb
|
|
IMAGES := sysupgrade.bin
|
|
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
endef
|
|
TARGET_DEVICES += sophos_red-15w-rev1
|