[U-Boot] [PATCH 1/3] Makefile: allow appending to LIB in sub-makefiles

Wolfgang Denk wd at denx.de
Fri Aug 10 23:11:21 CEST 2012


Dear Daniel Schwierzeck,

In message <1340901921-9868-2-git-send-email-daniel.schwierzeck at gmail.com> you wrote:
> 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 at gmail.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Mandrell: "You know what I think?"
Doctor:   "Ah, ah that's a catch question. With a brain your size you
          don't think, right?"
                - Dr. Who


More information about the U-Boot mailing list