From patchwork Tue Aug 1 13:55:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 109164 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp4994622obm; Tue, 1 Aug 2017 06:55:59 -0700 (PDT) X-Received: by 10.84.164.193 with SMTP id l1mr22170885plg.279.1501595759757; Tue, 01 Aug 2017 06:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501595759; cv=none; d=google.com; s=arc-20160816; b=XOW7z/Uhbrr1fe1MobkAe00HINWCE9AVVgT8E06VbmA5j839lz6jfoOS9IMlCLXdQx m0/QtEP/bUxsjE7wlQ53bdTXKgjnFzjEY2QpTk2/22zZOjYRtKHPKHWcaionjpbkLziK d6j9FHfzLyKXP4OyihzGN8jMzqYrgG3YA0PBQ3PcgZRTlEhw2f5Fe5s3g62myxyo9fOw x87b1Ys8KdFRqDUd+rD+wdKosY+aPHXEsz0xi6hZ+U6+5srXb8aL84f9fMwUKvgD1Kpf qLhHHpPZQu+YmxyhzKwIYs00IRirZXYYg8gU0zJ8EZ/3YjfqmERdcva0akNYxqwPNMHn XzvQ== 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=xo0iXTAfWdevXDHwa1QFKzGXuMgoT93jgesi18nwvZg=; b=rsKCt7sWip7jesGnule7tL1ht+x1SntohRmx2YGwsDhQbei1eZxCAnl58XtslZrO3q 37k5U+g5wt+MYZxZthdaZ/6/d/0yKZ7e/Kb16ld7OXdD8y0Eb8G7WhI0GhvEoBYVy8nd ycRIcDBWd9bpLy/lsW4xdHyb29Z5mVRqoR/f0Vq6T8KISJTn36Lu7Zi/s9KzD6lxBUSE 6NVuYI5k1EJszTpfTcApsdBV+YXc1z2eiKiQs2HFq8RoaumLI/rNS+9mZZaFkFqIcgnn YwKpiK2aejUynmq2K7gIdZwM1nMBjL28Dk2gkbAkGiGDg0ee9mYn2QhX1fCngV2Tt0Yg TUjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=SV6Ruo9O; 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 43si19395072ple.112.2017.08.01.06.55.59; Tue, 01 Aug 2017 06:55:59 -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=SV6Ruo9O; 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 2DFC078415; Tue, 1 Aug 2017 13:55:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 4BA7D60616 for ; Tue, 1 Aug 2017 13:55:46 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id c65so2428561pfl.0 for ; Tue, 01 Aug 2017 06:55: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=4NDfw7jz20dK+niZ+P7z/586wYFEcJw0ZfQhPLj1weQ=; b=SV6Ruo9O5zCZmvBnXQgn3sc0qKyYN0TkWWKQHPz7kv05u8adBdxl6PBlYvY3oO1Zyn fpAbNC93Y1Eg55oYBDzt1J1Fr6r83ahrqwSnEqdRJky+lryoJhMEneH68Kcx6SiZkQcb 94kqkU3JuClrCI9JpCaqD1tnbQwXBjYLFdjNrrraenQhdzklf8BTtLviMYFqwfoAQbwa X3432aBXsGt1negA8wTvLTWY3N4B7KOUP1BMPFaJNQr4KOI1G0eeFijJcFfz7eJy31On XxsyVOwjsuVBs4qOCW+ZNJqZn7C2AJ5bsui8jILYQfrhaUT/R0rKiNoJH0WOaV+XjrKA Uh0Q== 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=4NDfw7jz20dK+niZ+P7z/586wYFEcJw0ZfQhPLj1weQ=; b=i1HJ+TnXKCvSGtNFomAwCgvQc1VqTD1Y8isLRoYVBhacvVmyG51t1mtvdkjDP3xAQx 7z+3Pv4AJI8SmIiSL9vHCqUo9oIk0SLF58kjuJZu7TxOX59jt25GM2ly0NH+cc1Gh3bJ 9ZLBbHFa+Lt1oE2bzfsqOGJ2b+ViUlQm76IS9v/4km5vGzugYjkeP+vXx+uKxYrF/VrC cc85ikckUW/iKbSHQIu3ef2rIuGqCdRbPDBuA8xK/8nFMoXbL4GxkyeXvZE2clGg3Unf kqY0NESA3hTXn4V6rHIzue6aViG/MZlGBsRnWeOb7mIku+Mkom228LX93y5AOlKznsiw xbiA== X-Gm-Message-State: AIVw1102cSx82twaX2x4zwQ6qcQhB6puWROnJy28IDcrJGxtmu/AKRX+ FYEGoqPXTg0QeTWZ X-Received: by 10.99.97.68 with SMTP id v65mr19159604pgb.200.1501595748291; Tue, 01 Aug 2017 06:55:48 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::1f6f]) by smtp.gmail.com with ESMTPSA id o29sm57189986pfa.60.2017.08.01.06.55.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 06:55:47 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 1 Aug 2017 06:55:28 -0700 Message-Id: <20170801135530.33531-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170801135530.33531-1-raj.khem@gmail.com> References: <20170801135530.33531-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 2/4] mesa: Use chrpath to delete rpaths 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 It adds native sysroot chrpath due to llvm-config in cross compiling we can delete them via chrpath, since libs are in standard paths rpath is really not needed Signed-off-by: Khem Raj --- meta/recipes-graphics/mesa/mesa.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.13.3 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index c9b67d4966..da449fa70b 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -14,8 +14,8 @@ LIC_FILES_CHKSUM = "file://docs/license.html;md5=725f991a1cc322aa7a0cd3a2016621c PE = "2" -DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib" - +DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native" +EXTRANATIVEPATH += "chrpath-native" PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa" inherit autotools pkgconfig gettext distro_features_check @@ -118,9 +118,10 @@ do_install_append () { rm -f ${D}${libdir}/egl/*.la rm -f ${D}${libdir}/gallium-pipe/*.la rm -f ${D}${libdir}/gbm/*.la - + # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used rm -f ${D}${sysconfdir}/drirc + chrpath --delete ${D}${libdir}/dri/*_dri.so } # For the packages that make up the OpenGL interfaces, inject variables so that