From 98e9aee33797c6319425aa729d828e9fe304774c Mon Sep 17 00:00:00 2001
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 5 Aug 2010 13:25:56 +0100
Subject: [PATCH] MIPS: STB22x: Move boards over to obj-y

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
 arch/mips/Makefile                | 4 ++--
 arch/mips/pnx833x/stb22x/Makefile | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index ac50de18b6a4..ae1bbd5b8d64 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -194,9 +194,9 @@ include $(srctree)/arch/mips/Kbuild.platforms
 # NXP STB225
 core-$(CONFIG_SOC_PNX833X)		+= arch/mips/pnx833x/common/
 cflags-$(CONFIG_SOC_PNX833X)	+= -Iarch/mips/include/asm/mach-pnx833x
-libs-$(CONFIG_NXP_STB220)		+= arch/mips/pnx833x/stb22x/
+core-$(CONFIG_NXP_STB220)		+= arch/mips/pnx833x/stb22x/
 load-$(CONFIG_NXP_STB220)		+= 0xffffffff80001000
-libs-$(CONFIG_NXP_STB225)		+= arch/mips/pnx833x/stb22x/
+core-$(CONFIG_NXP_STB225)		+= arch/mips/pnx833x/stb22x/
 load-$(CONFIG_NXP_STB225)		+= 0xffffffff80001000
 
 #
diff --git a/arch/mips/pnx833x/stb22x/Makefile b/arch/mips/pnx833x/stb22x/Makefile
index f81c5801f455..0c4df9f22098 100644
--- a/arch/mips/pnx833x/stb22x/Makefile
+++ b/arch/mips/pnx833x/stb22x/Makefile
@@ -1,3 +1,3 @@
-lib-y := board.o
+obj-y := board.o
 
 EXTRA_CFLAGS += -Werror
-- 
GitLab