mirror of https://github.com/hak5/openwrt.git
ramips: add profile and build image for the TEW-692GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33849lede-17.01
parent
86b788b1b4
commit
462a53c367
|
@ -327,6 +327,19 @@ define BuildFirmware/DIR645/initramfs
|
||||||
$(call BuildFirmware/Generic/initramfs,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_dir645a1)))
|
$(call BuildFirmware/Generic/initramfs,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_dir645a1)))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define BuildFirmware/UMedia
|
||||||
|
$(call BuildFirmware/GENERIC_8M,$(1),$(2),$(3),ttyS1,57600,phys)
|
||||||
|
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
|
||||||
|
fix-u-media-header -T 0x46 -B $(4) \
|
||||||
|
-i $(call sysupname,$(1),$(2)) \
|
||||||
|
-o $(call imgname,$(1),$(2))-factory.bin; \
|
||||||
|
fi
|
||||||
|
endef
|
||||||
|
|
||||||
|
define BuildFirmware/UMedia/initramfs
|
||||||
|
$(call BuildFirmware/GENERIC_8M/initramfs,$(1),$(2),$(3),ttyS1,57600,phys)
|
||||||
|
endef
|
||||||
|
|
||||||
define BuildFirmware/W306R_4M
|
define BuildFirmware/W306R_4M
|
||||||
$(call BuildFirmware/w306r,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_4M)),917504,2949120)
|
$(call BuildFirmware/w306r,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_4M)),917504,2949120)
|
||||||
endef
|
endef
|
||||||
|
@ -627,10 +640,15 @@ define Image/Build/Profile/RTN56U
|
||||||
$(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,rt-n56u,RT-N56U,ttyS1,57600,phys)
|
$(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,rt-n56u,RT-N56U,ttyS1,57600,phys)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Image/Build/Profile/TEW692GR
|
||||||
|
$(call Image/Build/Template/$(fs_squash)/$(1),UMedia,tew-692gr,TEW-692GR,0x026920)
|
||||||
|
endef
|
||||||
|
|
||||||
ifeq ($(CONFIG_RALINK_RT3883),y)
|
ifeq ($(CONFIG_RALINK_RT3883),y)
|
||||||
define Image/Build/Profile/Default
|
define Image/Build/Profile/Default
|
||||||
$(call Image/Build/Profile/DIR645,$(1))
|
$(call Image/Build/Profile/DIR645,$(1))
|
||||||
$(call Image/Build/Profile/RTN56U,$(1))
|
$(call Image/Build/Profile/RTN56U,$(1))
|
||||||
|
$(call Image/Build/Profile/TEW692GR,$(1))
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2012 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
define Profile/TEW692GR
|
||||||
|
NAME:=TRENDnet TEW-692GR
|
||||||
|
PACKAGES:=swconfig
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Profile/TEW692GR/Description
|
||||||
|
Package set compatible with the TRENDnet TEW-692GR board.
|
||||||
|
endef
|
||||||
|
$(eval $(call Profile,TEW692GR))
|
Loading…
Reference in New Issue