Ver código fonte

MIPS: Alchemy: move boards over to obj-y

Preparatory step for moving Alchemy over to new  MIPS Platform
build system support.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/1318/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Manuel Lauss 15 anos atrás
pai
commit
4767d7ddbb

+ 2 - 2
arch/mips/Makefile

@@ -290,13 +290,13 @@ load-$(CONFIG_MIPS_MIRAGE)	+= 0xffffffff80100000
 #
 # 4G-Systems eval board
 #
-libs-$(CONFIG_MIPS_MTX1)	+= arch/mips/alchemy/mtx-1/
+core-$(CONFIG_MIPS_MTX1)	+= arch/mips/alchemy/mtx-1/
 load-$(CONFIG_MIPS_MTX1)	+= 0xffffffff80100000
 
 #
 # MyCable eval board
 #
-libs-$(CONFIG_MIPS_XXS1500)	+= arch/mips/alchemy/xxs1500/
+core-$(CONFIG_MIPS_XXS1500)	+= arch/mips/alchemy/xxs1500/
 load-$(CONFIG_MIPS_XXS1500)	+= 0xffffffff80100000
 
 # must be last for Alchemy systems for GPIO to work properly

+ 1 - 2
arch/mips/alchemy/mtx-1/Makefile

@@ -6,7 +6,6 @@
 # Makefile for 4G Systems MTX-1 board.
 #
 
-lib-y := init.o board_setup.o
-obj-y := platform.o
+obj-y += init.o board_setup.o platform.o
 
 EXTRA_CFLAGS += -Werror

+ 1 - 1
arch/mips/alchemy/xxs1500/Makefile

@@ -5,6 +5,6 @@
 # Makefile for MyCable XXS1500 board.
 #
 
-lib-y := init.o board_setup.o platform.o
+obj-y += init.o board_setup.o platform.o
 
 EXTRA_CFLAGS += -Werror