[PATCH/RFC] kernel-defaults.mk: get rid of BuildID
Paul Spooren
mail at aparcar.org
Thu Apr 7 03:29:22 PDT 2022
Hi,
> On 5. Apr 2022, at 21:33, Bjørn Mork <bjorn at mork.no> wrote:
>
> Daniel Golle <daniel at makrotopia.org> writes:
>
>> You probably meant LDFLAGS_vmlinux because from what I understand
>> KBUILD_LDFLAGS_MODULE only applies when building modules but not when
>> linking vmlinux.
>> As ld only cares about the last mentioned --build-id= parameter
>> supplied, we can override it using KBUILD_LDFLAGS (which should apply
>> to both, vmlinux.elf as well as modules).
>> I haven't tried any of that yet though.
>
> How about simply making this configurable upstream? If more than one
> distro needs it, then I can't imagine it should be a problem to get have
> it accepted. Possibly with a "depends on EXPERT" or similar.
>
I created a patch which we could test downstream:
https://github.com/openwrt/openwrt/pull/9669
Since it’s used by friends over at Debian too, we might want to get it upstream.
More information about the openwrt-devel
mailing list