From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WDxOg-0005Fm-9N for ptxdist@pengutronix.de; Thu, 13 Feb 2014 15:36:14 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1WDxOg-00060O-7x for ptxdist@pengutronix.de; Thu, 13 Feb 2014 15:36:14 +0100 Date: Thu, 13 Feb 2014 15:36:14 +0100 From: Michael Olbrich Message-ID: <20140213143614.GC17120@pengutronix.de> References: <1392295335-17766-1-git-send-email-jon@ringle.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1392295335-17766-1-git-send-email-jon@ringle.org> Subject: Re: [ptxdist] [PATCH] getdev: strip _DEVPKG when comparing to NO Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Feb 13, 2014 at 07:42:15AM -0500, jon@ringle.org wrote: > From: Jon Ringle > > Signed-off-by: Jon Ringle Actually the problem was not the missing strip but a double dereference. I've fixed the commit message and applied it. Michael > --- > scripts/lib/ptxd_lib_dgen.awk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk > index 863dda4..41b3ded 100644 > --- a/scripts/lib/ptxd_lib_dgen.awk > +++ b/scripts/lib/ptxd_lib_dgen.awk > @@ -242,7 +242,7 @@ function write_deps_pkg_all(this_PKG, this_pkg) { > # > print "$(STATEDIR)/" this_pkg ".get: $(" this_PKG "_SOURCES)" > DGEN_DEPS_POST; > print "ifneq ($(call remove_quotes, $(PTXCONF_PROJECT_DEVMIRROR)),)" > DGEN_DEPS_POST; > - print "ifneq ($($(" this_PKG "_DEVPKG)),NO)" > DGEN_DEPS_POST; > + print "ifneq ($(strip $(" this_PKG "_DEVPKG)),NO)" > DGEN_DEPS_POST; > print "ifneq ($(" this_PKG "_CFGHASH),)" > DGEN_DEPS_POST; > print "getdev: $(call remove_quotes, $(PTXCONF_PROJECT_DEVPKGDIR))/$(" this_PKG "_DEVPKG)" > DGEN_DEPS_POST; > print "endif" > DGEN_DEPS_POST; > -- > 1.8.5.4 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de