From: Mike Frysinger Date: Sun, 20 Nov 2011 00:23:08 -0500 Subject: [U-Boot] [PATCH 1/6] Allow arch directory to contain .lds without requiring Makefile In-Reply-To: <201111200507.08697.marek.vasut@gmail.com> References: <1321048033-20127-1-git-send-email-sjg@chromium.org> <1321048033-20127-2-git-send-email-sjg@chromium.org> <201111200507.08697.marek.vasut@gmail.com> Message-ID: <201111200023.09358.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday 19 November 2011 23:07:08 Marek Vasut wrote: > > LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot.lds > > endif > > ifeq ($(wildcard $(LDSCRIPT)),) > > + LDSCRIPT := $(TOPDIR)/arch/$(ARCH)/cpu/u-boot.lds > > + # We don't expect a Makefile here > > + LDSCRIPT_MAKEFILE_DIR = > > + endif > > + ifeq ($(wildcard $(LDSCRIPT)),) > > Do I see the same ifeq... twice in here ? I understand what you do here, > but it'd be good to add a comment please. in the larger context, it makes sense -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: