From patchwork Wed Jul 5 16:53:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Grandegger X-Patchwork-Id: 784745 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x2n523Qgmz9s7B for ; Thu, 6 Jul 2017 02:53:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4CAF588B00; Wed, 5 Jul 2017 16:53:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sEYR5DzsjdI2; Wed, 5 Jul 2017 16:53:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 86AFD88B4B; Wed, 5 Jul 2017 16:53:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 05D961C4118 for ; Wed, 5 Jul 2017 16:53:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F240F8734A for ; Wed, 5 Jul 2017 16:53:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eqcGw63rgtTS for ; Wed, 5 Jul 2017 16:53:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mailproxy02.manitu.net (mailproxy02.manitu.net [217.11.48.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6C51787243 for ; Wed, 5 Jul 2017 16:53:24 +0000 (UTC) Received: from onex.fritz.box (aftr-88-217-180-23.dynamic.mnet-online.de [88.217.180.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: wg@grandegger.com) by mailproxy02.manitu.net (Postfix) with ESMTPSA id DD73E102018D; Wed, 5 Jul 2017 18:53:21 +0200 (CEST) From: Wolfgang Grandegger To: buildroot@buildroot.org Date: Wed, 5 Jul 2017 18:53:10 +0200 Message-Id: <1499273594-12106-6-git-send-email-wg@grandegger.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499273594-12106-1-git-send-email-wg@grandegger.com> References: <1499273594-12106-1-git-send-email-wg@grandegger.com> Cc: Wolfgang Grandegger Subject: [Buildroot] [PATCH v7 5/9] core: sanitize RPATH in host tree at the very end of the build X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" We introduce the "finalize-host" target for that purpose. Signed-off-by: Wolfgang Grandegger --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a826fc..2a265e0 100644 --- a/Makefile +++ b/Makefile @@ -553,7 +553,12 @@ $(BUILD_DIR)/buildroot-config/auto.conf: $(BR2_CONFIG) prepare: $(BUILD_DIR)/buildroot-config/auto.conf .PHONY: world -world: target-post-image +world: target-post-image host-finalize + +.PHONY: host-finalize +host-finalize: + @$(call MESSAGE,"Rendering the SDK relocatable") + $(TOPDIR)/support/scripts/fix-rpath host # When creating HOST_DIR, also symlink usr -> . $(HOST_DIR):