mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
ab6bbdd5cd
Carefully fake cc-version and cc-fullversion to avoid needing a compiler for the kernel itself to build the headers. For some reason, doing `make install_headers` twice, first without INSTALL_HDR_PATH=$out then with, is neccessary to get this to work.
14 lines
337 B
Diff
14 lines
337 B
Diff
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
|
|
index fad55160dcb9..a48c8331cbb2 100644
|
|
--- a/arch/x86/Makefile
|
|
+++ b/arch/x86/Makefile
|
|
@@ -239,7 +239,7 @@ ifdef CONFIG_RETPOLINE
|
|
endif
|
|
|
|
archscripts: scripts_basic
|
|
- $(Q)$(MAKE) $(build)=arch/x86/tools relocs
|
|
+ $(Q)$(MAKE) $(build)=arch/x86/tools
|
|
|
|
###
|
|
# Syscall table generation
|