From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= Date: Mon, 26 Nov 2012 01:02:59 +0100 Subject: [U-Boot] [PATCH 2/2] Makefile: Accept target names in all lower case to ease matching In-Reply-To: <20121125200434.32D9720105B@gemini.denx.de> References: <1353842544.17518.11.camel@home.hno.se> <20121125174543.B9AFE20105B@gemini.denx.de> <1353866899.28559.57.camel@home.hno.se> <20121125200434.32D9720105B@gemini.denx.de> Message-ID: <1353888179.28559.90.camel@home.hno.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de s?n 2012-11-25 klockan 21:04 +0100 skrev Wolfgang Denk: > Well, these are make targets, so they are definitely case sensitive. > > > if [ \( $# -eq 2 \) -a \( "$1" = "-A" \) ] ; then > > # Automatic mode > > - line=`egrep -i "^[[:space:]]*${2}[[:space:]]" boards.cfg` || { > > + line=`egrep "^[[:space:]]*${2}[[:space:]]" boards.cfg` || { > > Did you test what gets broken by this patch? All normal "make targetname" is unaffected by the change as they are case sensitive. What gets broken by the change os someone calling make wronglycasedtargetname_config Or direct invocation of ./mkconfig -A wronglycasedtargetname Regards Henrik