Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux header install hack for elf.h circular dependency
Fix from Arnaud Dovi: #11 " I think I have found the root cause of this elf.h issue Its a circular dependency problem __headers: $(version_h) scripts_basic asm-generic archheaders archscripts FORCE $(Q)$(MAKE) $(build)=scripts build_unifdef PHONY += headers_install headers_install: __headers $(if $(wildcard $(srctree)/arch/$(hdr-arch)/include/uapi/asm/Kbuild),, \ $(error Headers not exportable for the $(SRCARCH) architecture)) $(Q)$(MAKE) $(hdr-inst)=include/uapi $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst) In short headers_install depends on archscripts but archscripts compiles a code with a header elf.h installed by headers_install Next once you fix this you will realize the headers are copied under linux\elf.h of the sysroot when the code looks for elf.h "
- Loading branch information