Message ID | 9df4b2ae79e5d2f696a5d960d958dbf7f2d30558.1498913468.git.yann.morin.1998@free.fr |
---|---|
State | Accepted |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x0Cvb1vQjz9s06 for <incoming@patchwork.ozlabs.org>; Sat, 1 Jul 2017 22:51:39 +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="I+j9+HQo"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 863FF86933; Sat, 1 Jul 2017 12:51:34 +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 780-YlBZmmXf; Sat, 1 Jul 2017 12:51:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 09B7B868E1; Sat, 1 Jul 2017 12:51:32 +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 54E3C1BFA45 for <buildroot@lists.busybox.net>; Sat, 1 Jul 2017 12:51:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4E0BF879FD for <buildroot@lists.busybox.net>; Sat, 1 Jul 2017 12:51:28 +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 CXF4u1RHoMEH for <buildroot@lists.busybox.net>; Sat, 1 Jul 2017 12:51:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 02F5287A39 for <buildroot@buildroot.org>; Sat, 1 Jul 2017 12:51:27 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id u23so12363441wma.2 for <buildroot@buildroot.org>; Sat, 01 Jul 2017 05:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Rft6uMswwLCBtZ1BUMZQKicL8y/7zLRxhUOi092M+Vo=; b=I+j9+HQoIhKA27OmBArc+XE506b3yeCvPX3rFerSdDpFpLCx/5QHxQdmdyTsuoOqW4 fVZuTMCToZqrKnxOSFxNlqg/5Sdb6BwUjQghrk10DrMW68GcVIKsNqhvWuMDydj1taxP NlCHpKNxb6JC0V6Ze6UAskm35fQKfS9u+08qdbXt5qKULbsjhVtpJACE20AcYVOfboHJ 8HlvhlGJNRYfVfl1K3T9teuhSfps/bdImwFe5RqYOpi+4J5Q/2n8CB1n/8MqkY3Ir/CK Ycjj6Fj46pvQyB8vDm37QxSw+Y7robkawGQRt6ERVutqbT60/4Pq/byZpOiAAyk0w+NL iyrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Rft6uMswwLCBtZ1BUMZQKicL8y/7zLRxhUOi092M+Vo=; b=PKXI4Da1SiYH6JiDDNL5QCodsXkCJrw/VvhZC98qDtBi2o9Qhx5RB/jqdptSZl3w6k mHox9DI1FizIc0boNwUZH1Yg8pdGe5cmChu/b/t/s14c35vXeU6dzSai2Tx50J/0OF7C uyaRplMjnwoOeB6bDDIkpV1+QvLsajw0tr4js56MivmUN/jYX47zogUKVhVQT7XX25mO HIqMwS5bTRXa0l8ZpFg8uCYAIUTQPmSMG5bQE9jRkyWYEHPrFjS319N2BlYAkniZ1IIO 8gOZbKDKWX4lyADtD0G7pLKepzuyTmijty4Rk8zo4OGEkjZwZ0k7RGtQ7lvmay5bBNmA EBGQ== X-Gm-Message-State: AIVw112C2W7jrlRf3kFvPOWzyXy3Yd+ivlhz1u/k1KFGo16qptvOuPzM tUflg7sch2xHgoqI X-Received: by 10.28.178.203 with SMTP id b194mr5484243wmf.36.1498913485345; Sat, 01 Jul 2017 05:51:25 -0700 (PDT) Received: from localhost.localdomain (2a01cb0886107300289cd4162ec46954.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:289c:d416:2ec4:6954]) by smtp.gmail.com with ESMTPSA id e65sm7486025wma.19.2017.07.01.05.51.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Jul 2017 05:51:24 -0700 (PDT) From: "Yann E. MORIN" <yann.morin.1998@free.fr> To: buildroot@buildroot.org Date: Sat, 1 Jul 2017 14:51:20 +0200 Message-Id: <9df4b2ae79e5d2f696a5d960d958dbf7f2d30558.1498913468.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.11.0 In-Reply-To: <cover.1498913468.git.yann.morin.1998@free.fr> References: <cover.1498913468.git.yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>, "Yann E. MORIN" <yann.morin.1998@free.fr> Subject: [Buildroot] [PATCH 2/3] core: simplify the condition to set the strip command X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
diff --git a/package/Makefile.in b/package/Makefile.in index 4a3eb26963..9566567fbf 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -205,8 +205,7 @@ ifeq ($(BR2_STRIP_strip),y) STRIP_STRIP_DEBUG := --strip-debug TARGET_STRIP = $(TARGET_CROSS)strip STRIPCMD = $(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note -endif -ifeq ($(BR2_STRIP_none),y) +else TARGET_STRIP = true STRIPCMD = $(TARGET_STRIP) endif
Since BR2_STRIP_strip and BR2_STRIP_noine are mutually exclusive (being part of a choice), we can simplify the logic. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- package/Makefile.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)