buildroot/package/linux-backports/Config.in
Julien Olivain c52fedf063 package/linux-backports: bump version to 5.8
Attempting to compile this package with newer Kernel version (e.g. v5.4)
fails with message:

   Generating local configuration database from kernel ...Kernel version parse failed!

Upgrading the package to 5.8 fixes this issue. Anyways, v4.4 is now
rather old and beat the very purpose of having newer drivers in older
kernels.

Since backports tag v4.14-rc4-1, the requirement on minimal kernel
version changed from 3.0 to 3.10. See commit [1]. The minimal kernel
version check is changed accordingly.

License files are also updated: the linux backports package copies the
license files from the kernel version used for its generation. v5.8 is
now "GPL-2.0 WITH Linux-syscall-note". However, there is no such SPDX
identifier (contrary to what is said in the COPYING file), so we keep it
as GPL-2.0 (which also keeps it aligned to what we have in linux.mk).

[1] https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/commit/?id=a0d05f9f9ca50ea8b1d60726fac6b54167257e76

Signed-off-by: Julien Olivain <ju.o@free.fr>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
[yann.morin.1998@free.fr: keep license as GPL-2.0, like for linux]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-11-17 22:01:34 +01:00

55 lines
1.6 KiB
Plaintext

comment "linux-backports needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_LINUX_BACKPORTS
bool "linux-backports"
depends on BR2_LINUX_KERNEL
help
The linux-backports package includes many Linux drivers from
recent kernels, backported to older ones.
This version of linux-backports supports kernels starting
from 3.10.
https://backports.wiki.kernel.org
if BR2_PACKAGE_LINUX_BACKPORTS
choice
prompt "Linux kernel driver backports configuration"
default BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG
config BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG
bool "Using an in-tree defconfig file"
config BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG
bool "Using a custom (def)config file"
endchoice
config BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG
string "Defconfig name"
depends on BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG
help
Name of the backports defconfig file to use, without the
leading defconfig-. The defconfig is located in defconfigs/
directory in the backports tree.
config BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE
string "Configuration file path"
depends on BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG
help
Path to the backports configuration file
Note: this can be a defconfig file or a complete .config
file, which can later be saved back with make
linux-update-(def)config.
config BR2_PACKAGE_LINUX_BACKPORTS_CONFIG_FRAGMENT_FILES
string "Additional configuration fragment files"
help
A space-separated list of configuration fragment files, that
will be merged to the main linux-backports configuration file.
endif # BR2_PACKAGE_LINUX_BACKPORTS