Openwrt/include
Felix Fietkau 3bbb927728 build: Allow kernel modules to set build ID debug symbol
This change adds support for specifying a build ID for kernel modules.
This is done by setting PKG_BUILD_ID to a hexadecimal string, which will
then be passed to the kernel linker. In addition, when this flag is set,
the build ID debug symbol (.note.gnu.build-id) will not be stripped from
the kernel module. This symbol is exported in sysfs by the kernel (if
the kernel is compiled with CONFIG_KALLSYMS) and so can be used to
uniquely identify a version of a kernel module in a running kernel. This
is useful for keeping track of different versions of a module when doing
experiments and development.

Modules that specify the build ID will be ~100 bytes larger (depending
on the length of the build ID specified). There is no size difference
for kernel modules that do not set this variable.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>

SVN-Revision: 47290
2015-10-30 15:20:12 +00:00
..
site
autotools.mk
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk
feeds.mk
hardening.mk
host-build.mk build: include homebrew include/library directory in cflags/ldflags on mac os x 2015-10-05 14:11:30 +00:00
host.mk
image.mk include/image.mk: make tar reproducible 2015-09-11 16:33:26 +00:00
kernel-build.mk
kernel-defaults.mk build: Allow kernel modules to set build ID debug symbol 2015-10-30 15:20:12 +00:00
kernel-version.mk kernel: update kernel 4.1 to version 4.1.11 2015-10-25 17:32:01 +00:00
kernel.mk
netfilter.mk
nls.mk nls.mk: add -rpath-link when needed for NLS support 2015-09-07 08:03:34 +00:00
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk
prereq-build.mk build: use host cflags/ldflags for openssl prereq check 2015-10-05 14:11:25 +00:00
prereq.mk build: do not overwrite already existing host commands 2015-09-16 12:38:16 +00:00
quilt.mk
scan.awk
scan.mk
scons.mk
shell.sh
subdir.mk
target.mk target: remove nathelpers from default images (legacy) 2015-10-29 15:16:06 +00:00
toolchain-build.mk
toplevel.mk toplevel.mk: drop LD_LIBRARY_PATH overrides 2015-10-03 09:49:24 +00:00
uclibc++.mk
unpack.mk
verbose.mk
version.mk base-files: add URL option for OEM manufacturer info 2015-10-05 10:28:53 +00:00