diff --git a/config/functions b/config/functions index 3909d7ff09..e0263de80c 100644 --- a/config/functions +++ b/config/functions @@ -507,7 +507,7 @@ show_config() { # strip debug_strip() { if [ ! "$DEBUG" = yes ]; then - find $* -type f -executable | xargs $STRIP 1>/dev/null || : + find $* -type f -executable | xargs $STRIP 2>/dev/null || : fi } diff --git a/scripts/create_addon b/scripts/create_addon index eac3bb590d..23270a1f92 100755 --- a/scripts/create_addon +++ b/scripts/create_addon @@ -158,6 +158,8 @@ pack_addon() { } if [ "$PKG_IS_ADDON" = "yes" ] ; then + setup_toolchain $TARGET + $SCRIPTS/build $@ printf "%${BUILD_INDENT}c CREATE ADDON ($PROJECT/$TARGET_ARCH) $1\n" ' '>&$SILENT_OUT @@ -167,6 +169,7 @@ if [ "$PKG_IS_ADDON" = "yes" ] ; then if [ "$(type -t addon)" = "function" ]; then addon + debug_strip $ADDON_BUILD/$PKG_ADDON_ID else echo "*** unsupported package format. please convert your package ***" exit 1