From 63a8424702fa192c0977e0180362e19260f19677 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 15 Feb 2017 16:11:12 +0000 Subject: [PATCH] x86: Add Geos profile for Geode subtarget This makes the Geode images actually useful again. The Geos profile should include the relevant hardware for that board, and the Default profile adds the via-rhine adapter which seems to have been present in the net5501 and alix targets killed in commit 9e0759ea265 ("x86: merge all geode based subtargets into one"). Signed-off-by: David Woodhouse --- .../linux/x86/geode/profiles/000-Generic.mk | 20 +++++++++++++++++++ target/linux/x86/geode/profiles/100-Geos.mk | 19 ++++++++++++++++++ target/linux/x86/geode/target.mk | 5 +++++ 3 files changed, 44 insertions(+) create mode 100644 target/linux/x86/geode/profiles/000-Generic.mk create mode 100644 target/linux/x86/geode/profiles/100-Geos.mk diff --git a/target/linux/x86/geode/profiles/000-Generic.mk b/target/linux/x86/geode/profiles/000-Generic.mk new file mode 100644 index 0000000000..58dc3c641c --- /dev/null +++ b/target/linux/x86/geode/profiles/000-Generic.mk @@ -0,0 +1,20 @@ +# +# Copyright (C) 2006-2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Generic + NAME:=Generic + PACKAGES:= \ + soloscli linux-atm br2684ctl ppp-mod-pppoa pppdump pppstats \ + hwclock flashrom tc kmod-pppoa kmod-8139cp kmod-mppe \ + kmod-usb-ohci-pci kmod-hwmon-lm90 \ + kmod-via-rhine +endef + +define Profile/Generic/Description + Generic Profile for all Geode boards. +endef +$(eval $(call Profile,Generic)) diff --git a/target/linux/x86/geode/profiles/100-Geos.mk b/target/linux/x86/geode/profiles/100-Geos.mk new file mode 100644 index 0000000000..94e501edf4 --- /dev/null +++ b/target/linux/x86/geode/profiles/100-Geos.mk @@ -0,0 +1,19 @@ +# +# Copyright (C) 2006-2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Geos + NAME:=Geos + PACKAGES:= \ + soloscli linux-atm br2684ctl ppp-mod-pppoa pppdump pppstats \ + hwclock flashrom tc kmod-pppoa kmod-8139cp kmod-mppe \ + kmod-usb-ohci-pci kmod-hwmon-lm90 +endef + +define Profile/Geos/Description + Traverse Technologies Geos ADSL router +endef +$(eval $(call Profile,Geos)) diff --git a/target/linux/x86/geode/target.mk b/target/linux/x86/geode/target.mk index 4faa49f630..9c608e6f9d 100644 --- a/target/linux/x86/geode/target.mk +++ b/target/linux/x86/geode/target.mk @@ -6,6 +6,11 @@ DEFAULT_PACKAGES += \ kmod-button-hotplug \ kmod-ledtrig-heartbeat kmod-ledtrig-gpio \ kmod-ledtrig-netdev hwclock wpad-mini +# Geos +DEFAULT_PACKAGES += \ + soloscli linux-atm br2684ctl ppp-mod-pppoa pppdump pppstats \ + hwclock flashrom tc kmod-pppoa kmod-8139cp kmod-mppe \ + kmod-usb-ohci-pci kmod-hwmon-lm90 define Target/Description Build firmware images for AMD Geode GX/LX based systems (net5501, alix, geos) -- 2.25.1