LibreELEC.wiki
Search…
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
1
PROJECT=Generic ARCH=x86_64 scripts/create_addon tvheadend42
Copied!
To compile all game.libretro add-ons:
1
PROJECT=Generic ARCH=x86_64 scripts/create_addon game.*
Copied!
1
PROJECT=Generic ARCH=x86_64 scripts/create_addon binary
Copied!
1
PROJECT=Generic ARCH=x86_64 scripts/create_addon official
Copied!
To compile all add-ons:
1
PROJECT=Generic ARCH=x86_64 scripts/create_addon all
Copied!
It is also posssible to exclude specific add-ons:
1
PROJECT=Generic ARCH=x86_64 scripts/create_addon all -game.* -official -pvr.hts
Copied!
To log errors to the $BUILD/logs/ directory:
1
PROJECT=Generic ARCH=x86_64 scripts/create_addon all --write-logs=errors
Copied!
To show help and list all add-on building functions:
1
PROJECT=Generic ARCH=x86_64 scripts/create_addon --help
Copied!

Note

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.
1
PROJECT=ARM ARCH=arm DEVICE=ARMv7 scripts/create_addon all
2
PROJECT=ARM ARCH=arm DEVICE=ARMv8 scripts/create_addon all
Copied!
Last modified 11mo ago
Export as PDF
Copy link
Contents
Note