From patchwork Tue Jun 25 19:35:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 254300 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id B93292C007C for ; Wed, 26 Jun 2013 05:36:44 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C8C08A0218; Tue, 25 Jun 2013 19:36: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 r2jdmvI9WBqP; Tue, 25 Jun 2013 19:36:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9A4DDA022F; Tue, 25 Jun 2013 19:36:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 951338F7A2 for ; Tue, 25 Jun 2013 19:36:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 62E8785613 for ; Tue, 25 Jun 2013 19:36:02 +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 MIzof3UseNFG for ; Tue, 25 Jun 2013 19:35:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by whitealder.osuosl.org (Postfix) with ESMTP id AFEB3868FF for ; Tue, 25 Jun 2013 19:35:59 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 6F1A8781; Tue, 25 Jun 2013 21:35:59 +0200 (CEST) Received: from localhost (AToulouse-651-1-224-135.w86-199.abo.wanadoo.fr [86.199.199.135]) by mail.free-electrons.com (Postfix) with ESMTPSA id 1E8B9755 for ; Tue, 25 Jun 2013 21:35:59 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Tue, 25 Jun 2013 21:35:39 +0200 Message-Id: <1372188953-29449-5-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1372188953-29449-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1372188953-29449-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [RFCv1 04/18] toolchain/gcc: remove dead code related to host binary stripping X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net The GCC_STRIP_HOST_BINARIES variable was always defined to 'nope', which means that the host binaries were never stripped. Get rid of the corresponding code, which is not in use. Signed-off-by: Thomas Petazzoni --- toolchain/gcc/gcc-uclibc-4.x.mk | 5 ----- 1 file changed, 5 deletions(-) diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 92361e5..79a0125 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -43,7 +43,6 @@ GCC_SOURCE:=gcc-$(GCC_VERSION).tar.bz2 GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION) GCC_DIR:=$(TOOLCHAIN_DIR)/gcc-$(GCC_VERSION) GCC_CAT:=$(BZCAT) -GCC_STRIP_HOST_BINARIES:=nope GCC_SRC_DIR:=$(GCC_DIR) # Branding works on >= 4.3 @@ -472,10 +471,6 @@ $(GCC_BUILD_DIR3)/.installed: $(GCC_BUILD_DIR3)/.compiled rmdir "$(STAGING_DIR)/lib64"; \ rm "$(STAGING_DIR)/usr/$(GNU_TARGET_NAME)/lib64";\ fi - # Strip the host binaries -ifeq ($(GCC_STRIP_HOST_BINARIES),true) - strip --strip-all -R .note -R .comment $(filter-out %-gccbug %-embedspu,$(wildcard $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-*)) -endif # Make sure we have 'cc'. if [ ! -e $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-cc ]; then \ ln -snf $(GNU_TARGET_NAME)-gcc \