mpc85xx: Add subtargets Generic and P1020
authorGabor Juhos <juhosg@openwrt.org>
Fri, 26 Apr 2013 16:57:43 +0000 (16:57 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 26 Apr 2013 16:57:43 +0000 (16:57 +0000)
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>
SVN-Revision: 36454

target/linux/mpc85xx/Makefile
target/linux/mpc85xx/generic/config-default [new file with mode: 0644]
target/linux/mpc85xx/generic/target.mk [new file with mode: 0644]
target/linux/mpc85xx/p1020/config-default [new file with mode: 0644]
target/linux/mpc85xx/p1020/target.mk [new file with mode: 0644]

index cb38d0160dbc2bc54c76f93f4cb6e807c04654fc..88d9b9543e4d0d33ad0541972944972c73af3f8a 100644 (file)
@@ -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 (file)
index 0000000..e69de29
diff --git a/target/linux/mpc85xx/generic/target.mk b/target/linux/mpc85xx/generic/target.mk
new file mode 100644 (file)
index 0000000..f8a79a7
--- /dev/null
@@ -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 (file)
index 0000000..40ac38d
--- /dev/null
@@ -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 (file)
index 0000000..c111d7a
--- /dev/null
@@ -0,0 +1,6 @@
+BOARDNAME:=P1020
+
+define Target/Description
+       Build firmware images for Freescale P1020 based boards.
+endef
+