diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 7973bb0854960250e6c0b655864497a47c3cb708..0ba692c1017a6f2f659916d65e552e12680ec6dc 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms @@ -3,6 +3,7 @@ platforms += alchemy platforms += ar7 platforms += cobalt +platforms += dec platforms += jazz platforms += loongson platforms += mipssim diff --git a/arch/mips/Makefile b/arch/mips/Makefile index f714c85135158fc617775cb4910171f704da5cde..efaae8578ee7d82fe972abd4f38d7eca383ad345 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -191,14 +191,6 @@ endif # include $(srctree)/arch/mips/Kbuild.platforms -# -# DECstation family -# -core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/ -cflags-$(CONFIG_MACH_DECSTATION)+= -I$(srctree)/arch/mips/include/asm/mach-dec -libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/ -load-$(CONFIG_MACH_DECSTATION) += 0xffffffff80040000 - # # Wind River PPMC Board (4KC + GT64120) # diff --git a/arch/mips/dec/Makefile b/arch/mips/dec/Makefile index c530208ee15494ce22c09ca247ed1ba32b70ce1d..9eb2f9c036aad596584427a5512255aab1769f8b 100644 --- a/arch/mips/dec/Makefile +++ b/arch/mips/dec/Makefile @@ -8,5 +8,3 @@ obj-y := ecc-berr.o int-handler.o ioasic-irq.o kn01-berr.o \ obj-$(CONFIG_PROM_CONSOLE) += promcon.o obj-$(CONFIG_TC) += tc.o obj-$(CONFIG_CPU_HAS_WB) += wbflush.o - -EXTRA_CFLAGS += -Werror diff --git a/arch/mips/dec/Platform b/arch/mips/dec/Platform new file mode 100644 index 0000000000000000000000000000000000000000..3adbcbd95db1efd4dbb18fba91bc978153079d7f --- /dev/null +++ b/arch/mips/dec/Platform @@ -0,0 +1,8 @@ +# +# DECstation family +# +platform-$(CONFIG_MACH_DECSTATION) = dec/ +cflags-$(CONFIG_MACH_DECSTATION) += \ + -I$(srctree)/arch/mips/include/asm/mach-dec +libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/ +load-$(CONFIG_MACH_DECSTATION) += 0xffffffff80040000