Patch elf.h circular dependency out of linux-4.4.10

This enables building on platforms without a native elf.h, like OS X

Fixes #8
This commit is contained in:
Filippo Valsorda 2016-05-20 16:39:37 +01:00
parent d6fe0339ee
commit 8467bf3a6f
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -u a/Makefile b/Makefile
--- a/Makefile 2016-05-11 10:23:26.000000000 +0100
+++ b/Makefile 2016-05-20 16:26:20.000000000 +0100
@@ -1047,7 +1047,7 @@
archscripts:
PHONY += __headers
-__headers: $(version_h) scripts_basic asm-generic archheaders archscripts FORCE
+__headers: $(version_h) scripts_basic asm-generic archheaders FORCE
$(Q)$(MAKE) $(build)=scripts build_unifdef
PHONY += headers_install_all