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> SVN-Revision: 36454
This commit is contained in:
parent
36d4fd70bc
commit
c0691e29f1
5 changed files with 15 additions and 0 deletions
|
@ -12,6 +12,7 @@ BOARDNAME:=Freescale MPC85xx
|
||||||
CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=8540
|
CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=8540
|
||||||
FEATURES:=spe_fpu squashfs
|
FEATURES:=spe_fpu squashfs
|
||||||
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
||||||
|
SUBTARGETS=generic p1020
|
||||||
|
|
||||||
LINUX_VERSION:=3.8.9
|
LINUX_VERSION:=3.8.9
|
||||||
|
|
||||||
|
|
0
target/linux/mpc85xx/generic/config-default
Normal file
0
target/linux/mpc85xx/generic/config-default
Normal file
6
target/linux/mpc85xx/generic/target.mk
Normal file
6
target/linux/mpc85xx/generic/target.mk
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
BOARDNAME:=Generic
|
||||||
|
|
||||||
|
define Target/Description
|
||||||
|
Build firmware images for generic MPC85xx based boards.
|
||||||
|
endef
|
||||||
|
|
2
target/linux/mpc85xx/p1020/config-default
Normal file
2
target/linux/mpc85xx/p1020/config-default
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
CONFIG_NR_CPUS=2
|
||||||
|
CONFIG_SMP=y
|
6
target/linux/mpc85xx/p1020/target.mk
Normal file
6
target/linux/mpc85xx/p1020/target.mk
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
BOARDNAME:=P1020
|
||||||
|
|
||||||
|
define Target/Description
|
||||||
|
Build firmware images for Freescale P1020 based boards.
|
||||||
|
endef
|
||||||
|
|
Loading…
Reference in a new issue