1132 Commits

Author SHA1 Message Date
Jernej Škrabec
a1716d42bb
Merge pull request #5545 from CvH/11.0/change_sha256
scripts/get_archive: allow changing sha256 on the fly
2021-09-19 12:05:18 +02:00
mglae
5789d3dff9 buildsystem: allow specifying our optimizing level for packages build with cmake
Using -DCMAKE_BUILD_TYPE=MinSizeRel result in finally building with -Os. Our default
optimization or '+speed' are ignored, behavior is like always using '+size'.

Changing to default -DCMAKE_BUILD_TYPE="" is not allowed by to many packages including
Kodi, they are forcing a default option (in worst case "Debug", e.g. llvm)

Redefine the cmake parameters to not include any options and do the same for host choosing
"Release" as build type.
2021-09-17 18:20:08 +02:00
Ian Leonard
ee99c226bb scripts/extract: less zealous quoting
Don't quote TAR_OPTS or PKG_TAR_COPY_OPTS on purpose as these are (or could be)
lists of options to tar.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-08-13 01:09:29 +00:00
Ian Leonard
7bbd968108 extract: cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-08-11 18:16:56 +00:00
Ian Leonard
a055e09c3b buildsystem: add .tar.zst handling for package tarballs
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-08-11 17:56:42 +00:00
CvH
c2c033d772
Merge pull request #5314 from ToKe79/libreelec-master/get_git
get_git: check only folder, not files
2021-08-11 13:19:46 +02:00
CvH
4807ea751a scripts/get_archive: allow changing sha256 on the fly 2021-08-10 19:51:45 +02:00
MartB
956779c240 genbuildplan: fix typo in circular dep. detection 2021-08-05 16:36:14 +02:00
mglae
c328de8278 build: export PKG_ORIG_SYSROOT_PREFIX
Required to create $PKG_NAME-config scripts in $TOOLCHAIN/bin
2021-07-01 23:42:56 +02:00
Alex Bee
f88d19b575 buildsystem: introduce $TARGET_KERNEL_PATCH_ARCH 2021-06-11 18:06:58 +02:00
Alex Bee
6560ed36ef Rockchip: u-boot: fix boot for RK3999-ROC-PC 2021-06-04 22:16:41 +02:00
Alex Bee
8d87ef9f77 Rockchip: exchange devicetrees for RK3399-ROC-PC and Rock Pi 4 2021-06-02 09:53:17 +02:00
mglae
c0c15bf059
Merge pull request #5402 from Portisch/do_not_strip_components
scripts/extract: add option 'PKG_TAR_STRIP_COMPONENTS'
2021-05-29 10:43:47 +02:00
Portisch
641caf3b52 scripts/extract: add option 'PKG_TAR_STRIP_COMPONENTS'
Some archive do not include a top level directory.
2021-05-28 08:33:36 +02:00
heitbaum
3cc4d90cda Rockchip (RK3399): add Radxa ROCK Pi N10 2021-05-28 04:00:52 +00:00
Tomáš Kelemen (vudiq)
64f9f95998 get_git: check only folder, not files
this prevents removal of potential archive files in the same sources
subfolder for a package
2021-04-11 22:04:13 +02:00
Jernej Skrabec
8a7ac3950d uboot_helper: Add Beelink GS1 Crust config 2021-03-31 19:41:03 +02:00
CvH
0e5e0512b7
Merge pull request #4482 from vpeter4/unpack-circular
unpack: prevent circular unpacking between two packages
2021-03-27 07:57:02 +01:00
Alex Bee
50336190c4 Rockchip: reduce number of images
In order to reduce the number of images, I trimed to build only the most basic version which allows to boot all revsions and has all capabilities we need. (People can replace dtb from /usr/share/bootloader)
I also dropped some boards where I found shortcomings in the device tree which might be easy to solve but I can't test and they were not supported in earlier releases.
2021-02-28 11:14:51 +01:00
Alex Bee
071cc4cee1 uboot_helper: fix config files names for RK3399 and RK3288 2021-02-17 21:46:44 +01:00
mglae
730db0768a autoreconf: support custom PKG_CONFIGURE_SCRIPT 2021-02-16 19:25:05 +01:00
Lukas Rusak
ea3df74224 scripts/uboot_helper: add iMX8 2021-02-08 13:25:48 -08:00
Michael Lange
c683091369 scripts/checkdeps: fix gentoo "/usr/inculde/stdio.h" 2021-02-07 14:46:41 +01:00
Ian Leonard
5c909e21f1 checkdeps: fixup and changes for Fedora 33
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-02-03 05:06:15 +00:00
Christian Hewitt
0f2c3e1994 scripts: add odroid-hc4 to uboot_helper 2021-01-31 15:11:56 +00:00
Jernej Skrabec
eb02a6365c uboot_helper: Add crust_config to some boards 2021-01-30 18:19:01 +01:00
Christian Hewitt
fb96fe278e
Merge pull request #4998 from lrusak/uboot-helper-argparse
uboot_helper: convert to use argparse
2021-01-29 05:08:21 +04:00
Christian Hewitt
c342e8f044
Merge pull request #5019 from antonlacon/genbuildplan
genbuildplan: convert to fstrings
2021-01-28 07:01:47 +04:00
Lukas Rusak
5a26b38e38 fixup! uboot_helper: convert to use argparse 2021-01-27 13:23:26 -08:00
Portisch
7e418be01c config|scripts: keep source more generic 2021-01-26 16:26:56 +01:00
Ian Leonard
63b70eef80 genbuildplan: convert to fstrings
Backslashes are illegal syntax within f-strings, so work around it with
chr(). chr(10) is UTF-8 character 10, aka Line feed, aka LF, aka "\n".

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-23 21:56:20 +00:00
Ian Leonard
4f800deb2c checkdeps: add qemu-user as req for native aarch64 Amlogic builds
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-23 21:42:05 +00:00
CvH
b10d15fc54
Merge pull request #4988 from knaerzche/rockchip-update
Rockchip update
2021-01-23 09:30:07 +01:00
CvH
3c1d308418
Merge pull request #4945 from antonlacon/checkdeps
checkdeps: cleanup
2021-01-23 09:27:07 +01:00
CvH
fb5a2cf4c5
Merge pull request #4989 from chewitt/imx6
iMX6: repackage cubox/udoo/wandboard images to use FDTDIR
2021-01-23 09:11:05 +01:00
Christian Hewitt
2eefeb6c06 iMX6: reduce UBOOT_SYSTEM options to cubox/udoo/wandboard 2021-01-23 06:51:47 +00:00
Jernej Skrabec
bbd9f80240 mkimage: copy overlays for u-boot images 2021-01-21 22:19:07 +01:00
CvH
e417de73bf
Merge pull request #4991 from jernejsk/crust-updt
Allwinner: Improve suspend/resume
2021-01-19 19:02:44 +01:00
Jernej Skrabec
f7d920227a uboot_helper: Add missing crust_config for A64 boards 2021-01-19 18:35:22 +01:00
Lukas Rusak
fb54b12cfd uboot_helper: convert to use argparse 2021-01-18 20:16:11 -08:00
CvH
d858872f27
Merge pull request #4906 from mglae/le10_check_toolchain
buildsystem: check wrong toolchain configuration
2021-01-18 20:00:56 +01:00
Alex Bee
fb250136fa rockchip: align uboot_helper and READMEs for currently supported boards 2021-01-18 00:28:58 +01:00
Ian Leonard
7472a164e1 checkdeps: add debug toggle
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-16 19:20:54 +00:00
Ian Leonard
75489fd17c checkdeps: remove option to add extra depends in project or distro options
Broken since November 2019 without complaint. Remove.

