On 2015-10-30 15:17, Toke Høiland-Jørgensen wrote: > Felix Fietkau <n...@openwrt.org> writes: > >> How about this: add it per-package, but add it in a way that you can set >> PKG_BUILD_ID:=$(PKG_SOURCE_VERSION) and this will add the linker command >> and disable the build-id stripping. > > Would definitely work. The problem is I'm not sure I quite grok the > openwrt build system sufficiently to do this correctly. Guess I need to > get the linker flag into KERNEL_MAKEOPTS? Yes. It's in kernel-defaults.mk
> Can go looking for that, but > that still leaves the problem of signaling the strip-kmod.sh script > correctly -- can I get at per-package variables in rules.mk where the > RSTRIP invocation is defined? You can add it wrapped in $(if ...) to rules.mk to the other exports in the RSTRIP variable. - Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel