mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-07 19:34:26 +00:00
pass in flags to make Linux kernel reproducible (issue #94)
This commit is contained in:
parent
d81073715a
commit
1ec00592af
@ -19,7 +19,16 @@ linux_configure := \
|
||||
linux_output := arch/x86/boot/bzImage
|
||||
linux_config := linux.config
|
||||
|
||||
EXTRA_FLAGS := -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches
|
||||
|
||||
linux_target := \
|
||||
CROSS_COMPILE=$(pwd)/crossgcc/x86_64-linux-musl/bin/x86_64-linux-musl- \
|
||||
AFLAGS_KERNEL="$(EXTRA_FLAGS)" \
|
||||
CFLAGS_KERNEL="$(EXTRA_FLAGS)" \
|
||||
CFLAGS_MODULE="$(EXTRA_FLAGS)" \
|
||||
KBUILD_BUILD_USER=user \
|
||||
KBUILD_BUILD_HOST=heads-build \
|
||||
KBUILD_BUILD_TIMESTAMP="1970-00-00" \
|
||||
KBUILD_BUILD_VERSION=0 \
|
||||
-j 8 \
|
||||
bzImage
|
||||
|
Loading…
x
Reference in New Issue
Block a user