scripts/create_addon: fix debug_strip

This commit is contained in:
MilhouseVH 2017-07-15 18:29:23 +02:00 committed by cvh
parent 35f2d0c01c
commit cd5b1701ef

View File

@ -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
ADDON_INSTALL_DIR="$TARGET/$ADDONS/$ADDON_VERSION/${DEVICE:-$PROJECT}/$TARGET_ARCH/$PKG_ADDON_ID"
if [ -f $ADDON_INSTALL_DIR/$PKG_ADDON_ID-$ADDONVER.zip ] ; then
@ -169,13 +171,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