diff --git a/arch/mips/Makefile b/arch/mips/Makefile index ac50de18b6a42648735d7ed7a7f6148e246553f8..ae1bbd5b8d64c81b0f2ebbf0ed6e9d84334a3e72 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 f81c5801f455e9b8f12e1bd3d12f0227508751a4..0c4df9f22098a9a4832411e6159e04a2e2e3e249 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