فهرست منبع

MIPS: WRPPMC: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 15 سال پیش
والد
کامیت
f70a974dd0
4فایلهای تغییر یافته به همراه9 افزوده شده و 10 حذف شده
  1. 1 0
      arch/mips/Kbuild.platforms
  2. 0 7
      arch/mips/Makefile
  3. 1 3
      arch/mips/wrppmc/Makefile
  4. 7 0
      arch/mips/wrppmc/Platform

+ 1 - 0
arch/mips/Kbuild.platforms

@@ -15,6 +15,7 @@ platforms += sgi-ip27
 platforms += sgi-ip32
 platforms += sni
 platforms += vr41xx
+platforms += wrppmc
 
 # include the platform specific files
 include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))

+ 0 - 7
arch/mips/Makefile

@@ -191,13 +191,6 @@ endif
 #
 include $(srctree)/arch/mips/Kbuild.platforms
 
-#
-# Wind River PPMC Board (4KC + GT64120)
-#
-core-$(CONFIG_WR_PPMC)		+= arch/mips/wrppmc/
-cflags-$(CONFIG_WR_PPMC)		+= -I$(srctree)/arch/mips/include/asm/mach-wrppmc
-load-$(CONFIG_WR_PPMC)		+= 0xffffffff80100000
-
 #
 # LASAT platforms
 #

+ 1 - 3
arch/mips/wrppmc/Makefile

@@ -6,9 +6,7 @@
 # Copyright 2006 Wind River System, Inc.
 # Author: Rongkai.Zhan <rongkai.zhan@windriver.com>
 #
-# Makefile for the Wind River MIPS 4KC PPMC Eval Board
+# Makefile for the Wind River MIPS 4Kc PPMC Eval Board
 #
 
 obj-y += irq.o pci.o reset.o serial.o setup.o time.o
-
-EXTRA_CFLAGS += -Werror

+ 7 - 0
arch/mips/wrppmc/Platform

@@ -0,0 +1,7 @@
+#
+# Wind River PPMC Board (4KC + GT64120)
+#
+platform-$(CONFIG_WR_PPMC)	+= wrppmc/
+cflags-$(CONFIG_WR_PPMC)	+= 					\
+		-I$(srctree)/arch/mips/include/asm/mach-wrppmc
+load-$(CONFIG_WR_PPMC)		+= 0xffffffff80100000