aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-05-25 17:52:12 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-05-25 17:52:12 +0000
commit1fe8e242f2b3b19449148165309d48b732021e10 (patch)
tree15ea9b9621c78f7ee9e6784b1a6aa0a0b397987b /target/linux
parentdb1d746463d6c1f530447c76001414d72c5f2feb (diff)
downloadupstream-1fe8e242f2b3b19449148165309d48b732021e10.tar.gz
upstream-1fe8e242f2b3b19449148165309d48b732021e10.tar.bz2
upstream-1fe8e242f2b3b19449148165309d48b732021e10.zip
create firmware image for the RouterStation Pro, and add a profile for it (patch by Ubiquiti Networks)
SVN-Revision: 16066
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/image/Makefile25
-rw-r--r--target/linux/ar71xx/profiles/ubnt.mk22
2 files changed, 39 insertions, 8 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 164ac573d9..9f2a0458a5 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -91,7 +91,7 @@ define Image/Build/UBNT
$(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux-$(2) $(KDIR)/vmlinux-$(2).lzma
dd if=$(KDIR)/vmlinux-$(2).lzma of=$(KDIR)/vmlinux-$(2).bin.lzma bs=64k conv=sync
-$(STAGING_DIR_HOST)/bin/mkfwimage \
- -B $(4) -v $(5).ar7100.OpenWrt.$(REVISION) \
+ -B $(4) -v $(5).$(6).OpenWrt.$(REVISION) \
-k $(KDIR)/vmlinux-$(2).bin.lzma \
-r $(BIN_DIR)/openwrt-$(BOARD)-root.$(1) \
-o $(BIN_DIR)/openwrt-$(BOARD)-$(2)-$(1).bin
@@ -164,11 +164,11 @@ define Image/Build/Template/TPLINK/squashfs
endef
define Image/Build/Template/UBNT
- $(call Image/Build/UBNT,$(1),$(2),$(3),$(4),$(5))
+ $(call Image/Build/UBNT,$(1),$(2),$(3),$(4),$(5),$(6))
endef
define Image/Build/Template/UBNT/squashfs
- $(call Image/Build/Template/UBNT,squashfs,$(1),$(2),$(3),$(4))
+ $(call Image/Build/Template/UBNT,squashfs,$(1),$(2),$(3),$(4),$(5))
endef
define Image/Build/Template/Planex
@@ -200,11 +200,21 @@ define Image/Build/Profile/A02RBW300N
endef
define Image/Build/Profile/UBNTRS
- $(call Image/Build/Template/UBNT/$(1),ubnt-rs,board=UBNT-RS,RS,RSx)
+ $(call Image/Build/Template/UBNT/$(1),ubnt-rs,board=UBNT-RS,RS,RSx,ar7100)
+endef
+
+define Image/Build/Profile/UBNTRSPRO
+ $(call Image/Build/Template/UBNT/$(1),ubnt-rspro,board=UBNT-RSPRO,RSPRO,RSPRO,ar7100pro)
endef
define Image/Build/Profile/UBNTLSSR71
- $(call Image/Build/Template/UBNT/$(1),ubnt-ls-sr71,board=UBNT-LS-SR71,LS-SR71,LS-SR71)
+ $(call Image/Build/Template/UBNT/$(1),ubnt-ls-sr71,board=UBNT-LS-SR71,LS-SR71,LS-SR71,ar7100)
+endef
+
+define Image/Build/Profile/UBNT
+ $(call Image/Build/Profile/UBNTRS,$(1))
+ $(call Image/Build/Profile/UBNTRSPRO,$(1))
+ $(call Image/Build/Profile/UBNTLSSR71,$(1))
endef
define Image/Build/Profile/MZKW04NU
@@ -231,14 +241,13 @@ define Image/Build/Profile/Default
$(call Image/Build/Profile/TEW652BRP,$(1))
$(call Image/Build/Profile/TLWR841NDV3,$(1))
$(call Image/Build/Profile/TLWR941NDV2,$(1))
- $(call Image/Build/Profile/UBNTRS,$(1))
- $(call Image/Build/Profile/UBNTLSSR71,$(1))
+ $(call Image/Build/Profile/UBNT,$(1))
$(call Image/Build/Profile/WP543,$(1))
$(call Image/Build/Profile/WRT400N,$(1))
endef
define Image/Build/Profile/Madwifi
- $(call Image/Build/Profile/UBNTRS,$(1))
+ $(call Image/Build/Profile/UBNT,$(1))
$(call Image/Build/Profile/WP543,$(1))
endef
diff --git a/target/linux/ar71xx/profiles/ubnt.mk b/target/linux/ar71xx/profiles/ubnt.mk
index ac9ef3619d..849e3c2edd 100644
--- a/target/linux/ar71xx/profiles/ubnt.mk
+++ b/target/linux/ar71xx/profiles/ubnt.mk
@@ -15,3 +15,25 @@ define Profile/UBNTRS/Description
endef
$(eval $(call Profile,UBNTRS))
+
+define Profile/UBNTRSPRO
+ NAME:=Ubiquiti RouterStation Pro
+ PACKAGES:=kmod-usb-ohci kmod-usb2
+endef
+
+define Profile/UBNTRSPRO/Description
+ Package set optimized for the Ubiquiti RouterStation Pro.
+endef
+
+$(eval $(call Profile,UBNTRSPRO))
+
+define Profile/UBNT
+ NAME:=Ubiquiti Products
+ PACKAGES:=kmod-usb-ohci kmod-usb2
+endef
+
+define Profile/UBNT/Description
+ Build images for all Ubiquiti products (including LS-SR71, RouterStation and RouterStation Pro)
+endef
+
+$(eval $(call Profile,UBNT))