mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/create_addon: fix debug_strip
This commit is contained in:
parent
738daa9499
commit
69480d9cef
@ -118,6 +118,8 @@ pack_addon() {
|
||||
-e "s|@PKG_ADDON_SCREENSHOT@|$PKG_ADDON_SCREENSHOT|g" \
|
||||
-i $ADDON_BUILD/$PKG_ADDON_ID/addon.xml
|
||||
|
||||
debug_strip $ADDON_BUILD/$PKG_ADDON_ID
|
||||
|
||||
if [ "$2" != "-test" ] ; then
|
||||
if [ -n "${DEVICE}" ]; then
|
||||
ADDON_INSTALL_DIR="$TARGET/$ADDONS/$ADDON_VERSION/$DEVICE/$TARGET_ARCH/$PKG_ADDON_ID"
|
||||
@ -177,13 +179,12 @@ 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
|
||||
fi
|
||||
|
||||
# HACK for packages tat provide multiple addons like screensavers.rsxs
|
||||
# HACK for packages that provide multiple addons like screensavers.rsxs
|
||||
# addon's addon() in package.mk should take care for exporting
|
||||
# MULTI_ADDONS="addon.boo1 addon.boo2 addon.boo3"
|
||||
if [ -n "$MULTI_ADDONS" ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user