Skip to content

linux: allow packages to set kconfig options (branch yem/pkg-linux-opts)

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22core/pkg-utils: rationalise kconfig option manglingpackage/pkg-utils.mk+10 -121 reply
2/22core/pkg-utils: kconfig mangling defaults to current package's .configpackage/pkg-kconfig.mk package/pkg-utils.mk+15 -62 replies
3/22boot/barebox: don't specify .config to mungeboot/barebox/barebox.mk+2 -20 replies
4/22boot/uboot: don't specify .config to mungeboot/uboot/uboot.mk+2 -40 replies
5/22boot/busybox: don't specify .config to mungepackage/busybox/busybox.mk+35 -360 replies
6/22boot/swupdate: don't specify .config to mungepackage/swupdate/swupdate.mk+2 -20 replies
7/22boot/uclibc: don't specify .config to mungepackage/uclibc/uclibc.mk+76 -760 replies
8/22linux: don't specify .config to mungelinux/linux.mk+70 -700 replies
9/22linux: allow packages to set optionsdocs/manual/adding-packages-generic.txt linux/linux.mk package/pkg-generic.mk+13 -01 reply
10/22package/audit: bear the kernel options munginglinux/linux.mk package/audit/audit.mk+5 -31 reply
11/22package/intel-micro-code: bear the kernel options munginglinux/linux.mk package/intel-microcode/intel-microcode.mk+5 -30 replies
12/22package/ktap: bear the kernel options munginglinux/linux.mk package/ktap/ktap.mk+7 -50 replies
13/22package/pcm-tools: bear the kernel options munginglinux/linux.mk package/pcm-tools/pcm-tools.mk+4 -20 replies
14/22package/linux-tools/perf: bear the kernel options munginglinux/linux.mk package/linux-tools/linux-tool-perf.mk.in+4 -21 reply
15/22package/systemd: bear the kernel options munginglinux/linux.mk package/systemd/systemd.mk+9 -70 replies
16/22package/smack: bear the kernel options munginglinux/linux.mk package/smack/smack.mk+6 -40 replies
17/22package/sunxi-mali-mainline-driver: bear the kernel options munginglinux/linux.mk package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk+5 -30 replies
18/22package/iptables: bear the kernel options munginglinux/linux.mk package/iptables/iptables.mk+7 -50 replies
19/22package/xtables-addons: bear the kernel options munginglinux/linux.mk package/xtables-addons/xtables-addons.mk+7 -50 replies
20/22package/wireguard-linux-compat: bear the kernel options munginglinux/linux.mk package/wireguard-linux-compat/wireguard-linux-compat.mk+8 -60 replies
21/22package/libselinux: bear the kernel options munginglinux/linux.mk package/libselinux/libselinux.mk+10 -82 replies
22/22package/kernel-module-imx-gpu-viv: bear the kernel options munginglinux/linux.mk package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk+4 -20 replies

Reviews trailers per patch

1 of 22 patches has a Reviewed-by or Acked-by.

PatchMatt WeberAdam Duskett
1/22
2/22
3/22
4/22
5/22
6/22
7/22
8/22
9/22
10/22Review-by
11/22
12/22
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22R-b R-b T-b
22/22

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 00/22] linux: allow packages to set kconfig options (branch yem/pkg-linux-opts)

Hello All!

Currently, in the spirit of making it work out of the box, we have some linux kconfig options set depending on whether some packages are enabled or not.

This list has been slowly growing over time, with now more than half of the kernel options being set by packages. Yet, some more packages will eventualy want to set some options, like the pending firewalld giant hairball [0]; this is going to be an insane and unmaintainable list.

Furthermore, there is no mechanism to allow packages from a br2-external tree to easily provide options to be set in the kernel config.

This series brings in such a mechanism, for packages to be able to provide a way to set linux kernel options, be they in-tree packages or not.

Additionally, this makes the list more manageable, by splitting it over to the responsible packages.

Finally, it brings a nice cleanup, where we no longer have to repeat the knowledge of how the .config file is named, as the name from the pkg-kconfig infra gets reused.

[0] http://lists.busybox.net/pipermail/buildroot/2020-March/278683.html

Regards,
Yann E. MORIN.

The following changes since commit 9daf7483e9cf86d86797e799c73be80dbbbb9acf

package/ntp: security bump to version 4.2.8p14 (2020-04-03 10:04:25 +0200)

are available in the git repository at:

git://git.buildroot.org/~ymorin/git/buildroot.git

for you to fetch changes up to 681cc941334365689dadc41143521d842cd98189

package/kernel-module-imx-gpu-viv: bear the kernel options munging (2020-04-04 13:50:16 +0200)

----------------------------------------------------------------
Yann E. MORIN (22):
core/pkg-utils: rationalise kconfig option mangling core/pkg-utils: kconfig mangling defaults to current package's .config boot/barebox: don't specify .config to munge
boot/uboot: don't specify .config to munge
boot/busybox: don't specify .config to munge boot/swupdate: don't specify .config to munge
boot/uclibc: don't specify .config to munge
linux: don't specify .config to munge
linux: allow packages to set options
package/audit: bear the kernel options munging package/intel-micro-code: bear the kernel options munging package/ktap: bear the kernel options munging package/pcm-tools: bear the kernel options munging package/linux-tools/perf: bear the kernel options munging package/systemd: bear the kernel options munging package/smack: bear the kernel options munging package/sunxi-mali-mainline-driver: bear the kernel options munging package/iptables: bear the kernel options munging package/xtables-addons: bear the kernel options munging package/wireguard-linux-compat: bear the kernel options munging package/libselinux: bear the kernel options munging package/kernel-module-imx-gpu-viv: bear the kernel options munging

 boot/barebox/barebox.mk                            |   4 +-
 boot/uboot/uboot.mk                                |   6 +-
 docs/manual/adding-packages-generic.txt            |   9 ++
 linux/linux.mk                                     | 112 ++++-----------
 package/audit/audit.mk                             |   5 +
 package/busybox/busybox.mk                         |  71 +++++-----
 .../kernel-module-imx-gpu-viv.mk                   |   4 +
 package/intel-microcode/intel-microcode.mk         |   5 +
 package/iptables/iptables.mk                       |   7 +
 package/ktap/ktap.mk                               |   7 +
 package/libselinux/libselinux.mk                   |  10 ++
 package/linux-tools/linux-tool-perf.mk.in          |   4 +
 package/pcm-tools/pcm-tools.mk                     |   4 +
 package/pkg-generic.mk                             |   3 +
 package/pkg-kconfig.mk                             |   2 +
 package/pkg-utils.mk                               |  27 ++--
 package/smack/smack.mk                             |   6 +
 .../sunxi-mali-mainline-driver.mk                  |   5 +
 package/swupdate/swupdate.mk                       |   4 +-
 package/systemd/systemd.mk                         |   9 ++
 package/uclibc/uclibc.mk                           | 152 ++++++++++-----------
 .../wireguard-linux-compat.mk                      |   8 ++
 package/xtables-addons/xtables-addons.mk           |   7 +
 23 files changed, 257 insertions(+), 214 deletions(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'