summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/mips/Makefile4
-rw-r--r--arch/mips/pnx833x/stb22x/Makefile2
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