MIPS: Lasat: Migrate to new platform makefile style.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:53 +0000 (13:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:53 +0000 (13:25 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kbuild.platforms
arch/mips/Makefile
arch/mips/lasat/Makefile
arch/mips/lasat/Platform [new file with mode: 0644]

index 31bba5b095de0107a25a028d2ecefbb902190ce6..d99704cac5617db9ff3c41a1090b6f371854b4a7 100644 (file)
@@ -5,6 +5,7 @@ platforms += ar7
 platforms += cobalt
 platforms += dec
 platforms += jazz
+platforms += lasat
 platforms += loongson
 platforms += mipssim
 platforms += mti-malta
index c983a8777b06206f90b8f836650c9220440cf3fc..24ba9394fa68094fbb3e466f47aa4db8beee7b3d 100644 (file)
@@ -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
index 33791609fe99928aad677d0c5a312b1111e3d161..9cc4e4db8b9932e14325803a793576dd90b50400 100644 (file)
@@ -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 (file)
index 0000000..7602528
--- /dev/null
@@ -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