trylink: s/strip/$STRIP/g
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 10 Oct 2007 10:05:35 +0000 (10:05 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 10 Oct 2007 10:05:35 +0000 (10:05 -0000)
scripts/trylink

index 524e83c92e31cb82edc66b79a2ed3ff51d6c1091..fc87df0325d1c2a12a21bb8c8f7cc26b26cddfdb 100755 (executable)
@@ -186,7 +186,7 @@ if test "$CONFIG_BUILD_LIBBUSYBOX" = y; then
        cat $EXE.out
        exit 1
     }
-    strip -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/libbusybox.so.$BB_VER"
+    $STRIP -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/libbusybox.so.$BB_VER"
     chmod a+x "$sharedlib_dir/libbusybox.so.$BB_VER"
     echo "libbusybox: $sharedlib_dir/libbusybox.so.$BB_VER"
 fi
@@ -208,7 +208,7 @@ if test "$CONFIG_FEATURE_SHARED_BUSYBOX" = y; then
        cat $EXE.out
        exit 1
     }
-    strip -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/busybox"
+    $STRIP -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/busybox"
     echo "busybox linked against libbusybox: $sharedlib_dir/busybox"
 fi
 
@@ -247,7 +247,7 @@ int main(int argc, char **argv)
            exit 1
        }
        rm -- "$sharedlib_dir/applet.c" $EXE.out
-       strip -s --remove-section=.note --remove-section=.comment $EXE
+       $STRIP -s --remove-section=.note --remove-section=.comment $EXE
 
     done <applet_lst.tmp
 fi