diff options
author | Mathias Kresin <dev@kresin.me> | 2016-11-21 08:46:48 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-12-24 10:03:38 +0100 |
commit | 0cf581ca3a2a692938003a7038d93f2e24d9125a (patch) | |
tree | 94bdee9217bcdd040ba563afef1851f2a68bba95 /target/linux/ramips/image/rt3883.mk | |
parent | a75ce960ac1b9d67af280e17e1e653b3b39def20 (diff) | |
download | upstream-0cf581ca3a2a692938003a7038d93f2e24d9125a.tar.gz upstream-0cf581ca3a2a692938003a7038d93f2e24d9125a.tar.bz2 upstream-0cf581ca3a2a692938003a7038d93f2e24d9125a.zip |
ramips: use new image build code for more devices
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/image/rt3883.mk')
-rw-r--r-- | target/linux/ramips/image/rt3883.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ramips/image/rt3883.mk b/target/linux/ramips/image/rt3883.mk index abece505d7..58026891e4 100644 --- a/target/linux/ramips/image/rt3883.mk +++ b/target/linux/ramips/image/rt3883.mk @@ -1,6 +1,9 @@ # # RT3662/RT3883 Profiles # +define Build/mkrtn56uimg + $(STAGING_DIR_HOST)/bin/mkrtn56uimg $(1) $@ +endef define Device/br-6475nd DTS := BR-6475ND @@ -66,6 +69,19 @@ endef TARGET_DEVICES += hpm +define Device/rt-n56u + DTS := RT-N56U + BLOCKSIZE := 64k + IMAGES += factory.bin + IMAGE/sysupgrade.bin += | mkrtn56uimg -s + IMAGE/factory.bin := $$(sysupgrade_bin) | \ + check-size $$$$(IMAGE_SIZE) | mkrtn56uimg -f + DEVICE_TITLE := Asus RT-N56U + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig +endef +TARGET_DEVICES += rt-n56u + + define Device/tew-691gr DTS := TEW-691GR BLOCKSIZE := 64k |