Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

David Woodhouse and committed by
Linus Torvalds
0e7af8d0 e0fafda3

+2 -2
+2 -2
Makefile
··· 742 742 # vmlinux image - including updated kernel symbols 743 743 vmlinux: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) $(kallsyms.o) FORCE 744 744 ifdef CONFIG_HEADERS_CHECK 745 - $(Q)$(MAKE) headers_check 745 + $(Q)$(MAKE) -f $(srctree)/Makefile headers_check 746 746 endif 747 747 $(call if_changed_rule,vmlinux__) 748 748 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost $@ ··· 935 935 936 936 PHONY += headers_install 937 937 headers_install: include/linux/version.h scripts_basic FORCE 938 - @if [ ! -r include/asm-$(ARCH)/Kbuild ]; then \ 938 + @if [ ! -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \ 939 939 echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \ 940 940 exit 1 ; fi 941 941 $(Q)$(MAKE) $(build)=scripts scripts/unifdef