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.
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>
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.
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>
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>
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>