]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
On debug build, we don't strip.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Oct 2008 20:19:02 +0000 (22:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Oct 2008 20:19:02 +0000 (22:19 +0200)
tools/make-include

index dc08d2fc13b6b1ba058ee0db7614479851940d5b..1488affe142ca1497df11af1854cf70f880e97cd 100644 (file)
@@ -279,6 +279,12 @@ lfsmakecommoncheck()
                fi
        done
 
+       # On debug build, we don't strip
+       if [ "$1" == "strip" -a "$BUILD_DEBUG" == "1" ]; then
+               beautify result SKIP
+               return 1;
+       fi
+
        # Don't create addons?
        local EXTRA=`grep ^EXTRA $BASEDIR/lfs/$1 | awk '{print $3}'`
        if [ "$EXTRA" == "yes" -a "$BUILD_EXTRAS" == "0" ]; then