Commit 323bfa8f436dc3bc57187c9b1488bc3146ff1522

Authored by Stefan Roese
1 parent 37837828d8
Exists in master and in 55 other branches 8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, imx_v2015.04_4.1.15_1.0.0_ga, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-emmc-imx_v2014.04_3.10.53_1.1.0_ga, smarc-emmc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx-l5.0.0_1.0.0-ga, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2017.03_4.9.11_1.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx_v2015.04_4.1.15_1.0.0_ga, smarc-imx_v2017.03_4.9.11_1.0.0_ga, smarc-imx_v2017.03_4.9.88_2.0.0_ga, smarc-imx_v2017.03_o8.1.0_1.3.0_8m, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_2.0.0_ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0, smarc_8mq_lf_v2020.04, ti-u-boot-2015.07, u-boot-2013.01.y, v2013.10, v2013.10-smarct33, v2013.10-smartmen, v2014.01, v2014.04, v2014.04-smarct33, v2014.04-smarct33-emmc, v2014.04-smartmen, v2014.07, v2014.07-smarct33, v2014.07-smartmen, v2015.07-smarct33, v2015.07-smarct33-emmc, v2015.07-smarct4x, v2016.05-dlt, v2016.05-smarct3x, v2016.05-smarct3x-emmc, v2016.05-smarct4x, v2017.01-smarct3x, v2017.01-smarct3x-emmc, v2017.01-smarct4x

Remove BOARDLIBS usage completely

Signed-off-by: Stefan Roese <sr@denx.de>

Showing 9 changed files with 5 additions and 22 deletions Side-by-side Diff

... ... @@ -197,6 +197,9 @@
197 197 ifdef SOC
198 198 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
199 199 endif
  200 +ifeq ($(CPU),ixp)
  201 +LIBS += cpu/ixp/npe/libnpe.a
  202 +endif
200 203 LIBS += lib_$(ARCH)/lib$(ARCH).a
201 204 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
202 205 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
... ... @@ -219,7 +222,6 @@
219 222 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
220 223 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
221 224 LIBS += common/libcommon.a
222   -LIBS += $(BOARDLIBS)
223 225  
224 226 LIBS := $(addprefix $(obj),$(LIBS))
225 227 .PHONY : $(LIBS)
board/ixdp425/config.mk
1 1 TEXT_BASE = 0x00f80000
2   -
3   -# include NPE ethernet driver
4   -BOARDLIBS = $(obj)cpu/ixp/npe/libnpe.a
board/mpc8360emds/config.mk
... ... @@ -26,9 +26,4 @@
26 26 #
27 27  
28 28 TEXT_BASE = 0xFE000000
29   -
30   -#
31   -# Additional board-specific libraries
32   -#
33   -BOARDLIBS = libfdt/libfdt.a
board/nc650/config.mk
... ... @@ -27,5 +27,4 @@
27 27 #
28 28  
29 29 TEXT_BASE = 0x40700000
30   -BOARDLIBS = $(obj)drivers/nand/libnand.a
board/prodrive/pdnb3/config.mk
1 1 TEXT_BASE = 0x01f00000
2   -
3   -# include NPE ethernet driver
4   -BOARDLIBS = $(obj)cpu/ixp/npe/libnpe.a
cpu/ixp/npe/Makefile
... ... @@ -87,7 +87,7 @@
87 87  
88 88 all: $(LIB)
89 89  
90   -$(LIB): $(obj).depend $(OBJS)
  90 +$(LIB): $(OBJS)
91 91 $(AR) $(ARFLAGS) $@ $(OBJS)
92 92  
93 93 #########################################################################
... ... @@ -192,12 +192,7 @@
192 192 to only board-specific files and - unfortunately - to the DoC code
193 193 (see below). A new configuration variable has been introduced:
194 194 CFG_NAND_LEGACY, which has to be defined in the board config file if
195   -that board uses legacy code. If CFG_NAND_LEGACY is defined, the board
196   -specific config.mk file should also have "BOARDLIBS =
197   -drivers/nand_legacy/libnand_legacy.a". For boards using the new NAND
198   -approach (PPChameleon and netstar at the moment) no variable is
199   -necessary, but the config.mk should have "BOARDLIBS =
200   -drivers/nand/libnand.a".
  195 +that board uses legacy code.
201 196  
202 197 The necessary changes have been made to all affected boards, and no
203 198 build breakage has been introduced, except for NETTA and NETTA_ISDN
include/configs/delta.h
... ... @@ -188,7 +188,6 @@
188 188 /*
189 189 * NAND Flash
190 190 */
191   -/* Use the new NAND code. (BOARDLIBS = drivers/nand/libnand.a required) */
192 191 #undef CFG_NAND_LEGACY
193 192  
194 193 #define CFG_NAND0_BASE 0x0 /* 0x43100040 */ /* 0x10000000 */
include/configs/zylonite.h
... ... @@ -174,7 +174,6 @@
174 174 /*
175 175 * NAND Flash
176 176 */
177   -/* Use the new NAND code. (BOARDLIBS = drivers/nand/libnand.a required) */
178 177 #define CONFIG_NEW_NAND_CODE
179 178 #define CFG_NAND0_BASE 0x0
180 179 #undef CFG_NAND1_BASE