Re: [PATCH 02/15] scripts/sbom: integrate script in make process

From: Luis Augenstein

Date: Wed Apr 01 2026 - 07:23:22 EST


>> Ick, this might get messy as you can modify the compiler with the CC=
>> option to be anything. There are other build tools out there that do
>> much the same as ccache does (which I should have caught this as I use
>> ccache on my build systems), like distcc and friends, so this might just
>> want to look at the result of "CC" instead?
>
> Yeah, it would be much more robust to just look at $(CC) directly if it
> is set (i.e., running within Kbuild) vs. having a separate parser like
> this. If you want to keep a fallback for standalone usage for
> development and such, that's fine, but we should use the information we
> have available to be as accurate as possible.
>
> Cheers,
> Nathan

Ok, sounds good. I will work on that. Thanks.

--
Luis Augenstein * luis.augenstein@xxxxxxxxxxx * +49-152-25275761
TNG Technology Consulting GmbH, Beta-Str. 13, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Dr. Robert Dahlke, Thomas Endres
Aufsichtsratsvorsitzender: Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082

Attachment: OpenPGP_0x795C8ACACDDCFB34.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature