On Mon, Apr 07, 2025 at 09:42:41AM +0200, Thomas Weißschuh wrote:
> Various subsystems embed non-code build artifacts into the kernel,
> for example the initramfs, /proc/config.gz, vDSO image, etc.
> Currently each user has their own implementation for that.
> 
> Add a common "blob" framework to provide this functionality.
> It provides standard kbuild and C APIs to embed and later access non-code
> build artifacts into the kernel image or modules.
> 
> Signed-off-by: Thomas Weißschuh <[email protected]>
> 
> ---
> Due to its closeness to kbuild this is currently added to its MAINTAINER 
> entry.
> But I can also maintain it on its own.
> ---
>  Documentation/kbuild/makefiles.rst | 23 +++++++++++++++++++++--
>  MAINTAINERS                        |  2 ++
>  include/linux/blob.h               | 32 ++++++++++++++++++++++++++++++++
>  scripts/Makefile.blobs             | 19 +++++++++++++++++++
>  scripts/Makefile.build             |  6 ++++++
>  scripts/Makefile.clean             |  2 +-
>  scripts/blob-wrap.c                | 27 +++++++++++++++++++++++++++
>  7 files changed, 108 insertions(+), 3 deletions(-)

Thanks, looks good to me and I like the design!

Reviewed-by: Nicolas Schier <[email protected]>

-- 
Nicolas Schier

Reply via email to