MIPS: Alchemy: move boards over to obj-y
PATCH 1/2 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 <[email protected]>
---
The other boards no longer use libs, without any ill effects. In the past the lib-y code would sometimes not be picked up and cause link failures, so this also improves build reliability.
arch/mips/Makefile | 4 ++-- arch/mips/alchemy/mtx-1/Makefile | 3 +-- arch/mips/alchemy/xxs1500/Makefile | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-)
arch/mips/Makefile +2 -2
@@ -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
arch/mips/alchemy/mtx-1/Makefile +1 -2
@@ -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
arch/mips/alchemy/xxs1500/Makefile +1 -1
@@ -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
Signature · 1 line
1.7.1
PATCH v3 2/2 MIPS: Move Alchemy Makefile parts to their own Platform file.
From: Manuel Lauss <[email protected]>
Cc Sam Ravnborg <[email protected]>
Signed-off-by Manuel Lauss <[email protected]>
---
On top of mips-queue, build tested.
arch/mips/Kbuild.platforms | 1 + arch/mips/Makefile | 105 -------------------------------- arch/mips/alchemy/Platform | 109 ++++++++++++++++++++++++++++++++++ arch/mips/alchemy/common/Makefile | 2 - arch/mips/alchemy/devboards/Makefile | 2 - arch/mips/alchemy/mtx-1/Makefile | 2 - arch/mips/alchemy/xxs1500/Makefile | 2 - 7 files changed, 110 insertions(+), 113 deletions(-) create mode 100644 arch/mips/alchemy/Platform
arch/mips/Kbuild.platforms +1 -0
@@ -1,5 +1,6 @@ # All platforms listed in alphabetic order +platforms += alchemy platforms += ar7 platforms += loongson
arch/mips/Makefile +0 -105
111 lines not on this page · raw message
arch/mips/alchemy/Platform new file +109 -0
109 lines not on this page · raw message
arch/mips/alchemy/common/Makefile +0 -2
@@ -18,5 +18,3 @@ ifeq ($(CONFIG_ALCHEMY_GPIO_INDIRECT),) endif obj-$(CONFIG_PCI) += pci.o - -EXTRA_CFLAGS += -Werror
arch/mips/alchemy/devboards/Makefile +0 -2
@@ -16,5 +16,3 @@ obj-$(CONFIG_MIPS_DB1500) += db1x00/ obj-$(CONFIG_MIPS_DB1550) += db1x00/ obj-$(CONFIG_MIPS_BOSPORUS) += db1x00/ obj-$(CONFIG_MIPS_MIRAGE) += db1x00/ - -EXTRA_CFLAGS += -Werror
arch/mips/alchemy/mtx-1/Makefile +0 -2
@@ -7,5 +7,3 @@ # obj-y += init.o board_setup.o platform.o - -EXTRA_CFLAGS += -Werror
arch/mips/alchemy/xxs1500/Makefile +0 -2
@@ -6,5 +6,3 @@ # obj-y += init.o board_setup.o platform.o - -EXTRA_CFLAGS += -Werror
Signature · 1 line
1.7.1
Re: [PATCH -queue v3 2/2] MIPS: Move Alchemy Makefile parts to their own Platform file.
Thanks Manuel, queued for 2.6.36.
Ral
Thanks Manuel, queued for 2.6.36.
Ralf