From patchwork Thu Jun 22 15:34:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 106219 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp182395qgd; Thu, 22 Jun 2017 08:34:52 -0700 (PDT) X-Received: by 10.99.106.2 with SMTP id f2mr3366354pgc.46.1498145692535; Thu, 22 Jun 2017 08:34:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498145692; cv=none; d=google.com; s=arc-20160816; b=L795er0FNRyyWXmqJE9s67AiEspSOZVisNT7fPQZaU9gL+3oKW8kX8owcipSvGJncd DgilyfdS/uFH0Kpeq4fdsTT0Q3H0K6bgs+v0IDe8YcvjVo2Weil5d93InEe+WX5CDv4T s2TJUH7syXZKPvdbG21uTl2WrM0gY+ZNYADGruBifkZncrsaWsbAZCTC8h0nUjO0VaCR nQQVwBsMFORnrNQMrUYGLozGxWOoCv/TG9harMqsj7FynJQym4v93YWZNwcOIH8N16pp KoPlB0p3FbgMoLAV2eJZ76+82WBS76Sw8Qnya5Ou6d6HFwGUCjRD7YXczt+BdCf8qF24 KgAA== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=dFU8mAmpLo6e0p6Z4P9nkbCxe1ImvOBKdX31TUJUzTI=; b=wK83GJGF20AbKMqHGK97fD0wRuWZpBE4sK+pEfz9R95zDaqPWVsMb+N/AM1b0S6Eqc UVnu2RWrtZrBAWdTCi7KGozomQYRCnkUGNMxJikAlhADBp+UtXkB8rGobBZI9Lu3aSfC U8Zn3fcP6pRVFPThmFUxv4D9BEddvkFvGB1gtN6Ne/JiGOoelfzPK6na+hSzZD9gPb+u bLK92kuv2GAP/zegGNSZ+C/6VtU1e/1hw1TOlEYl9mce/sIw28vomDMhvY+NNwitX/oU VgGHn5Se/eEhbXRDVPY0Kr26DCkrAtoDabnty9u7rOleqLV0jBbLBNGwyad3o0ROxyzS wCbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=pcSm6jUb; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 6si1334051pfe.109.2017.06.22.08.34.52; Thu, 22 Jun 2017 08:34:52 -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=@intel-com.20150623.gappssmtp.com header.b=pcSm6jUb; 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 Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0106E78246; Thu, 22 Jun 2017 15:34:48 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f172.google.com (mail-wr0-f172.google.com [209.85.128.172]) by mail.openembedded.org (Postfix) with ESMTP id AF4FD78229 for ; Thu, 22 Jun 2017 15:34:46 +0000 (UTC) Received: by mail-wr0-f172.google.com with SMTP id c11so28273192wrc.3 for ; Thu, 22 Jun 2017 08:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=1tQN1Z19Dydy61/nwlC2xwdsO7a++XAYFhZUIjCHP28=; b=pcSm6jUbYIGTFuoJXtDPmZC5EWUllWq1+nqifdg0MX7hDf+fe6ySKhGHfUIy5FhxCj flo224NU0UHTVfwo8hej8hlt/0xTKiCqPwovlPaI1CISV1PzElTo5SZ8JSZ+rIpa6rqZ 9Brwea79tCCtXkJUeVYiCfO4AMam5ukoKw+TgGnYXB70EjxrKq70bW84b4aPz+SwB2/w /u+ta7LDr6mt3BqMzmsMUsQvrjBmlmyVaDamiqMB6HoDLTbEu1wqXogKxYzYlByN1VdV Ic1voHXM1xR4NPdEB6avrv198uM/qjoctd3IMzVI9+tdrsgp7Pqqn1odXy74o84BrBnB yw9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=1tQN1Z19Dydy61/nwlC2xwdsO7a++XAYFhZUIjCHP28=; b=fYO07yhylC9GnAjjFo1hj3GpO7Plmo+GEyo4XewS3ZiSsyKqhfVYcWdXSB92Ucb2sG O4mfB1odxbDcqxdL43uA6Odqqp0QBO0uOlH1NBcizw/Y1+tNrBGXnikxSFr5pKN3+wiG XlwABdGsG5ii/3COqefRfCkoKax6lhDpuk4JnLbCiUin6gUhJSO5TZCMjC7vFanVRouo AB78PjofCAMNt9w/bGQjTps/gLpHXfpX2PTmE4aSVdyKsK0Oe7G6a8rY+mpqMCoqotcb 1n5SziUhZjNiUJH85WGvZ0RA/03zQI2h2grC+CsevuucK1AX0UcTn0tzAJgMRpDCCP7w pAKQ== X-Gm-Message-State: AKS2vOxxO1HM4drbQaOTLiZOHH/5VnadOgLMIJsvRB3ASTupbsWTQuCs e4L8m4e2n2DL7Crs2WI= X-Received: by 10.28.218.149 with SMTP id r143mr2209917wmg.74.1498145686779; Thu, 22 Jun 2017 08:34:46 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id z101sm2271871wrb.41.2017.06.22.08.34.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jun 2017 08:34:46 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 22 Jun 2017 16:34:44 +0100 Message-Id: <20170622153444.28038-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] tcl: cleanups 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 No need to set DEPENDS_class-native explicitly as self-dependencies are ignored now. Don't rewrite do_configure, autotools_do_configure works. Actually invoke the install-private-headers target (autotools_do_install doesn't take arguments). Remove redundant cd. Signed-off-by: Ross Burton --- meta/recipes-devtools/tcltk/tcl_8.6.6.bb | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.6.bb b/meta/recipes-devtools/tcltk/tcl_8.6.6.bb index 40cd18fb09a..5cecf65fb67 100644 --- a/meta/recipes-devtools/tcltk/tcl_8.6.6.bb +++ b/meta/recipes-devtools/tcltk/tcl_8.6.6.bb @@ -35,23 +35,15 @@ VER = "${PV}" inherit autotools ptest binconfig -DEPENDS_class-native = "zlib-native" - EXTRA_OECONF = "--enable-threads --disable-rpath --libdir=${libdir}" -do_configure() { - cd ${S} - gnu-configize - cd ${B} - oe_runconf -} - do_compile_prepend() { echo > ${S}/../compat/fixstrtod.c } do_install() { - autotools_do_install install-private-headers + autotools_do_install + oe_runmake 'DESTDIR=${D}' install-private-headers ln -sf ./tclsh${VER} ${D}${bindir}/tclsh ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER} sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh @@ -59,7 +51,6 @@ do_install() { install -d ${D}${bindir_crossscripts} install -m 0755 tclConfig.sh ${D}${bindir_crossscripts} install -m 0755 tclConfig.sh ${D}${libdir} - cd .. for dir in compat generic unix; do install -d ${D}${includedir}/${BPN}${VER}/$dir install -m 0644 ${S}/../$dir/*.h ${D}${includedir}/${BPN}${VER}/$dir/