From 44131bd78518a8635129f75cc794535196788fef Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 29 Nov 2012 17:37:14 +0000 Subject: [PATCH 1/1] ramips: rt305x: add profile and build image for the Asus RT-N13U Signed-off-by: Amit Mendapara Signed-off-by: Gabor Juhos SVN-Revision: 34407 --- target/linux/ramips/image/Makefile | 9 +++++++++ target/linux/ramips/rt305x/profiles/n13u.mk | 17 +++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 target/linux/ramips/rt305x/profiles/n13u.mk diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 6509e2deaf..20df6e451b 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -259,6 +259,10 @@ define BuildFirmware/FONERA20N/initramfs $(call BuildFirmware/GENERIC_8M/initramfs,$(1),fonera20n,FONERA20N,ttyS1,57600,phys) endef +define BuildFirmware/RT-N13U + $(call BuildFirmware/GENERIC_8M,$(1),rt-n13u,RT-N13U,ttyS1,57600,phys) +endef + mtdlayout_nw718=192k(u-boot)ro,128k(config)ro,64k(factory)ro,896k(kernel),2816k(rootfs),3712k@0x60000(firmware) kernel_size_nw718=917504 rootfs_size_nw718=2883584 @@ -493,6 +497,10 @@ define Image/Build/Profile/FONERA20N $(call Image/Build/Template/$(fs_squash)/$(1),FONERA20N) endef +define Image/Build/Profile/RT-N13U + $(call Image/Build/Template/$(fs_squash)/$(1),RT-N13U) +endef + define Image/Build/Profile/FREESTATION5 $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,freestation5,FREESTATION5,ttyS1,115200,phys) endef @@ -604,6 +612,7 @@ define Image/Build/Profile/Default $(call Image/Build/Profile/F5D8235V2,$(1)) $(call Image/Build/Profile/RTN10PLUS,$(1)) $(call Image/Build/Profile/FONERA20N,$(1)) + $(call Image/Build/Profile/RT-N13U,$(1)) $(call Image/Build/Profile/FREESTATION5,$(1)) $(call Image/Build/Profile/HW5503G,$(1)) $(call Image/Build/Profile/MOFI35003GN,$(1)) diff --git a/target/linux/ramips/rt305x/profiles/n13u.mk b/target/linux/ramips/rt305x/profiles/n13u.mk new file mode 100644 index 0000000000..6c81722efe --- /dev/null +++ b/target/linux/ramips/rt305x/profiles/n13u.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/RT-N13U + NAME:=Asus RT-N13U + PACKAGES:=kmod-leds-gpio kmod-rt2800-pci wpad-mini kmod-usb-rt305x-dwc_otg +endef + +define Profile/RT-N13U/Description + Package set for Asus RT-N13U. +endef + +$(eval $(call Profile,RT-N13U)) -- 2.30.2