[PATCH/RFC] kernel-defaults.mk: get rid of BuildID
Bjørn Mork
bjorn at mork.no
Tue Apr 5 12:33:20 PDT 2022
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.
Bjørn
More information about the openwrt-devel
mailing list