Skip to content

chore(zone): clean up and reduce linux config - #239

Draft
alexandermerritt wants to merge 10 commits into
mainfrom
alexm/zone-slim-config
Draft

chore(zone): clean up and reduce linux config#239
alexandermerritt wants to merge 10 commits into
mainfrom
alexm/zone-slim-config

Conversation

@alexandermerritt

@alexandermerritt alexandermerritt commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Our current fragment is quite small.

What that means: default-enabled config options in Kconfig that are not explicitly disabled in our fragment, will be enabled once merged with a defconfig for the architecture. Examples include wireless hardware support and networking, bluetooth, sound, etc. which we all do not need for zone kernels.

Goals: reduce the amount of text in the kernel, second to reduce build times.

This is one of many in the future to come; we'll need to is not set any default-enabled configuration options we do not want. For future kernels, we'll need to check for any newly introduce configuration options that are default-enabled and repeat for them.

I'd like to properly generate the fragment rather than have us go with manually editing the config when we want to tweak something.

@alexandermerritt
alexandermerritt force-pushed the alexm/zone-slim-config branch 2 times, most recently from e7262ac to 3c07402 Compare August 12, 2026 03:16
Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
@alexandermerritt
alexandermerritt force-pushed the alexm/zone-slim-config branch 3 times, most recently from 8566dca to 18f0343 Compare August 13, 2026 21:09
These were removed in prior versions of kernels.

Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
base zone config has gpu support explicitly disabled now

Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
No functional changes.

Options removed are prompt-less (not available for selection the
menuconfig) and KMS_HELPER resolves to y via another option that
`select`s it explicitly.

Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
Remove options that are either prompt-less,
default enabled, or selected from other options.

Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
@alexandermerritt alexandermerritt changed the title chore(zone): reduce linux config chore(zone): clean up and reduce linux config Aug 13, 2026
Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
@alexandermerritt

Copy link
Copy Markdown
Contributor Author

Kernel build times don't seem to be reducing for the zones... still 30-40min. I notice in the Kernel builds there is still

  CC [M]  drivers/usb/gadget/composite.o
  CC [M]  drivers/media/rc/keymaps/rc-tanix-tx3mini.o
  CC [M]  drivers/media/rc/keymaps/rc-tanix-tx5max.o
  CC [M]  drivers/media/rc/keymaps/rc-tbs-nec.o
  CC      drivers/ptp/ptp_chardev.o
  CC [M]  drivers/usb/gadget/functions.o
  CC [M]  drivers/media/rc/keymaps/rc-technisat-ts35.o
  CC [M]  drivers/media/rc/keymaps/rc-technisat-usb2.o

USB and the keymaps are something I explicitly disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant