diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-10-13 17:04:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-13 17:35:39 +0200 |
commit | 0e7af8d04ecb4f6ba8cd1f731f036a004ad0e174 (patch) | |
tree | b3e3a8ac99b6ab265858b616a7f750e871c524ed /Makefile | |
parent | [PATCH] m68knommu: sync syscalls with m68k (diff) | |
download | linux-0e7af8d04ecb4f6ba8cd1f731f036a004ad0e174.tar.xz linux-0e7af8d04ecb4f6ba8cd1f731f036a004ad0e174.zip |
[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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -742,7 +742,7 @@ endif # ifdef CONFIG_KALLSYMS # vmlinux image - including updated kernel symbols vmlinux: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) $(kallsyms.o) FORCE ifdef CONFIG_HEADERS_CHECK - $(Q)$(MAKE) headers_check + $(Q)$(MAKE) -f $(srctree)/Makefile headers_check endif $(call if_changed_rule,vmlinux__) $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost $@ @@ -935,7 +935,7 @@ headers_install_all: include/linux/version.h scripts_basic FORCE PHONY += headers_install 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))'; \ exit 1 ; fi $(Q)$(MAKE) $(build)=scripts scripts/unifdef |