summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2018-03-01 01:52:24 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2018-03-07 01:30:15 +0000
commit7251a3b8bd985d178c56e6c5224ee6023d1a1750 (patch)
treeac6f368f6983d0f13a4d708d389ff67839cc2e5e /eclass
parentapp-crypt/trezord: Version bump (diff)
downloadportage-7251a3b8bd985d178c56e6c5224ee6023d1a1750.tar.xz
eclass/linux-build: Set KBUILD_BUILD_HOST and KBUILD_BUILD_TIMESTAMP
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-build.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass
index e8837b1f..45ab6bfe 100644
--- a/eclass/linux-build.eclass
+++ b/eclass/linux-build.eclass
@@ -290,6 +290,8 @@ linux-build_src_prepare() {
KCONFIG_CONFIG="${BUILDDIR}/.config"
KBUILD_BUILD_USER="${KBUILD_BUILD_USER:-${PORTAGE_BUILD_USER}}"
+ KBUILD_BUILD_HOST="${KBUILD_BUILD_HOST:-${HOSTNAME}}"
+ KBUILD_BUILD_TIMESTAMP="$(date '+%F %T %:z')"
)
copt=(