summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-26 16:57:43 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-26 16:57:43 +0000
commit83cf30e7f51e65aaafe78892c21c6426543a59a2 (patch)
tree73110c2096ca066be4f1d0ee1cc7625d50a6d9d5
parentb98c8e8bf9ceb27c3bb3c965157397c061542c88 (diff)
mpc85xx: Add subtargets Generic and P1020
Only difference between Generic and P1020 is that P1020 enables SMP with two CPUs in the kernel config. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36454 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/mpc85xx/Makefile1
-rw-r--r--target/linux/mpc85xx/generic/config-default0
-rw-r--r--target/linux/mpc85xx/generic/target.mk6
-rw-r--r--target/linux/mpc85xx/p1020/config-default2
-rw-r--r--target/linux/mpc85xx/p1020/target.mk6
5 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile
index cb38d0160d..88d9b9543e 100644
--- a/target/linux/mpc85xx/Makefile
+++ b/target/linux/mpc85xx/Makefile
@@ -12,6 +12,7 @@ BOARDNAME:=Freescale MPC85xx
CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=8540
FEATURES:=spe_fpu squashfs
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
+SUBTARGETS=generic p1020
LINUX_VERSION:=3.8.9
diff --git a/target/linux/mpc85xx/generic/config-default b/target/linux/mpc85xx/generic/config-default
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/target/linux/mpc85xx/generic/config-default
diff --git a/target/linux/mpc85xx/generic/target.mk b/target/linux/mpc85xx/generic/target.mk
new file mode 100644
index 0000000000..f8a79a7b90
--- /dev/null
+++ b/target/linux/mpc85xx/generic/target.mk
@@ -0,0 +1,6 @@
+BOARDNAME:=Generic
+
+define Target/Description
+ Build firmware images for generic MPC85xx based boards.
+endef
+
diff --git a/target/linux/mpc85xx/p1020/config-default b/target/linux/mpc85xx/p1020/config-default
new file mode 100644
index 0000000000..40ac38d303
--- /dev/null
+++ b/target/linux/mpc85xx/p1020/config-default
@@ -0,0 +1,2 @@
+CONFIG_NR_CPUS=2
+CONFIG_SMP=y
diff --git a/target/linux/mpc85xx/p1020/target.mk b/target/linux/mpc85xx/p1020/target.mk
new file mode 100644
index 0000000000..c111d7a4af
--- /dev/null
+++ b/target/linux/mpc85xx/p1020/target.mk
@@ -0,0 +1,6 @@
+BOARDNAME:=P1020
+
+define Target/Description
+ Build firmware images for Freescale P1020 based boards.
+endef
+