Browse Source

ramips: add profile and build image for the Upvel UR-326N4G board

Patch from: Дмитрий Лебедев <[email protected]>
Signed-off-by: Gabor Juhos <[email protected]>

SVN-Revision: 35972
Gabor Juhos 13 years ago
parent
commit
fe3df4b593
2 changed files with 16 additions and 0 deletions
  1. 4 0
      target/linux/ramips/image/Makefile
  2. 12 0
      target/linux/ramips/rt305x/profiles/upvel.mk

+ 4 - 0
target/linux/ramips/image/Makefile

@@ -633,6 +633,9 @@ define Image/Build/Profile/WR5123GN
 	$(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,wr512-3gn-8M,WR512-3GN,ttyS1,57600,phys)
 endef
 
+define Image/Build/Profile/UPVEL_326
+	$(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,ur-326n4g,UR-326N4G,ttyS1,57600,phys)
+endef
 
 define Image/Build/Profile/UPVEL
 	$(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,ur-336un,UR-336UN,ttyS1,57600,phys)
@@ -673,6 +676,7 @@ define Image/Build/Profile/Default
 	$(call Image/Build/Profile/NBG419N,$(1))
 	$(call Image/Build/Profile/NW718,$(1))
 	$(call Image/Build/Profile/OMNIEMB,$(1))
+	$(call Image/Build/Profile/UPVEL_326,$(1))
 	$(call Image/Build/Profile/PSR680W,$(1))
 	$(call Image/Build/Profile/PWH2004,$(1))
 	$(call Image/Build/Profile/RTG32B1,$(1))

+ 12 - 0
target/linux/ramips/rt305x/profiles/upvel.mk

@@ -16,3 +16,15 @@ define Profile/UPVEL/Description
 	Default package set compatible with URVEL router board.
 endef
 $(eval $(call Profile,UPVEL))
+
+define Profile/UPVEL_326
+	NAME:=UPVEL UR-326N4G
+	PACKAGES:=\
+		kmod-usb-core kmod-usb-rt305x-dwc_otg \
+		kmod-ledtrig-usbdev
+endef
+
+define Profile/UPVEL/Description
+	Default package set compatible with URVEL router board.
+endef
+$(eval $(call Profile,UPVEL_326))