From patchwork Wed Jun 14 15:23:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105554 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385551obh; Wed, 14 Jun 2017 08:24:15 -0700 (PDT) X-Received: by 10.84.209.234 with SMTP id y97mr695685plh.200.1497453855031; Wed, 14 Jun 2017 08:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453855; cv=none; d=google.com; s=arc-20160816; b=TL4MuyUEMpUv0GXsceN+3Arz+2OPzCDmZ2plk2F27O5iONdc4KKSTlfI+DcMB7sJv/ AC2TmH8jWWD3uoNokPcqbJ7+MDVIPMQaEAHB/SJYrVHfUp7eZBS+K+pTlPMyA3UtR4iq i1yniIXvzSeok+PR5dI8pWQVcG1KgkvE9qj/WaA/9ZrCxzwONFqArnFObPZWG9k9yvfh jsEzMyhfgQgTbBipU9Lvb2oS7cEAT9J9wrATyLHv+vz8DIWBw9o/2MglDvgYhJLqwzaG PXd4Z/GreA592/graC7K7R44hF0icnKVgHWRFxkUGxVTb4wh47SsZf8oCp/22i9l95L5 xTaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=SYDVkTHNw4GdJd5QQFfYiIGl4nmJv4pwk3/mJmIfrx0=; b=m7pnfbftuC0K03SLKGaNp17Du8TB2bHe0Q723AP2/BEHSpvU3GfH18+u3AnartIVO9 jL6rYMNbxprmX8LlBC7fRtQa0wcF2BuOhKESxTlJuv3PGft+SzVo1p6JAakriJ6hLHCO R0CyxF3hNtPSA7CT17awZFKlO5kgXuw8n7va93qz5M14Ka8zW2ismnu7KgLsBgazJH8t HJQ5G0YVielM5KFNwHjXWt55LJDBcAhFv5VDbxTMXywKTnPDYSmwgX5VgksH+0ELesJj u0fbz0aYTaOZa35lYwETxGipYgPMgZVDXsYZG7+GMxFL4JHVFJSgqT89qTCyiUXeD5+Q K2rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=peLbNT7i; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id m11si182392pgs.500.2017.06.14.08.24.14; Wed, 14 Jun 2017 08:24:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=peLbNT7i; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5B337783D7; Wed, 14 Jun 2017 15:23:50 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id 5D43F783C3 for ; Wed, 14 Jun 2017 15:23:46 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id s66so499189pfs.2 for ; Wed, 14 Jun 2017 08:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/G+L+C8lSckgIQ5TL9j0q8Ciq7nfqq+0Smivzze7NUM=; b=peLbNT7i7jtMdg87ZZdYB8pFp7wxEKKzWdooYmNXu27Lwq3F3jmCxaoQC/GlrrOxU/ xquZeBlmiO4J908JziXzcp8/FBAI5UVkDKPUOd5w1Q3VVqfAW5IgQO7f6JHinvfwzCzG XQ9KQhpNsg9ShpzYVcuuk/1tFw2y/STOwJZ2tX6KDuoAP9+0WD5u+ajWsweFxhE16knJ zqu+yWSyHyhXW/2+etV+21Q6gdWJ8gyqY/+8XW+N6eMo8RLbPibgxK7DgUNLBuUTLOWr ew+djVzAKWojVta74FF4Nx1fx9KBBeQxGK1uJyJD1Ky0H31THdgIZ8GO5Ab22sVP5NFR ffRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/G+L+C8lSckgIQ5TL9j0q8Ciq7nfqq+0Smivzze7NUM=; b=QGi3PlE8NLd7K1PikocEhiRwc0oIkLivzEf5Nt5/lb4Dzuf7pUcjKA/bGuXa53Spu3 tT6axjUIYpvYIELDLxoFDoswx/iSh6yCmCENRnlie8pt9wc/tuL7jSkWnjh/UdoNtprm zZ3XBDV8IbEvx+cYa7O9n7Mjq9VTj9FvLOz1q/dfR8dMizwXDSMQzjouyQV7jWwgv/QJ xPbkbE4l+AyAjlV3KK/Lj2FSS3D21Gde8ad4CFjpbZyqOpLBOoDvSCgPbjvSYUzUYM+5 PuroJl9/hFjNcKiI74vfC0nReHrSYCgpP7gBjg86LwbTkXPUkEqs5yyXVDUED6HD3vS+ hp5A== X-Gm-Message-State: AKS2vOxAWDDLsd0FauMx39L0MJ17EzzAm0/+Qfcy3jBfD+ideU2SxpA+ EmykzvnA1J1klOWo X-Received: by 10.98.81.199 with SMTP id f190mr572165pfb.109.1497453827440; Wed, 14 Jun 2017 08:23:47 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::264a]) by smtp.gmail.com with ESMTPSA id i2sm502948pfe.89.2017.06.14.08.23.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:46 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:25 -0700 Message-Id: X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 06/10] zlib: Pass pre-calculate uname enable re-entrant flags X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Fix ptest generation Signed-off-by: Khem Raj --- meta/recipes-core/zlib/zlib_1.2.11.bb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) -- 2.13.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/zlib/zlib_1.2.11.bb b/meta/recipes-core/zlib/zlib_1.2.11.bb index d4a81820df..ba216f679a 100644 --- a/meta/recipes-core/zlib/zlib_1.2.11.bb +++ b/meta/recipes-core/zlib/zlib_1.2.11.bb @@ -17,20 +17,22 @@ UPSTREAM_CHECK_URI = "http://zlib.net/" SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68" SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066" +CFLAGS += "-D_REENTRANT" + RDEPENDS_${PN}-ptest += "make" inherit ptest -do_configure (){ - ./configure --prefix=${prefix} --shared --libdir=${libdir} +do_configure() { + uname=GNU ./configure --prefix=${prefix} --shared --libdir=${libdir} } -do_compile (){ - oe_runmake +do_compile() { + oe_runmake shared } do_compile_ptest() { - oe_runmake static shared + oe_runmake test } do_install() {