From patchwork Mon Jul 13 21:55:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 494784 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 19D6D1402A9 for ; Tue, 14 Jul 2015 07:55:59 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=pi52EVGr; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BE17E33668; Mon, 13 Jul 2015 21:55:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O61smZJQ7oy7; Mon, 13 Jul 2015 21:55:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A3E1E336B6; Mon, 13 Jul 2015 21:55:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 715601C2893 for ; Mon, 13 Jul 2015 21:55:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6E0D6A3FC2 for ; Mon, 13 Jul 2015 21:55:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4m7ryTE0bdd8 for ; Mon, 13 Jul 2015 21:55:23 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E728BA3F9F for ; Mon, 13 Jul 2015 21:55:22 +0000 (UTC) Received: by wicmv11 with SMTP id mv11so73144299wic.1 for ; Mon, 13 Jul 2015 14:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HMFXQdKgFpZqIdbvwYQEYkiFHUzW/1XhrK/AqCYqbLA=; b=pi52EVGrDWZrUcbqVpgvw1qrYaN+F1ZlzXb7tnP4bVz/VTw8KLrKNnk0LxQM5AwILC FQNbI49IBP9jKfHlWWx1ckPaDIFFyHoou/50EzHW82bldokr9PQ/yP3XC4rWXK9xwogf pmb5m0d3GaPJr63UnG6aZdTM4JvJ2tNl+RXc2ThFPBAv6mkgicZXiY9WTLztFPProOPf i1G/4HTkbKgZ1WIVQoOk23jxUqBSELLrZ6Qq3t320anvZHtelPYzafghlxSCP/tGjzSA 6o+pQncgV0ElkyXmvlm5B+yFtKK4JEwFluFMypXYt1dEUAKg+TirnHkVw2tIV3tzk3L2 4h5Q== X-Received: by 10.180.9.7 with SMTP id v7mr27022254wia.60.1436824521467; Mon, 13 Jul 2015 14:55:21 -0700 (PDT) Received: from bobook.localdomain (AToulouse-657-1-1031-128.w92-134.abo.wanadoo.fr. [92.134.9.128]) by smtp.gmail.com with ESMTPSA id j7sm31499888wjz.11.2015.07.13.14.55.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Jul 2015 14:55:20 -0700 (PDT) From: Samuel Martin To: buildroot@buildroot.org Date: Mon, 13 Jul 2015 23:55:10 +0200 Message-Id: <1436824511-1601-4-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 2.4.5 In-Reply-To: <1436824511-1601-1-git-send-email-s.martin49@gmail.com> References: <1436824511-1601-1-git-send-email-s.martin49@gmail.com> Subject: [Buildroot] [PATCH v5 4/5] Makefile: staging symlink uses a relative path 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" A step forward toward a relocatable SDK. Signed-off-by: Samuel Martin --- changes v3->v4: - no change changes v2->v3: - no change --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 69c1105..570cbf2 100644 --- a/Makefile +++ b/Makefile @@ -460,7 +460,7 @@ $(STAGING_DIR): @ln -snf lib $(STAGING_DIR)/usr/$(LIB_SYMLINK) @mkdir -p $(STAGING_DIR)/usr/include @mkdir -p $(STAGING_DIR)/usr/bin - @ln -snf $(STAGING_DIR) $(BASE_DIR)/staging + @ln -snf $(subst $(BASE_DIR)/,,$(STAGING_DIR)) $(BASE_DIR)/staging ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y) TARGET_SKELETON = $(BR2_ROOTFS_SKELETON_CUSTOM_PATH)