1comment "linux-backports needs a Linux kernel to be built" 2 depends on !BR2_LINUX_KERNEL 3 4config BR2_PACKAGE_LINUX_BACKPORTS 5 bool "linux-backports" 6 depends on BR2_LINUX_KERNEL 7 help 8 The linux-backports package includes many Linux drivers from 9 recent kernels, backported to older ones. 10 11 https://backports.wiki.kernel.org 12 13if BR2_PACKAGE_LINUX_BACKPORTS 14 15choice 16 prompt "Linux Backports version" 17 default BR2_PACKAGE_LINUX_BACKPORTS_5_15_X 18 help 19 Select the highest version that supports your kernel version. 20 21config BR2_PACKAGE_LINUX_BACKPORTS_5_15_X 22 bool "5.15.x (for kernels back to 4.4)" 23 24config BR2_PACKAGE_LINUX_BACKPORTS_5_10_X 25 bool "5.10.x (for kernels back to 3.10)" 26 27endchoice 28 29choice 30 prompt "Linux kernel driver backports configuration" 31 default BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG 32 33config BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG 34 bool "Using an in-tree defconfig file" 35 36config BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG 37 bool "Using a custom (def)config file" 38 39endchoice 40 41config BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG 42 string "Defconfig name" 43 depends on BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG 44 help 45 Name of the backports defconfig file to use, without the 46 leading defconfig-. The defconfig is located in defconfigs/ 47 directory in the backports tree. 48 49config BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE 50 string "Configuration file path" 51 depends on BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG 52 help 53 Path to the backports configuration file 54 55 Note: this can be a defconfig file or a complete .config 56 file, which can later be saved back with make 57 linux-update-(def)config. 58 59config BR2_PACKAGE_LINUX_BACKPORTS_CONFIG_FRAGMENT_FILES 60 string "Additional configuration fragment files" 61 help 62 A space-separated list of configuration fragment files, that 63 will be merged to the main linux-backports configuration file. 64 65endif # BR2_PACKAGE_LINUX_BACKPORTS 66