Revert this commit and add '. config/options ""' to scripts/checkdeps to restore
or look at having checkdeps source a function or call a script in the
distro/project/device directory to check for additional dependencies.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-16 19:19:47 +00:00
Ian Leonard
d655a20025 checkdeps: overhaul
Convert from using the indices of two arrays to establish a relationship
to using associative arrays to make the relationship direct in a
[key]=value pairing.

Move the qemu-binfmt-dep, et all, for native Rockchip builds out to the
project options file.

Don't recalculate needed deps if sudo isn't installed to add new packages;
just exit.

Rename Gentoo's python3 package to python. Specifying a slot would be how to
state a specific version of python on Gentoo. Regardless, python is a hard dep
of Gentoo's package manager so this will never come up in practice.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-16 18:26:21 +00:00
chewitt
7beb75fdaf amlogic: remove AMLG12 device and update AMLGX options 2021-01-13 10:43:45 +00:00
Jernej Skrabec
23e64b8622 uboot_helper: Add Tanix TX6 Crust config 2021-01-10 11:44:58 +01:00
mglae
c03f7a75a2 build: check package for wrong toolchain configured 2021-01-08 20:13:02 +01:00
Jernej Skrabec
d9bacba15b uboot_helper: Update Tanix TX6 U-Boot config file name 2021-01-06 18:20:57 +01:00
Jonas Karlman
b175b5d12f scripts/uboot_helper: update usage and comments after adding crust_config 2021-01-02 22:35:16 +00:00