1. splitt subtargets to generic, pcengines and soekris
2. move pcengines profiles to new subtarget pcengines
3. move old soekris profile to new subtarget soekris and add two new
modells (net 4521 and net 4526)
diff -urN trunk/target/linux/x86/generic/profiles/Alix.mk trunk_working/target/linux/x86/generic/profiles/Alix.mk
--- trunk/target/linux/x86/generic/profiles/Alix.mk	2008-08-02 03:31:27.000000000 +0200
+++ trunk_working/target/linux/x86/generic/profiles/Alix.mk	1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Alix
-  NAME:=PCEngines Alix
-  PACKAGES:=kmod-via-rhine kmod-leds-alix
-endef
-
-define Profile/Alix/Description
-        Package set compatible with the PCEngines Alix. Contains VIA Rhine III VT6105M and LED support
-endef
-$(eval $(call Profile,Alix))
diff -urN trunk/target/linux/x86/generic/profiles/Pcengines.mk trunk_working/target/linux/x86/generic/profiles/Pcengines.mk
--- trunk/target/linux/x86/generic/profiles/Pcengines.mk	2008-08-02 03:31:27.000000000 +0200
+++ trunk_working/target/linux/x86/generic/profiles/Pcengines.mk	1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Pcengines
-  NAME:=PCEngines WRAP
-  PACKAGES:=kmod-i2c-scx200 kmod-natsemi kmod-leds-wrap kmod-scx200-gpio kmod-scx200-wdt kmod-hwmon-pc87360
-endef
-
-define Profile/Pcengines/Description
-	Package set compatible with the PCEngines WRAP. Contains I2C/LEDS/GPIO/Sensors support
-endef
-$(eval $(call Profile,Pcengines))
diff -urN trunk/target/linux/x86/generic/profiles/Soekris.mk trunk_working/target/linux/x86/generic/profiles/Soekris.mk
--- trunk/target/linux/x86/generic/profiles/Soekris.mk	2008-08-02 03:31:27.000000000 +0200
+++ trunk_working/target/linux/x86/generic/profiles/Soekris.mk	1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Soekris
-  NAME:=Soekris Net4801
-  PACKAGES:=kmod-i2c-scx200 kmod-natsemi kmod-leds-net48xx kmod-scx200-gpio kmod-scx200-wdt kmod-hwmon-pc87360
-endef
-
-define Profile/Soekris/Description
-        Package set compatible with the Soekris Net4801. Contains I2C/LEDS/GPIO/Sensors support
-endef
-$(eval $(call Profile,Soekris))
diff -urN trunk/target/linux/x86/generic/target.mk trunk_working/target/linux/x86/generic/target.mk
--- trunk/target/linux/x86/generic/target.mk	2008-08-02 03:31:27.000000000 +0200
+++ trunk_working/target/linux/x86/generic/target.mk	2008-08-02 03:28:30.000000000 +0200
@@ -2,6 +2,6 @@
 
 define Target/Description
 	Build firmware images for x86 based boards 
-	(e.g : Soekris, ...)
+	(e.g : MediaCenter, ...)
 endef
 
diff -urN trunk/target/linux/x86/Makefile trunk_working/target/linux/x86/Makefile
--- trunk/target/linux/x86/Makefile	2008-08-02 03:31:27.000000000 +0200
+++ trunk_working/target/linux/x86/Makefile	2008-08-02 03:28:30.000000000 +0200
@@ -10,7 +10,7 @@
 BOARD:=x86
 BOARDNAME:=x86
 FEATURES:=squashfs jffs2 ext2 vdi
-SUBTARGETS=generic
+SUBTARGETS=generic pcengines soekris
 
 LINUX_VERSION:=2.6.25.12
 
