From bd152b095ef67898ed794f100e4ecc5298a61ad8 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 5 Aug 2010 13:25:53 +0100 Subject: MIPS: Lasat: Migrate to new platform makefile style. Signed-off-by: Ralf Baechle --- arch/mips/Kbuild.platforms | 1 + arch/mips/Makefile | 7 ------- arch/mips/lasat/Makefile | 2 -- arch/mips/lasat/Platform | 7 +++++++ 4 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 arch/mips/lasat/Platform (limited to 'arch/mips') diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 31bba5b..d99704c 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms @@ -5,6 +5,7 @@ platforms += ar7 platforms += cobalt platforms += dec platforms += jazz +platforms += lasat platforms += loongson platforms += mipssim platforms += mti-malta diff --git a/arch/mips/Makefile b/arch/mips/Makefile index c983a87..24ba939 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -191,13 +191,6 @@ endif # include $(srctree)/arch/mips/Kbuild.platforms -# -# LASAT platforms -# -core-$(CONFIG_LASAT) += arch/mips/lasat/ -cflags-$(CONFIG_LASAT) += -I$(srctree)/arch/mips/include/asm/mach-lasat -load-$(CONFIG_LASAT) += 0xffffffff80000000 - # NXP STB225 core-$(CONFIG_SOC_PNX833X) += arch/mips/nxp/pnx833x/common/ cflags-$(CONFIG_SOC_PNX833X) += -Iarch/mips/include/asm/mach-pnx833x diff --git a/arch/mips/lasat/Makefile b/arch/mips/lasat/Makefile index 3379160..9cc4e4d 100644 --- a/arch/mips/lasat/Makefile +++ b/arch/mips/lasat/Makefile @@ -12,5 +12,3 @@ obj-$(CONFIG_PICVUE_PROC) += picvue_proc.o clean: make -C image clean - -EXTRA_CFLAGS += -Werror diff --git a/arch/mips/lasat/Platform b/arch/mips/lasat/Platform new file mode 100644 index 0000000..7602528 --- /dev/null +++ b/arch/mips/lasat/Platform @@ -0,0 +1,7 @@ +# +# LASAT platforms +# +platform-$(CONFIG_LASAT) += lasat/ +cflags-$(CONFIG_LASAT) += \ + -I$(srctree)/arch/mips/include/asm/mach-lasat +load-$(CONFIG_LASAT) += 0xffffffff80000000 -- cgit v1.1