From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qc0-x22f.google.com ([2607:f8b0:400d:c01::22f]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WDvck-0008Ap-HH for ptxdist@pengutronix.de; Thu, 13 Feb 2014 13:42:39 +0100 Received: by mail-qc0-f175.google.com with SMTP id x13so17392192qcv.6 for ; Thu, 13 Feb 2014 04:42:32 -0800 (PST) From: jon@ringle.org Date: Thu, 13 Feb 2014 07:42:15 -0500 Message-Id: <1392295335-17766-1-git-send-email-jon@ringle.org> Subject: [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: , MIME-Version: 1.0 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 Cc: Jon Ringle From: Jon Ringle Signed-off-by: Jon Ringle --- 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