diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2012-06-28 06:45:19 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-08-10 23:11:10 +0200 |
commit | aa99f785382c4dc555dc47f9419a4d0fa2fe71eb (patch) | |
tree | de46f5a4e2b42b412a4e11f4b65858530a763ef8 /board/bmw | |
parent | 11a05fbde76765e4b256b86aa3b82ea3184e3c08 (diff) | |
download | u-boot-imx-aa99f785382c4dc555dc47f9419a4d0fa2fe71eb.zip u-boot-imx-aa99f785382c4dc555dc47f9419a4d0fa2fe71eb.tar.gz u-boot-imx-aa99f785382c4dc555dc47f9419a4d0fa2fe71eb.tar.bz2 |
Makefile: allow appending to LIB in sub-makefiles
The top Makefile and the SPL Makefile have lines like those:
ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP34XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
LIBS += $(CPUDIR)/omap-common/libomap-common.o
endif
ifeq ($(SOC),mx5)
LIBS += $(CPUDIR)/imx-common/libimx-common.o
endif
This should be done in the arch/CPU/SoC specific sub-makefiles to
keep the top Makefiles clean. This patch also allows adding of new
arch/CPU/SoC specific libraries in the future without touching
the top Makefiles.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/bmw')
0 files changed, 0 insertions, 0 deletions