浏览代码

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 年之前
父节点
当前提交
4767d7ddbb
共有 3 个文件被更改,包括 4 次插入5 次删除
  1. 2 2
      arch/mips/Makefile
  2. 1 2
      arch/mips/alchemy/mtx-1/Makefile
  3. 1 1
      arch/mips/alchemy/xxs1500/Makefile

+ 2 - 2
arch/mips/Makefile

@@ -290,13 +290,13 @@ load-$(CONFIG_MIPS_MIRAGE)	+= 0xffffffff80100000
 #
 #
 # 4G-Systems eval board
 # 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
 load-$(CONFIG_MIPS_MTX1)	+= 0xffffffff80100000
 
 
 #
 #
 # MyCable eval board
 # MyCable eval board
 #
 #
-libs-$(CONFIG_MIPS_XXS1500)	+= arch/mips/alchemy/xxs1500/
+core-$(CONFIG_MIPS_XXS1500)	+= arch/mips/alchemy/xxs1500/
 load-$(CONFIG_MIPS_XXS1500)	+= 0xffffffff80100000
 load-$(CONFIG_MIPS_XXS1500)	+= 0xffffffff80100000
 
 
 # must be last for Alchemy systems for GPIO to work properly
 # 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.
 # 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
 EXTRA_CFLAGS += -Werror

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

@@ -5,6 +5,6 @@
 # Makefile for MyCable XXS1500 board.
 # 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
 EXTRA_CFLAGS += -Werror