From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 10 Aug 2012 23:11:21 +0200 Subject: [U-Boot] [PATCH 1/3] Makefile: allow appending to LIB in sub-makefiles In-Reply-To: <1340901921-9868-2-git-send-email-daniel.schwierzeck@gmail.com> References: <1340887200-535-1-git-send-email-daniel.schwierzeck@gmail.com> <1340901921-9868-1-git-send-email-daniel.schwierzeck@gmail.com> <1340901921-9868-2-git-send-email-daniel.schwierzeck@gmail.com> Message-ID: <20120810211121.4951D202DBF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Daniel Schwierzeck, In message <1340901921-9868-2-git-send-email-daniel.schwierzeck@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 > --- > 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