Hi,

> On 5. Apr 2022, at 21:33, Bjørn Mork <bj...@mork.no> wrote:
> 
> Daniel Golle <dan...@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.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to