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? 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? -Toke _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel