From aa1edddea008f17b5e0cb298fbface0f8eda6d0a Mon Sep 17 00:00:00 2001 From: kszaq Date: Thu, 9 Feb 2017 00:05:26 +0100 Subject: [PATCH] scripts/create_addon: always setup toolchain when creating addon If addon wants to strip binaries we need to have STRIP set up. Without running 'build' setup_toolchain is not called and stripping fails. Make sure we also setup paths before creating package. --- scripts/create_addon | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/create_addon b/scripts/create_addon index 98af90bc05..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