Build Commands (Add-ons)
The build-system also builds a range of LibreELEC or Kodi binary add-ons. These follow the same basic build command syntax as an image build, e.g. to build Tvheadend 4.2
PROJECT=Generic ARCH=x86_64 scripts/create_addon tvheadend42To compile all game.libretro add-ons:
PROJECT=Generic ARCH=x86_64 scripts/create_addon game.*To compile all https://github.com/LibreELEC/LibreELEC.tv/tree/master/packages/mediacenter/kodi-binary-addons:
PROJECT=Generic ARCH=x86_64 scripts/create_addon binaryTo compile all https://github.com/LibreELEC/LibreELEC.tv/tree/master/packages/addons:
PROJECT=Generic ARCH=x86_64 scripts/create_addon officialTo compile all add-ons:
PROJECT=Generic ARCH=x86_64 scripts/create_addon allIt is also possible to exclude specific add-ons:
PROJECT=Generic ARCH=x86_64 scripts/create_addon all -game.* -official -pvr.htsTo log errors to the $BUILD/logs/ directory:
PROJECT=Generic ARCH=x86_64 scripts/create_addon all --write-logs=errorsTo show help and list all add-on building functions:
PROJECT=Generic ARCH=x86_64 scripts/create_addon --helpNote
In LibreELEC 10.x and newer ARM SoC devices (Allwinner, Amlogic, NXP, Qualcomm, Rockchip, Samsung) use the ARMv7 or ARMv8 project. This project uses a minimal distro configuration (disabling most features) to reduce the overall time spent on building add-on dependencies.
PROJECT=ARM ARCH=arm DEVICE=ARMv7 scripts/create_addon all
PROJECT=ARM ARCH=arm DEVICE=ARMv8 scripts/create_addon all
PROJECT=ARM ARCH=aarch64 DEVICE=ARMv8 scripts/create_addon allLast updated
Was this helpful?