From 36bb97e97176e57d88db93593720531f51ea75b6 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 5 Aug 2010 13:25:50 +0100 Subject: [PATCH] MIPS: Malta: Migrate to new platform makefile style. Signed-off-by: Ralf Baechle --- arch/mips/Kbuild.platforms | 1 + arch/mips/Makefile | 8 -------- arch/mips/mti-malta/Makefile | 2 -- arch/mips/mti-malta/Platform | 7 +++++++ 4 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 arch/mips/mti-malta/Platform diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index acc3dc8..4d87f3d 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms @@ -7,6 +7,7 @@ platforms += dec platforms += jazz platforms += loongson platforms += mipssim +platforms += mti-malta platforms += pmc-sierra platforms += sgi-ip22 platforms += sgi-ip27 diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 3c89ccb..719aad5 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -199,14 +199,6 @@ cflags-$(CONFIG_WR_PPMC) += -I$(srctree)/arch/mips/include/asm/mach-wrppmc load-$(CONFIG_WR_PPMC) += 0xffffffff80100000 # -# MIPS Malta board -# -core-$(CONFIG_MIPS_MALTA) += arch/mips/mti-malta/ -cflags-$(CONFIG_MIPS_MALTA) += -I$(srctree)/arch/mips/include/asm/mach-malta -load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 -all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin - -# # LASAT platforms # core-$(CONFIG_LASAT) += arch/mips/lasat/ diff --git a/arch/mips/mti-malta/Makefile b/arch/mips/mti-malta/Makefile index 32e8478..6079ef3 100644 --- a/arch/mips/mti-malta/Makefile +++ b/arch/mips/mti-malta/Makefile @@ -15,5 +15,3 @@ obj-$(CONFIG_PCI) += malta-pci.o # FIXME FIXME FIXME obj-$(CONFIG_MIPS_MT_SMTC) += malta-smtc.o - -EXTRA_CFLAGS += -Werror diff --git a/arch/mips/mti-malta/Platform b/arch/mips/mti-malta/Platform new file mode 100644 index 0000000..5b548b5 --- /dev/null +++ b/arch/mips/mti-malta/Platform @@ -0,0 +1,7 @@ +# +# MIPS Malta board +# +platform-$(CONFIG_MIPS_MALTA) += mti-malta/ +cflags-$(CONFIG_MIPS_MALTA) += -I$(srctree)/arch/mips/include/asm/mach-malta +load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 +all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin -- 2.7.4