[U-Boot] [PATCH 1/6] Allow arch directory to contain .lds without requiring Makefile

Mike Frysinger vapier at gentoo.org
Sun Nov 20 06:23:08 CET 2011


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: <http://lists.denx.de/pipermail/u-boot/attachments/20111120/fed3af77/attachment.pgp>


More information about the U-Boot mailing list