diff options
author | Renaud Barbier <renaud.barbier@ge.com> | 2012-05-17 17:49:50 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-05-17 20:33:39 +0200 |
commit | 99dc5d2c9aaf5c9b3825a5fdc5d1b74fd55298cd (patch) | |
tree | bff1159f2ccf6c931dd78a318844c31438126dd8 /arch | |
parent | 1b1c049175c468164e8edca49c341927f54161fa (diff) | |
download | barebox-99dc5d2c9aaf5c9b3825a5fdc5d1b74fd55298cd.tar.gz barebox-99dc5d2c9aaf5c9b3825a5fdc5d1b74fd55298cd.tar.xz |
85xx core support build files
Kconfig and Makefile allow to include the 85xx cpu support in the
compilation process.
Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ppc/Kconfig | 3 | ||||
-rw-r--r-- | arch/ppc/Makefile | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig index 164598f5de..d12406522e 100644 --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig @@ -12,9 +12,12 @@ choice config ARCH_MPC5XXX bool "Freescale MPC5xxx" +config ARCH_MPC85XX + bool "Freescale MPC85xx" endchoice source arch/ppc/mach-mpc5xxx/Kconfig +source arch/ppc/mach-mpc85xx/Kconfig source common/Kconfig source commands/Kconfig source net/Kconfig diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile index 2d9e47fe56..67eb667997 100644 --- a/arch/ppc/Makefile +++ b/arch/ppc/Makefile @@ -7,9 +7,16 @@ ifdef CONFIG_RELOCATABLE CPPFLAGS += -fPIC -mrelocatable endif +ifdef CONFIG_MPC85xx +CPPFLAGS += -Wa,-me500x2 -msoft-float -mno-string +endif board-$(CONFIG_MACH_PHYCORE_MPC5200B_TINY) := pcm030 + machine-$(CONFIG_ARCH_MPC5200) := mpc5xxx +machine-$(CONFIG_ARCH_MPC85XX) := mpc85xx + +cpu-$(CONFIG_ARCH_MPC85XX) := 85xx TEXT_BASE = $(CONFIG_TEXT_BASE) |