Commit Graph

668 Commits

Author SHA1 Message Date
Christoph Gysin
26817d5880 scripts/checkdeps: add missing dependency
perl module XML::Parser is needed to build intltool
2017-11-23 00:37:21 +02:00
Christoph Gysin
0df9c0de64 scripts/checkdeps: simplify checking for perl modules 2017-11-23 00:32:16 +02:00
Christoph Gysin
1ed4316d76 scripts/checkdeps: support grouping dependencies 2017-11-23 00:19:03 +02:00
Christoph Gysin
a33d54695d scripts/checkdeps: use bash arrays 2017-11-23 00:17:04 +02:00
Christoph Gysin
6dd752a283 scripts/checkdeps: extract duplicate code 2017-11-22 23:53:36 +02:00
MilhouseVH
e0b833c782 buildsystem: remove grep from PKG_ARCH check
More efficient, slightly more functional.

Can be a space delimited list of architectures.

Architectures to be excluded can be specified with !ARCH.

Allows "any !arm" to be interpreted as "any arch, but not arm".

Blank/undefined is equivalent to "any".
2017-11-22 00:49:51 +01:00
Sascha Kuehndel (InuSasha)
430f6e33a0 buildsystem: set PKG_TOOLCHAIN for multiple packages 2017-11-22 00:49:45 +01:00
Sascha Kuehndel (InuSasha)
68ea042161 buildsystem: reduce cascaded if-blocks (stamp and virtual) 2017-11-22 00:45:47 +01:00
Sascha Kuehndel (InuSasha)
3cd7be6023 buildsystem: rework build script 2017-11-22 00:45:41 +01:00
Lukas Rusak
561d22515f scripts/mkimage: use uuid for partitions on RPi 2017-11-17 23:15:37 -08:00
Lukas Rusak
704a6d3cd3 Merge pull request #2202 from MilhouseVH/le90_fix_create_addon
scripts/create_addon: simplify PROJECT selection, support DEVICE
2017-11-12 13:12:17 -08:00
Lukas Rusak
50c0a1d4bb scripts/image: restore old functionality 2017-11-11 11:53:57 -08:00
Lukas Rusak
5da14cfce5 u-boot: allow using UBOOT_SYSTEM 2017-11-11 10:32:53 -08:00
MilhouseVH
cf9dcd27c1 scripts/create_addon: simplify PROJECT selection, support DEVICE 2017-11-11 17:36:01 +00:00
dolorosus
c712e33266 Add linuxmint to checkdeps 2017-10-31 10:54:26 +01:00
Jonas Karlman
9aae246d3c Merge pull request #2100 from Raybuntu/linarobump
New package gcc-linaro-aarch64-linux-gnu
2017-10-30 21:40:06 +01:00
MilhouseVH
8df5e50fe8 scripts/checkdeps: add python 2017-10-28 17:01:06 +01:00
Lukas Rusak
ce744dbda5 scripts/build: add meson to buildsystem 2017-10-20 14:18:59 -07:00
Radostan Riedel
2c3ae36680 New package gcc-linaro-aarch64-linux-gnu
Odroid_C2: move gcc-linaro-aarch64-elf to projects
Odroid_C2: move gcc-linaro-arm-eabi to projects
2017-10-16 10:04:11 +02:00
Lukas Rusak
1d7f6e733e Merge pull request #2080 from MilhouseVH/le90_more_bs_optimisations
buildsystem: more optimisations
2017-10-14 14:34:56 -07:00
Lukas Rusak
01f3934769 Merge pull request #2079 from Kwiboo/apply-patches
scripts/unpack: apply more patches
2017-10-14 10:12:57 -07:00
Lukas Rusak
e119599518 scripts/build: use ninja for cmake builds 2017-10-13 15:01:50 -07:00
MilhouseVH
41dd8f9534 Merge pull request #2061 from maideii/libreelec-8.2
added EFI 32bit support via GRUB2
2017-10-12 23:05:17 +01:00
Matthias Reichl
ad9e8dc372 Add support for kernel overlays
Core Kernel modules are now installed to
/usr/lib/kernel-overlays/base/lib/modules instead of /usr/lib/modules

Firmware files are installed to
/usr/lib/kernel-overlays/base/lib/firmware instead of /usr/lib/firmware

Packages can choose to install their modules and/or firmwareinto a
different overlay directory than base so they are not automatically enabled.

A new systemd service kernel-overlays, which is run before any modules
are loaded, adds overlays enabled via /storage/.cache/kernel-overlays/*.conf

These conf files must either contain the name of a system overlay,
which will then be searched for in /usr/lib/kernel-overlays/, or an
absolute path starting with '/'.

Overlaying is implemented by symlinking files from the overlays
to /usr/lib/modules and /usr/lib/firmware as not all platforms
support overlayfs.

This overlaying system can also be used by addons to provide optional
kernel modules and/or firmware by storing the absolute path to the addon
directory in the conf file and shipping kernel modules in
<addondir>/lib/modules/<KERNELVER>.

To save space only symlinks for modules matching the currently
running kernel version are created as addons may want to ship
modules for older kernel versions as well to be backward-compatible
to older LibreELEC versions.

Changes since v1:
- fixup kernel-overlays-service: add before kmod-static-nodes.service
  Fix static device nodes for module autoloading not being created.
- fixup kernel-overlays-service: fail if /usr/lib/modules exists
- squash kernel overlays: use get_kernel_overlay_dir in linux/package.mk
- Add support for firmware files via kernel overlays
- config/functions: include kernel overlays in addon installation

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 20:04:02 +02:00
Matthias Reichl
eee1d7ac63 addons: move addon installation functions to config/functions
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 19:59:11 +02:00