You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
9 years ago
..
site build: add missing sitefile for i386 9 years ago
autotools.mk include: improve 'gettext-version' fixup 10 years ago
cmake.mk cmake.mk: enable -Bsymbolic-functions by default for linking shared libs, slightly improves performance and compression 9 years ago
debug.mk include: remove trailing whitespaces 9 years ago
depends.mk include: remove trailing whitespaces 9 years ago
device_table.txt image: ensure that /dev/console exist in rootfs images 11 years ago
download.mk include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184) 10 years ago
feeds.mk feeds: use common macro "FeedSourcesAppend" to populate opkg configurations 9 years ago
hardening.mk hardening: make override variables more intuitive 9 years ago
host-build.mk build: include homebrew include/library directory in cflags/ldflags on mac os x 9 years ago
host.mk include: remove trailing whitespaces 9 years ago
image.mk include/image.mk: make tar reproducible 9 years ago
kernel-build.mk kernel-build.mk: add .NOTPARALLEL 10 years ago
kernel-defaults.mk build: Allow kernel modules to set build ID debug symbol 9 years ago
kernel-version.mk kernel: update kernel 4.1 to version 4.1.11 9 years ago
kernel.mk kernel: assume modules.builtin is always present 9 years ago
netfilter.mk netfilter.mk: fix redirect module locations for 3.19+ 9 years ago
nls.mk nls.mk: add -rpath-link when needed for NLS support 9 years ago
package-bin.mk include: remove trailing whitespaces 9 years ago
package-defaults.mk gcc/musl: rework SSP-support 9 years ago
package-dumpinfo.mk include: remove trailing whitespaces 9 years ago
package-ipkg.mk package-ipkg.mk: fix typo (patch from #19540) 9 years ago
package-seccomp.mk include: add a seccomp filter install wrapper 9 years ago
package.mk buildroot: move hardening options into separate file 9 years ago
prereq-build.mk build: use host cflags/ldflags for openssl prereq check 9 years ago
prereq.mk build: do not overwrite already existing host commands 9 years ago
quilt.mk include: remove trailing whitespaces 9 years ago
scan.awk build: propagate override information to .packageinfo 9 years ago
scan.mk include/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file. 9 years ago
scons.mk fix up scons vs ccache 12 years ago
shell.sh include: remove trailing whitespaces 9 years ago
subdir.mk include: remove trailing whitespaces 9 years ago
target.mk target: remove nathelpers from default images (legacy) 9 years ago
toolchain-build.mk include: remove trailing whitespaces 9 years ago
toplevel.mk toplevel.mk: drop LD_LIBRARY_PATH overrides 9 years ago
uclibc++.mk toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues 11 years ago
unpack.mk include: remove trailing whitespaces 9 years ago
verbose.mk build: tell users to do non-paralle builds on errors 9 years ago
version.mk base-files: add URL option for OEM manufacturer info 9 years ago