Re: [PATCH v2 04/11] kbuild: introduce blob framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <thomas.weissschuh@xxxxxxxxxxxxx>
> 
> ---
> 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 <n.schier@xxxxxx>

-- 
Nicolas Schier




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux