Re: [PATCH v1] kbuild: Allow building of samples with UML

2025-02-11 Thread Nicolas Schier
On Tue, Feb 11, 2025 at 06:44:30PM +0900, Masahiro Yamada wrote: > On Wed, Dec 18, 2024 at 8:51 PM Mickaël Salaün wrote: > > > > It's useful to build samples/* with UML and the only blocker is the > > artificial incompatibility with CONFIG_HEADERS_INSTALL. > > > > Allow the headers_install target

Re: [PATCH v1] kbuild: Allow building of samples with UML

2025-02-11 Thread Masahiro Yamada
On Wed, Dec 18, 2024 at 8:51 PM Mickaël Salaün wrote: > > It's useful to build samples/* with UML and the only blocker is the > artificial incompatibility with CONFIG_HEADERS_INSTALL. > > Allow the headers_install target with ARCH=um, which then allow building > samples (and tests using them) with

Re: [PATCH v1] kbuild: Allow building of samples with UML

2025-02-10 Thread Nicolas Schier
On Wed, Dec 18, 2024 at 12:51:23PM +0100, Mickaël Salaün wrote: > It's useful to build samples/* with UML and the only blocker is the > artificial incompatibility with CONFIG_HEADERS_INSTALL. > > Allow the headers_install target with ARCH=um, which then allow building > samples (and tests using th

[PATCH v1] kbuild: Allow building of samples with UML

2024-12-18 Thread Mickaël Salaün
It's useful to build samples/* with UML and the only blocker is the artificial incompatibility with CONFIG_HEADERS_INSTALL. Allow the headers_install target with ARCH=um, which then allow building samples (and tests using them) with UML too: printf 'CONFIG_SAMPLES=y\nCONFIG_HEADERS_INSTALL=y\n