openwrtv4/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 build: add missing sitefile for i386 2015-03-28 18:26:28 +00:00
autotools.mk include: improve 'gettext-version' fixup 2015-01-31 08:15:51 +00:00
cmake.mk cmake.mk: enable -Bsymbolic-functions by default for linking shared libs, slightly improves performance and compression 2015-04-19 18:33:07 +00:00
debug.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
depends.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
download.mk include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184) 2014-10-08 08:01:39 +00:00
feeds.mk feeds: use common macro "FeedSourcesAppend" to populate opkg configurations 2015-05-28 09:47:37 +00:00
hardening.mk hardening: make override variables more intuitive 2015-06-24 10:57:14 +00:00
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 include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
image.mk include/image.mk: make tar reproducible 2015-09-11 16:33:26 +00:00
kernel-build.mk kernel-build.mk: add .NOTPARALLEL 2014-10-12 15:00:19 +00:00
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 kernel: assume modules.builtin is always present 2015-07-05 21:31:34 +00:00
netfilter.mk netfilter.mk: fix redirect module locations for 3.19+ 2015-06-22 12:27:25 +00:00
nls.mk nls.mk: add -rpath-link when needed for NLS support 2015-09-07 08:03:34 +00:00
package-bin.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
package-defaults.mk gcc/musl: rework SSP-support 2015-06-22 10:31:07 +00:00
package-dumpinfo.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
package-ipkg.mk package-ipkg.mk: fix typo (patch from #19540) 2015-04-23 08:27:22 +00:00
package-seccomp.mk include: add a seccomp filter install wrapper 2015-03-26 10:57:56 +00:00
package.mk buildroot: move hardening options into separate file 2015-06-20 17:37:18 +00:00
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 include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
scan.awk build: propagate override information to .packageinfo 2015-02-09 12:09:31 +00:00
scan.mk include/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file. 2015-06-14 17:43:22 +00:00
scons.mk fix up scons vs ccache 2012-07-28 21:06:59 +00:00
shell.sh include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
subdir.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
target.mk target: remove nathelpers from default images (legacy) 2015-10-29 15:16:06 +00:00
toolchain-build.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
toplevel.mk toplevel.mk: drop LD_LIBRARY_PATH overrides 2015-10-03 09:49:24 +00:00
uclibc++.mk toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues 2013-05-09 20:50:49 +00:00
unpack.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
verbose.mk build: tell users to do non-paralle builds on errors 2015-04-16 12:18:26 +00:00
version.mk base-files: add URL option for OEM manufacturer info 2015-10-05 10:28:53 +00:00