diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2010-05-30 16:27:10 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 14:25:45 +0200 |
commit | 5d25b01cf90c1a27d196a52f48d5364458b80b86 (patch) | |
tree | 63d0811ba1a2f5e964d872047d3c2944996be349 /arch/mips/ar7/Makefile | |
parent | MIPS: Add -Werror to arch/mips/Kbuild (diff) | |
download | linux-5d25b01cf90c1a27d196a52f48d5364458b80b86.tar.xz linux-5d25b01cf90c1a27d196a52f48d5364458b80b86.zip |
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/ar7/Makefile')
-rw-r--r-- | arch/mips/ar7/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/ar7/Makefile b/arch/mips/ar7/Makefile index 26bc5da18997..7435e44b3964 100644 --- a/arch/mips/ar7/Makefile +++ b/arch/mips/ar7/Makefile @@ -8,4 +8,3 @@ obj-y := \ platform.o \ gpio.o \ clock.o -EXTRA_CFLAGS += -Werror |