Commit aa99f785 authored by Daniel Schwierzeck's avatar Daniel Schwierzeck Committed by Wolfgang Denk
Browse files

Makefile: allow appending to LIB in sub-makefiles

The top Makefile and the SPL Makefile have lines like those:

LIBS += $(CPUDIR)/omap-common/libomap-common.o

ifeq ($(SOC),mx5)
LIBS += $(CPUDIR)/imx-common/libimx-common.o

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: default avatarDaniel Schwierzeck <>
Acked-by: default avatarMike Frysinger <>
parent 11a05fbd
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment