mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-04 01:05:23 +00:00
buildsystem: addons install minor cleanup
This commit is contained in:
@ -1155,6 +1155,8 @@ done
|
||||
}
|
||||
|
||||
install_addon_files() {
|
||||
mkdir -p "$1"
|
||||
|
||||
install_addon_source "$1"
|
||||
install_addon_images "$1"
|
||||
create_addon_xml "$1"
|
||||
|
@ -20,9 +20,7 @@ PKG_ADDON_PROJECTS="Slice Slice3"
|
||||
PKG_ADDON_TYPE="xbmc.service"
|
||||
|
||||
makeinstall_target() {
|
||||
PKG_ADDON_INSTALL_DIR="${INSTALL}/usr/share/kodi/addons/${PKG_SECTION}.${PKG_NAME}"
|
||||
mkdir -p "${PKG_ADDON_INSTALL_DIR}"
|
||||
install_addon_files "${PKG_ADDON_INSTALL_DIR}"
|
||||
install_addon_files "${INSTALL}/usr/share/kodi/addons/${PKG_SECTION}.${PKG_NAME}"
|
||||
}
|
||||
|
||||
addon() {
|
||||
|
@ -12,8 +12,6 @@ setup_toolchain target
|
||||
|
||||
ADDON_DIRECTORY="$ADDON_BUILD/$PKG_ADDON_ID"
|
||||
|
||||
mkdir -p "$ADDON_DIRECTORY"
|
||||
|
||||
install_addon_files "$ADDON_DIRECTORY"
|
||||
|
||||
debug_strip "$ADDON_DIRECTORY"
|
||||
|
Reference in New Issue
Block a user