include/kernel: add custom USER/DOMAIN config options
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 Jan 2016 22:42:34 +0000 (22:42 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 Jan 2016 22:42:34 +0000 (22:42 +0000)
commit4b0ded2ce4b94f16c4ecf167d9707a507ce20928
treef555103516dd60d641a647758d4288e8fcbbeccb
parenta0a9483637a915bcb81d98cb25a857be15b5ef5e
include/kernel: add custom USER/DOMAIN config options

These allow the generated kernel's build metadata to be defined explicitly.
This metadata is reported, eg, at boot time and in `uname -a` on running
systems. If the variables aren't configured, the current build system username
and hostname are used as normal.

The motivation for this option is to achive reproducible (bit-for-bit
identical) kernel builds of official openwrt releases.

Signed-off-by: bryan newbold <bnewbold@robocracy.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48541 3c298f89-4303-0410-b956-a3cf2f4a3e73
config/Config-kernel.in
include/kernel-defaults.mk