All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 00/22] linux: allow packages to set kconfig options (branch yem/pkg-linux-opts)
@ 2020-04-04 12:10 Yann E. MORIN
  2020-04-04 12:10 ` [Buildroot] [PATCH 01/22] core/pkg-utils: rationalise kconfig option mangling Yann E. MORIN
                   ` (22 more replies)
  0 siblings, 23 replies; 32+ messages in thread
From: Yann E. MORIN @ 2020-04-04 12:10 UTC (permalink / raw)
  To: buildroot

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(-)

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

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2020-08-30  7:54 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-04 12:10 [Buildroot] [PATCH 00/22] linux: allow packages to set kconfig options (branch yem/pkg-linux-opts) Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 01/22] core/pkg-utils: rationalise kconfig option mangling Yann E. MORIN
2020-08-30  7:54   ` Peter Korsgaard
2020-04-04 12:10 ` [Buildroot] [PATCH 02/22] core/pkg-utils: kconfig mangling defaults to current package's .config Yann E. MORIN
2020-05-01 13:55   ` Thomas Petazzoni
2020-08-30  7:54   ` Peter Korsgaard
2020-04-04 12:10 ` [Buildroot] [PATCH 03/22] boot/barebox: don't specify .config to munge Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 04/22] boot/uboot: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 05/22] boot/busybox: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 06/22] boot/swupdate: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 07/22] boot/uclibc: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 08/22] linux: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 09/22] linux: allow packages to set options Yann E. MORIN
2020-05-01 13:56   ` Thomas Petazzoni
2020-04-04 12:10 ` [Buildroot] [PATCH 10/22] package/audit: bear the kernel options munging Yann E. MORIN
2020-04-06 12:10   ` Matthew Weber
2020-04-04 12:10 ` [Buildroot] [PATCH 11/22] package/intel-micro-code: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 12/22] package/ktap: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 13/22] package/pcm-tools: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 14/22] package/linux-tools/perf: " Yann E. MORIN
2020-05-01 13:57   ` Thomas Petazzoni
2020-04-04 12:10 ` [Buildroot] [PATCH 15/22] package/systemd: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 16/22] package/smack: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 17/22] package/sunxi-mali-mainline-driver: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 18/22] package/iptables: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 19/22] package/xtables-addons: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 20/22] package/wireguard-linux-compat: " Yann E. MORIN
2020-04-04 12:10 ` [Buildroot] [PATCH 21/22] package/libselinux: " Yann E. MORIN
2020-04-06 12:08   ` Matthew Weber
2020-04-19 18:14     ` Adam Duskett
2020-04-04 12:10 ` [Buildroot] [PATCH 22/22] package/kernel-module-imx-gpu-viv: " Yann E. MORIN
2020-05-01 13:54 ` [Buildroot] [PATCH 00/22] linux: allow packages to set kconfig options (branch yem/pkg-linux-opts) Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.