summaryrefslogtreecommitdiff
path: root/config/linux-base.yaml
diff options
context:
space:
mode:
authorRyan Roberts <ryan.roberts@arm.com>2023-03-21 17:42:24 +0000
committerRyan Roberts <ryan.roberts@arm.com>2023-03-21 17:42:24 +0000
commitef1978ad8ea3cf144fba762a2f97e033a9c244c4 (patch)
treeff35dd9516edc8f26aef7334dbac88cb72b99ce2 /config/linux-base.yaml
parenta517a19f05f0760f4bc0a6e870a5318920957d56 (diff)
config: Improve Linux build speed when nothing has changed
When building in Docker, it turns out that the host gets a different name every time, and Linux embeds that name into the build, which causes a relink. Override KBUILD_BUILD_HOST with a fixed name ("shrinkwrap") to avoid the relink in this case. Signed-off-by: Joey Gouly <joey.gouly@arm.com> Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Diffstat (limited to 'config/linux-base.yaml')
-rw-r--r--config/linux-base.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/linux-base.yaml b/config/linux-base.yaml
index a011990..9e152e5 100644
--- a/config/linux-base.yaml
+++ b/config/linux-base.yaml
@@ -29,6 +29,7 @@ build:
prebuild:
- export BUILD_KMODULES=false
- export BUILD_KSELFTESTS=false
+ - export KBUILD_BUILD_HOST="shrinkwrap"
- export ARCH=arm64
- make -j${param:jobs} O=${param:builddir} defconfig