From 7251a3b8bd985d178c56e6c5224ee6023d1a1750 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Thu, 1 Mar 2018 01:52:24 +0000 Subject: eclass/linux-build: Set KBUILD_BUILD_HOST and KBUILD_BUILD_TIMESTAMP --- eclass/linux-build.eclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'eclass') 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=( -- cgit v1.2.3