From patchwork Wed Jun 1 14:39:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 628691 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rKY0y2X5Vz9s5Q for ; Thu, 2 Jun 2016 00:40:02 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A8C9A8A152; Wed, 1 Jun 2016 14:40:00 +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 qV9gB0YVHn0w; Wed, 1 Jun 2016 14:39:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id ECE0E86D62; Wed, 1 Jun 2016 14:39:58 +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 9416D1C0F1D for ; Wed, 1 Jun 2016 14:39:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 90F3086AB9 for ; Wed, 1 Jun 2016 14:39:57 +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 sP6rTLvdgt9R for ; Wed, 1 Jun 2016 14:39:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.ind.br (mx.datacom.ind.br [177.66.5.10]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 16BBB885E5 for ; Wed, 1 Jun 2016 14:39:56 +0000 (UTC) Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id 462F417CD171; Wed, 1 Jun 2016 11:38:34 -0300 (BRT) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id 31BCE17CD172; Wed, 1 Jun 2016 11:38:34 -0300 (BRT) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id iqrslj9Gjg6k; Wed, 1 Jun 2016 11:38:34 -0300 (BRT) Received: from PEDELD048.datacom.net (pedeld048.datacom.net [10.0.120.36]) by mail.datacom.ind.br (Postfix) with ESMTPSA id 134D617CD16E; Wed, 1 Jun 2016 11:38:34 -0300 (BRT) From: Carlos Santos To: buildroot@buildroot.org Date: Wed, 1 Jun 2016 11:39:39 -0300 Message-Id: <1464791982-10166-2-git-send-email-casantos@datacom.ind.br> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464791982-10166-1-git-send-email-casantos@datacom.ind.br> References: <1462736800-9552-1-git-send-email-casantos@datacom.ind.br> <1464791982-10166-1-git-send-email-casantos@datacom.ind.br> Cc: thomas.petazzoni@free-electrons.com, yann.morin.1998@free.fr Subject: [Buildroot] [PATCH next 1/4] uboot-tools: use $(TARGET_STRIP) for target utilities 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" Otherwise BR2_STRIP_xxxx setup is ignored and they are always stripped. Signed-off-by: Carlos Santos --- package/uboot-tools/uboot-tools.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/uboot-tools/uboot-tools.mk b/package/uboot-tools/uboot-tools.mk index 987e89b..a6aadeb 100644 --- a/package/uboot-tools/uboot-tools.mk +++ b/package/uboot-tools/uboot-tools.mk @@ -21,6 +21,7 @@ define UBOOT_TOOLS_BUILD_CMDS CROSS_COMPILE="$(TARGET_CROSS)" \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ + STRIP=$(TARGET_STRIP) \ CROSS_BUILD_TOOLS=y \ CONFIG_FIT_SIGNATURE=$(BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE_FIT_SIGNATURE_SUPPORT) \ tools-only @@ -28,6 +29,7 @@ define UBOOT_TOOLS_BUILD_CMDS CROSS_COMPILE="$(TARGET_CROSS)" \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ + STRIP=$(TARGET_STRIP) \ env no-dot-config-targets=env endef