From: Felix Fietkau Date: Wed, 1 Jun 2011 02:23:30 +0000 (+0000) Subject: ar71xx: add profile and image building code for wzr-hp-ag300h X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=37ebe0defb51bb2313b46c199ad472dc6c6aca14 ar71xx: add profile and image building code for wzr-hp-ag300h SVN-Revision: 27076 --- diff --git a/target/linux/ar71xx/generic/profiles/buffalo.mk b/target/linux/ar71xx/generic/profiles/buffalo.mk index 59ddd86cb3..5d9bab5406 100644 --- a/target/linux/ar71xx/generic/profiles/buffalo.mk +++ b/target/linux/ar71xx/generic/profiles/buffalo.mk @@ -15,3 +15,14 @@ define Profile/WZRHPG30XNH/Description endef $(eval $(call Profile,WZRHPG30XNH)) + +define Profile/WZRHPAG300H + NAME:=Buffalo WZR-HP-AG300H + PACKAGES:=kmod-ath9k wpad-mini kmod-usb-ohci kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev +endef + +define Profile/WZRHPG30XNH/Description + Package set optimized for the Buffalo WZR-HP-AG300H +endef + +$(eval $(call Profile,WZRHPAG300H)) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index f13be29dcc..6c53795b42 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -780,6 +780,11 @@ define Image/Build/Profile/WZRHPG30XNH $(call Image/Build/Template/$(fs_128k)/$(1),WZRHPG30XNH,wzr-hp-g301nh,$(wzrhpg301nh_cmdline),WZR-HP-G301NH) endef +wzrhpag300h_cmdline=board=WZR-HP-AG300H console=ttyS0,115200 +define Image/Build/Profile/WZRHPAG300H + $(call Image/Build/Template/$(fs_128k)/$(1),WZRHPG30XNH,wzr-hp-ag300h,$(wzrhpag300h_cmdline),WZR-HP-AG300H) +endef + zcn1523h28_cmdline=board=ZCN-1523H-2 console=ttyS0,115200 define Image/Build/Profile/ZCN1523H28 $(call Image/Build/Template/$(fs_64k)/$(1),Zcomax,zcn-1523h-2-8,$(zcn1523h28_cmdline)) @@ -833,6 +838,7 @@ define Image/Build/Profile/Default $(call Image/Build/Profile/WRT400N,$(1)) $(call Image/Build/Profile/WRT160NL,$(1)) $(call Image/Build/Profile/WZRHPG30XNH,$(1)) + $(call Image/Build/Profile/WZRHPAG300H,$(1)) $(call Image/Build/Profile/ZCN1523H28,$(1)) $(call Image/Build/Profile/ZCN1523H516,$(1)) endef