debugging: do not require no stripping
authorMike Frysinger <vapier@gentoo.org>
Mon, 7 Feb 2011 05:49:10 +0000 (00:49 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 7 Feb 2011 07:50:31 +0000 (08:50 +0100)
The stripping options operate on the final image and not the intermediate
builds, so requiring stripping to be disabled just to enable debugging
options doesn't make much sense.  Especially when working with gdbserver:
only the host needs the debugging information to be available.  The board
can run & debug perfectly fine without it.

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Config.in

index af26bbebb9d591de1986cc78bbeed2a3500e1626..c992c5befe908b8ea1631ed78e322ea32a20af26 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -219,14 +219,14 @@ choice
 
 config BR2_STRIP_strip
        bool "strip"
-       depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
+       depends on !BR2_ELF2FLT
        help
          strip   is the normal strip command
 
 config BR2_STRIP_sstrip
        bool "sstrip"
        select BR2_PACKAGE_SSTRIP_HOST
-       depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
+       depends on !BR2_ELF2FLT
        help
          sstrip  is a strip that discards more than the normal strip