Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot:  package
Date: Tue, 31 Jul 2007 11:06:51 -0700 (PDT)	[thread overview]
Message-ID: <20070731180651.EC761A5E30@busybox.net> (raw)

Author: aldot
Date: 2007-07-31 11:06:50 -0700 (Tue, 31 Jul 2007)
New Revision: 19362

Log:
- add possibility to select different flavours of strip (or none at all for debugging purposes)


Modified:
   trunk/buildroot/Config.in
   trunk/buildroot/package/Makefile.in


Changeset:
Modified: trunk/buildroot/Config.in
===================================================================
--- trunk/buildroot/Config.in	2007-07-31 17:09:44 UTC (rev 19361)
+++ trunk/buildroot/Config.in	2007-07-31 18:06:50 UTC (rev 19362)
@@ -652,11 +652,36 @@
 	  This option hides outdated/obsolete versions of packages.
 
 config BR2_USE_WCHAR
-	bool "Show packages that are require WCHAR support"
+	bool "Show packages that require WCHAR support"
 	default y
 	help
 	  This option hides packages which cannot be built without WCHAR.
 
+choice
+	prompt "strip"
+	default BR2_STRIP_strip
+	help
+	  Select whether to strip binaries and libraries for the target
+	  or not.
+	  strip   is the normal strip command
+	  sstrip  is a strip that discards more than the normal strip
+	  none    do not strip (only for debugging!)
+
+config BR2_STRIP_strip
+	bool "strip"
+	help
+	  strip   is the normal strip command
+config BR2_STRIP_sstrip
+	bool "sstrip"
+	select BR2_PACKAGE_SSTRIP_HOST
+	help
+	  sstrip  is a strip that discards more than the normal strip
+config BR2_STRIP_none
+	bool "none"
+	help
+	  none    do not strip (only for debugging!)
+endchoice
+
 config BR2_PREFER_STATIC_LIB
 	bool "prefer static libraries"
 	default n

Modified: trunk/buildroot/package/Makefile.in
===================================================================
--- trunk/buildroot/package/Makefile.in	2007-07-31 17:09:44 UTC (rev 19361)
+++ trunk/buildroot/package/Makefile.in	2007-07-31 18:06:50 UTC (rev 19362)
@@ -131,10 +131,17 @@
 TARGET_CC=$(TARGET_CROSS)gcc
 TARGET_CXX=$(TARGET_CROSS)g++
 TARGET_RANLIB=$(TARGET_CROSS)ranlib
+INSTALL=/usr/bin/install
+ifeq ($(BR2_STRIP_strip),y)
 STRIP=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note
-INSTALL=/usr/bin/install
+endif
+ifeq ($(BR2_STRIP_sstrip),y)
+STRIP=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip
+endif
+ifeq ($(BR2_STRIP_none),y)
+STRIP=true -Not_stripping
+endif
 
-
 HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
 	-e 's/sparc.*/sparc/' \
 	-e 's/arm.*/arm/g' \

             reply	other threads:[~2007-07-31 18:06 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 18:06 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-11-05 10:41 [Buildroot] svn commit: trunk/buildroot: package egtvedt at uclibc.org
2008-10-20 11:32 jacmet at uclibc.org
2008-07-24 13:38 jacmet at uclibc.org
2008-06-01 17:58 antab at uclibc.org
2008-03-12 13:07 ninevoltz at uclibc.org
2008-03-10 15:22 ninevoltz at uclibc.org
2008-03-10 16:24 ` Peter Korsgaard
2008-03-10 20:20   ` Ulf Samuelsson
2008-03-10 20:33     ` Peter Korsgaard
2008-03-10 21:17       ` Ulf Samuelsson
2008-03-10 21:26         ` Peter Korsgaard
2008-03-10 21:32           ` Ulf Samuelsson
2008-03-10 23:24             ` Thiago A. Corrêa
2008-03-11  8:11               ` Ulf Samuelsson
2007-10-18 12:38 ulf at uclibc.org
2007-10-07 18:23 ulf at uclibc.org
2007-10-07 18:20 ` Bernhard Fischer
2007-10-07 22:58   ` Ulf Samuelsson
2007-09-17 21:50 aldot at uclibc.org
2007-07-20  7:34 ulf at uclibc.org
2007-06-28 10:47 aldot at uclibc.org
2006-07-18 15:59 andersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070731180651.EC761A5E30@busybox.net \
    --to=aldot@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox