bcm53xx: build images for Luxul ABR-4500 and XBR-4500 routers
[openwrt/staging/yousong.git] / target / linux / bcm53xx / image / Makefile
index 9f2731ddaa27eddf011781fe945e00b44ff7bd00..6f509741ac3e7f23ae9d1f645c930b21df704427 100644 (file)
@@ -83,6 +83,13 @@ define Build/asus-trx
        mv $@.new $@
 endef
 
+define Build/luxul-lxl
+       $(STAGING_DIR_HOST)/bin/lxlfw create $@.new \
+               -i $@ \
+               -b $(LUXUL_BOARD)
+       mv $@.new $@
+endef
+
 define Build/seama-nand
        # Seama entity
        $(STAGING_DIR_HOST)/bin/oseama \
@@ -102,6 +109,7 @@ endef
 
 DEVICE_VARS += PRODUCTID SIGNATURE NETGEAR_BOARD_ID NETGEAR_REGION TPLINK_BOARD
 DEVICE_VARS += BUFFALO_TAG_PLATFORM BUFFALO_TAG_VERSION BUFFALO_TAG_MINOR
+DEVICE_VARS += LUXUL_BOARD
 
 IEEE8021X := wpad-basic
 B43 := $(IEEE8021X) kmod-b43
@@ -262,6 +270,28 @@ define Device/linksys-ea9500
 endef
 # TARGET_DEVICES += linksys-ea9500
 
+define Device/luxul
+  DEVICE_VENDOR := Luxul
+  IMAGES := lxl
+  IMAGE/lxl := append-ubi | trx-nand | luxul-lxl
+endef
+
+define Device/luxul-abr-4500
+  $(Device/luxul)
+  DEVICE_MODEL := ABR-4500
+  DEVICE_PACKAGES := $(USB3_PACKAGES)
+  LUXUL_BOARD := ABR-4500
+endef
+TARGET_DEVICES += luxul-abr-4500
+
+define Device/luxul-xbr-4500
+  $(Device/luxul)
+  DEVICE_MODEL := XBR-4500
+  DEVICE_PACKAGES := $(USB3_PACKAGES)
+  LUXUL_BOARD := XBR-4500
+endef
+TARGET_DEVICES += luxul-xbr-4500
+
 define Device/netgear
   DEVICE_VENDOR := NETGEAR
   IMAGES := chk