LibreELEC.wiki
  • Introduction
  • Support
    • Log Files
    • Updating
  • Installation
    • Create Media
    • Add-Ons
    • Containers
    • Security
  • Hardware
    • Allwinner
    • Amlogic
      • BananaPi M5 / M2S
      • LaFrite
      • WeTek Hub/Play2
    • NXP - iMX6/iMX8
    • Intel x86-64 (Generic)
      • Laptops
    • Qualcomm
    • Raspberry Pi
    • Rockchip
    • Samsung (Exynos)
    • Virtual Image
  • Configuration
    • 4K / HDR
    • Blu-Ray Playback
    • Config.txt
    • Cron
    • Dual Boot
    • EDID
    • Fonts
    • Hidden WiFi
    • Hypercon
    • Hyperion
    • Infra-Red Remotes
    • LCDProc
    • Network Boot
    • Pulseaudio
    • Safe Mode
    • Samba
    • SSL/TLS Certificates
    • Startup & Shutdown
    • Useful Scripts
    • WireGuard
  • How To
    • Add Firmware
    • Blacklist Kernel Module
    • Change Bootsplash
    • Force Add-on Update
    • Add content via Samba Shares
    • Mount Network Share
  • Development
    • Building (Basics)
    • Building (Docker)
    • Building (Advanced)
    • Building (Windows WSL)
    • Beginners Guide to Git
    • Build Commands
      • Build Commands (Add-ons)
      • Build Commands LE 12.0.x
      • Build Commands LE 11.0.x
      • Build Commands LE 10.0.x
      • Build Commands LE 9.2.x
      • Build Commands LE 9.0.x
      • Build Commands LE 8.2.x
      • Build Commands LE 8.0.x
      • Build Commands LE 7.0.x
    • Nightly Images
    • Release Management
    • Website
  • Project
    • Releases
    • Forks
    • Licenses
      • Source Code
      • Documentation
    • Mirrors
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Development
  2. Build Commands

Build Commands (Add-ons)

PreviousBuild CommandsNextBuild Commands LE 12.0.x

Last updated 1 year ago

Was this helpful?

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 tvheadend42

To compile all game.libretro add-ons:

PROJECT=Generic ARCH=x86_64 scripts/create_addon game.*

To compile all :

PROJECT=Generic ARCH=x86_64 scripts/create_addon binary

To compile all :

PROJECT=Generic ARCH=x86_64 scripts/create_addon official

To compile all add-ons:

PROJECT=Generic ARCH=x86_64 scripts/create_addon all

It is also possible to exclude specific add-ons:

PROJECT=Generic ARCH=x86_64 scripts/create_addon all -game.* -official -pvr.hts

To log errors to the $BUILD/logs/ directory:

PROJECT=Generic ARCH=x86_64 scripts/create_addon all --write-logs=errors

To show help and list all add-on building functions:

PROJECT=Generic ARCH=x86_64 scripts/create_addon --help

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.

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 all
https://github.com/LibreELEC/LibreELEC.tv/tree/master/packages/mediacenter/kodi-binary-addons
https://github.com/LibreELEC/LibreELEC.tv/tree/master/packages/addons