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. Bjørn _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel