885 Commits

Author SHA1 Message Date
Alex Deryskyba
ce2d407491 scripts/mkimage: Fix an issue when device tree image is not included into SD card images for WeTek devices 2017-12-17 16:59:32 +02:00
Radostan Riedel
1315e7ae26
Merge pull request #2315 from adamg88/le90_s905
projects/S905: new project
2017-12-13 15:32:15 +01:00
Adam Green
5c07717d25
scripts/image: export more variables to scripts/mkimage for use
within project specific bootloader/mkimage scripts
2017-12-13 08:33:27 +00:00
Adam Green
5fc0b1087e
scripts/image: allow INSTALL_SRC_DIR to be board specific 2017-12-13 08:33:25 +00:00
MilhouseVH
64e55e4d82
Merge pull request #2311 from Kwiboo/create_addon
scripts/create_addon: improve PKG_ADDON_PROJECTS check
2017-12-13 03:00:07 +00:00
Christoph Gysin
6306c6a654 scripts/checkdeps: use bash native lowercase 2017-12-12 17:08:19 +02:00
Christoph Gysin
8268aa4928 scripts/checkdeps: expand short-circuits 2017-12-12 17:08:19 +02:00
Christian Hewitt
cee4921f1e
Merge pull request #2247 from christophgysin/checkdeps
Refactor scripts/checkdeps, fix missing deps
2017-12-12 06:52:38 +04:00
Jonas Karlman
6055dcfb9c scripts/create_addon: improve PKG_ADDON_PROJECTS check
Use same slightly more functional check as PKG_ARCH

Allows "any !DEVICE" to be interpreted as "any device, but not DEVICE"
2017-12-11 00:29:43 +01:00
Radostan Riedel
e1a965772d
Merge pull request #2260 from kszaq/data_partition_label
scripts/mkimage: add label to disk partition as well
2017-12-09 21:50:46 +01:00
kszaq
7d3bbed226 scripts/mkimage: add label to disk partition as well 2017-12-09 21:48:14 +01:00
Alex Deryskyba
b6d4415a31
Merge pull request #2269 from Raybuntu/wetekuboot
Fix image creation for WeTek Devices
2017-11-28 17:28:33 +02:00
Radostan Riedel
c36fada03b Fix image creation for WeTek Devices 2017-11-27 10:02:07 +01:00
MilhouseVH
54c3be9f91 squash: belt & braces 2017-11-25 03:02:53 +00:00
MilhouseVH
dc61719ae4 scripts/get: avoid flip-flopping downloads 2017-11-24 11:42:41 +00:00
Christoph Gysin
4d9c373906 scripts/checkdeps: replace all backticks 2017-11-23 08:52:33 +02:00
MilhouseVH
8ab6ed1ec5 NOOBS: shorten partition labels, add $DEVICE support 2017-11-23 04:00:37 +00:00
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
Matthias Reichl
a03bfcbd1a addons: allow packages to define the full version number
This is intended to disable automatic appending of PKG_REV
in case the full version number, including PKG_REV, has already
been setup in addon.xml by the package build script.

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 19:59:11 +02:00
Matthias Reichl
4b14c6c946 config/functions: only use PKG_ADDON_ID for install_binary_addon
Usage of PKG_NAME was a bug carried over from the original code
during refactoring. Since none of the addons set PKG_SECTION, and
therefore PKG_NAME and PKG_ADDON_ID were identical, this wasn't
noticed before.

Drop using PKG_NAME and only use PKG_ADDON_ID to fix this,
install_binary_addon can then also be used for addons which set
PKG_SECTION.

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 19:59:11 +02:00
Christian Hewitt
157816bac7 Merge pull request #2076 from Kwiboo/mkimage-patitions
scripts/mkimage: rename gpt partitions and use generated serial number
2017-10-12 21:33:12 +04:00
Christian Hewitt
09d09d240e Merge pull request #2087 from Raybuntu/6432
AArch64 projects: add 32-bit userspace support
2017-10-12 21:08:34 +04:00
Radostan Riedel
de9d1af69f AArch64 projects: add 32-bit userspace support 2017-10-12 10:07:43 +02:00
Christian Hewitt
0e838f9472 Merge pull request #2068 from CvH/9.0-addon-broken
add addon broken support to addon building
2017-10-12 11:00:41 +04:00
maideii
7121db0b95 added EFI 32bit support via GRUB2 - fixed Virtual config 2017-10-11 10:48:56 +08:00
maideii
03ec8f3048 added EFI 32bit support via GRUB2 - indentation mistake 2017-10-10 11:38:52 +08:00