xref: /OK3568_Linux_fs/buildroot/package/linux-backports/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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	  This version of linux-backports supports kernels starting
12	  from 3.10.
13
14	  https://backports.wiki.kernel.org
15
16if BR2_PACKAGE_LINUX_BACKPORTS
17
18choice
19	prompt "Linux kernel driver backports configuration"
20	default BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG
21
22config BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG
23	bool "Using an in-tree defconfig file"
24
25config BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG
26	bool "Using a custom (def)config file"
27
28endchoice
29
30config BR2_PACKAGE_LINUX_BACKPORTS_DEFCONFIG
31	string "Defconfig name"
32	depends on BR2_PACKAGE_LINUX_BACKPORTS_USE_DEFCONFIG
33	help
34	  Name of the backports defconfig file to use, without the
35	  leading defconfig-. The defconfig is located in defconfigs/
36	  directory in the backports tree.
37
38config BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE
39	string "Configuration file path"
40	depends on BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG
41	help
42	  Path to the backports configuration file
43
44	  Note: this can be a defconfig file or a complete .config
45	  file, which can later be saved back with make
46	  linux-update-(def)config.
47
48config BR2_PACKAGE_LINUX_BACKPORTS_CONFIG_FRAGMENT_FILES
49	string "Additional configuration fragment files"
50	help
51	  A space-separated list of configuration fragment files, that
52	  will be merged to the main linux-backports configuration file.
53
54endif # BR2_PACKAGE_LINUX_BACKPORTS
55