aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2010-05-30 10:27:10 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 08:25:45 -0400
commit5d25b01cf90c1a27d196a52f48d5364458b80b86 (patch)
tree63d0811ba1a2f5e964d872047d3c2944996be349 /arch/mips/Makefile
parent66f9ba101f54bda63ab1db97f9e9e94763d0651b (diff)
MIPS: Introduce support for Platform definitions
Move platform specific definitions to the platfrom directories. Each platform shall do the following: 1) include an entry in arch/mips/Kbuild.platforms 2) add relevant definitions to arch/mips/<platform>/Platform This commits changes ar7 to the new scheme as an example. Introducing a platform speecific Platfrom file has following advantages: 1) decentralization of platfrom definitions 2) simplification af arch/mips/Makefile 3) force all platfrom to build with -Werror (done in arch/mips/Kbuild) [Ralf: Remove forgotten -Werror from AR7 Makefile] Signed-off-by: Sam Ravnborg <sam@ravnborg.org> To: linux-mips <linux-mips@linux-mips.org> To: Wu Zhangjin <wuzhangjin@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/1302/ Patchwork: http://patchwork.linux-mips.org/patch/1308/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r--arch/mips/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index d39be4708289..b4ec8e9960b3 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -209,13 +209,7 @@ endif
209# 209#
210# Board-dependent options and extra files 210# Board-dependent options and extra files
211# 211#
212 212include $(srctree)/arch/mips/Kbuild.platforms
213#
214# Texas Instruments AR7
215#
216core-$(CONFIG_AR7) += arch/mips/ar7/
217cflags-$(CONFIG_AR7) += -I$(srctree)/arch/mips/include/asm/mach-ar7
218load-$(CONFIG_AR7) += 0xffffffff94100000
219 213
220# 214#
221# Acer PICA 61, Mips Magnum 4000 and Olivetti M700. 215# Acer PICA 61, Mips Magnum 4000 and Olivetti M700.