mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-15 20:39:10 +01:00
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>
This commit is contained in:
parent
11a05fbde7
commit
aa99f78538
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -225,7 +225,7 @@ endif
|
|||
|
||||
OBJS := $(addprefix $(obj),$(OBJS))
|
||||
|
||||
LIBS = lib/libgeneric.o
|
||||
LIBS += lib/libgeneric.o
|
||||
LIBS += lib/lzma/liblzma.o
|
||||
LIBS += lib/lzo/liblzo.o
|
||||
LIBS += lib/zlib/libz.o
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue