mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[PATCH] Fix headers_check for O= builds; disable automatic check on UML.
* make header_check work with O= Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
e0fafda36a
commit
0e7af8d04e
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -742,7 +742,7 @@ endif # ifdef CONFIG_KALLSYMS
|
||||||
# vmlinux image - including updated kernel symbols
|
# vmlinux image - including updated kernel symbols
|
||||||
vmlinux: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) $(kallsyms.o) FORCE
|
vmlinux: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) $(kallsyms.o) FORCE
|
||||||
ifdef CONFIG_HEADERS_CHECK
|
ifdef CONFIG_HEADERS_CHECK
|
||||||
$(Q)$(MAKE) headers_check
|
$(Q)$(MAKE) -f $(srctree)/Makefile headers_check
|
||||||
endif
|
endif
|
||||||
$(call if_changed_rule,vmlinux__)
|
$(call if_changed_rule,vmlinux__)
|
||||||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost $@
|
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost $@
|
||||||
|
@ -935,7 +935,7 @@ headers_install_all: include/linux/version.h scripts_basic FORCE
|
||||||
|
|
||||||
PHONY += headers_install
|
PHONY += headers_install
|
||||||
headers_install: include/linux/version.h scripts_basic FORCE
|
headers_install: include/linux/version.h scripts_basic FORCE
|
||||||
@if [ ! -r include/asm-$(ARCH)/Kbuild ]; then \
|
@if [ ! -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \
|
||||||
echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \
|
echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \
|
||||||
exit 1 ; fi
|
exit 1 ; fi
|
||||||
$(Q)$(MAKE) $(build)=scripts scripts/unifdef
|
$(Q)$(MAKE) $(build)=scripts scripts/unifdef
|
||||||
|
|
Loading…
Reference in a new issue