mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
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.
This commit is contained in:
parent
55bafe4c72
commit
aa1edddea0
@ -158,6 +158,8 @@ pack_addon() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [ "$PKG_IS_ADDON" = "yes" ] ; then
|
if [ "$PKG_IS_ADDON" = "yes" ] ; then
|
||||||
|
setup_toolchain $TARGET
|
||||||
|
|
||||||
$SCRIPTS/build $@
|
$SCRIPTS/build $@
|
||||||
|
|
||||||
printf "%${BUILD_INDENT}c CREATE ADDON ($PROJECT/$TARGET_ARCH) $1\n" ' '>&$SILENT_OUT
|
printf "%${BUILD_INDENT}c CREATE ADDON ($PROJECT/$TARGET_ARCH) $1\n" ' '>&$SILENT_OUT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user