diff -urN trunk/target/linux/x86/pcengines/profiles/Alix.mk trunk_working/target/linux/x86/pcengines/profiles/Alix.mk
--- trunk/target/linux/x86/pcengines/profiles/Alix.mk	1970-01-01 01:00:00.000000000 +0100
+++ trunk_working/target/linux/x86/pcengines/profiles/Alix.mk	2008-08-02 03:28:30.000000000 +0200
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Alix
+  NAME:=PCEngines Alix
+  PACKAGES:=kmod-via-rhine kmod-leds-alix
+endef
+
+define Profile/Alix/Description
+        Package set compatible with the PCEngines Alix. Contains VIA Rhine III VT6105M and LED support
+endef
+$(eval $(call Profile,Alix))
diff -urN trunk/target/linux/x86/pcengines/profiles/Pcengines.mk trunk_working/target/linux/x86/pcengines/profiles/Pcengines.mk
--- trunk/target/linux/x86/pcengines/profiles/Pcengines.mk	1970-01-01 01:00:00.000000000 +0100
+++ trunk_working/target/linux/x86/pcengines/profiles/Pcengines.mk	2008-08-02 03:28:30.000000000 +0200
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Pcengines
+  NAME:=PCEngines WRAP
+  PACKAGES:=kmod-i2c-scx200 kmod-natsemi kmod-leds-wrap kmod-scx200-gpio kmod-scx200-wdt kmod-hwmon-pc87360
+endef
+
+define Profile/Pcengines/Description
+	Package set compatible with the PCEngines WRAP. Contains I2C/LEDS/GPIO/Sensors support
+endef
+$(eval $(call Profile,Pcengines))
diff -urN trunk/target/linux/x86/pcengines/target.mk trunk_working/target/linux/x86/pcengines/target.mk
--- trunk/target/linux/x86/pcengines/target.mk	1970-01-01 01:00:00.000000000 +0100
+++ trunk_working/target/linux/x86/pcengines/target.mk	2008-08-02 03:28:30.000000000 +0200
@@ -0,0 +1,7 @@
+BOARDNAME:=PcEngines
+
+define Target/Description
+	Build firmware images for PC Engines based boards 
+	(e.g : WRAP Alix, ...)
+endef
+
diff -urN trunk/target/linux/x86/soekris/profiles/Soekris4521.mk trunk_working/target/linux/x86/soekris/profiles/Soekris4521.mk
--- trunk/target/linux/x86/soekris/profiles/Soekris4521.mk	1970-01-01 01:00:00.000000000 +0100
+++ trunk_working/target/linux/x86/soekris/profiles/Soekris4521.mk	2008-08-02 03:28:30.000000000 +0200
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Soekris4521
+  NAME:=Soekris Net4521
+  PACKAGES:=kmod-i2c-scx200 kmod-natsemi kmod-leds-net48xx kmod-sc520-wdt kmod-scx200-gpio kmod-hwmon-pc87360 kmod-pcmcia-core
+endef
+
+define Profile/Soekris/Description
+        Package set compatible with the Soekris Net4521. Contains I2C/LEDS/GPIO/Sensors support
+endef
+$(eval $(call Profile,Soekris4521))
diff -urN trunk/target/linux/x86/soekris/profiles/Soekris4526.mk trunk_working/target/linux/x86/soekris/profiles/Soekris4526.mk
--- trunk/target/linux/x86/soekris/profiles/Soekris4526.mk	1970-01-01 01:00:00.000000000 +0100
+++ trunk_working/target/linux/x86/soekris/profiles/Soekris4526.mk	2008-08-02 03:28:30.000000000 +0200
@@ -0,0 +1,16 @@
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Soekris4526
+  NAME:=Soekris Net4526
+  PACKAGES:=kmod-i2c-scx200 kmod-natsemi kmod-leds-net48xx kmod-sc520-wdt kmod-scx200-gpio kmod-hwmon-pc87360
+endef
+
+define Profile/Soekris/Description
+        Package set compatible with the Soekris Net4526. Contains I2C/LEDS/GPIO/Sensors support
+endef
+$(eval $(call Profile,Soekris4526))
+
diff -urN trunk/target/linux/x86/soekris/profiles/Soekris48xx.mk trunk_working/target/linux/x86/soekris/profiles/Soekris48xx.mk
--- trunk/target/linux/x86/soekris/profiles/Soekris48xx.mk	1970-01-01 01:00:00.000000000 +0100
+++ trunk_working/target/linux/x86/soekris/profiles/Soekris48xx.mk	2008-08-02 03:28:30.000000000 +0200
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Soekris48xx
+  NAME:=Soekris Net4801
+  PACKAGES:=kmod-i2c-scx200 kmod-natsemi kmod-leds-net48xx kmod-scx200-gpio kmod-scx200-wdt kmod-hwmon-pc87360
+endef
+
+define Profile/Soekris/Description
+        Package set compatible with the Soekris Net4801. Contains I2C/LEDS/GPIO/Sensors support
+endef
+$(eval $(call Profile,Soekris48xx))
diff -urN trunk/target/linux/x86/soekris/target.mk trunk_working/target/linux/x86/soekris/target.mk
--- trunk/target/linux/x86/soekris/target.mk	1970-01-01 01:00:00.000000000 +0100
+++ trunk_working/target/linux/x86/soekris/target.mk	2008-08-02 03:28:30.000000000 +0200
@@ -0,0 +1,6 @@
+BOARDNAME:=Soekris
+
+define Target/Description
+        Build firmware images for Soekris based boards
+        (e.g : net-45xx net-48xx, ...)
+endef
diff -urN trunk/package/kernel/modules/other.mk trunk_working/package/kernel/modules/other.mk
--- trunk/package/kernel/modules/other.mk	2008-08-02 03:31:43.000000000 +0200
+++ trunk_working/package/kernel/modules/other.mk	2008-08-02 03:28:30.000000000 +0200
@@ -480,6 +480,22 @@
 $(eval $(call KernelPackage,scx200-wdt))
 
 
+define KernelPackage/sc520-wdt
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Natsemi SC520 Watchdog support
+  DEPENDS:[EMAIL PROTECTED]
+  KCONFIG:=CONFIG_SC520_WDT
+  FILES:=$(LINUX_DIR)/drivers/char/watchdog/sc520_wdt.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
+endef
+
+define KernelPackage/sc520-wdt/description
+ Kernel module for SC520 Watchdog
+endef
+
+$(eval $(call KernelPackage,sc520-wdt))
+
+
 define KernelPackage/input-core
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Input device core
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to