aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.(none)>2005-07-14 16:28:49 -0400
committerSam Ravnborg <sam@mars.(none)>2005-07-14 16:28:49 -0400
commit946dc121d7d1c606f6bbeb8ae778963a1e2ff59c (patch)
tree293d04695b8c4946b4d2dea0333af79777611dba /Makefile
parenta91f98a284321ffc9eb28ccfbf4329f7aa422f97 (diff)
kbuild: fix make O=... build
It fixes the following error: make[1]: *** No rule to make target `include/asm', needed by `arch/alpha/kernel/asm-offsets.s'. Stop. Reported by: From: Jan Dittmer <j.dittmer@portrix.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a8d41b7d549..38384f898d6 100644
--- a/Makefile
+++ b/Makefile
@@ -779,7 +779,7 @@ endif
779# prepare1 creates a makefile if using a separate output directory 779# prepare1 creates a makefile if using a separate output directory
780prepare1: prepare2 outputmakefile 780prepare1: prepare2 outputmakefile
781 781
782prepare0: prepare1 include/linux/version.h $(objtree)/include/asm \ 782prepare0: prepare1 include/linux/version.h include/asm \
783 include/config/MARKER 783 include/config/MARKER
784ifneq ($(KBUILD_MODULES),) 784ifneq ($(KBUILD_MODULES),)
785 $(Q)rm -rf $(MODVERDIR) 785 $(Q)rm -rf $(MODVERDIR)
@@ -819,7 +819,7 @@ export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
819# hard to detect, but I suppose "make mrproper" is a good idea 819# hard to detect, but I suppose "make mrproper" is a good idea
820# before switching between archs anyway. 820# before switching between archs anyway.
821 821
822$(objtree)/include/asm: 822include/asm:
823 @echo ' SYMLINK $@ -> include/asm-$(ARCH)' 823 @echo ' SYMLINK $@ -> include/asm-$(ARCH)'
824 $(Q)if [ ! -d include ]; then mkdir -p include; fi; 824 $(Q)if [ ! -d include ]; then mkdir -p include; fi;
825 @ln -fsn asm-$(ARCH) $@ 825 @ln -fsn asm-$(ARCH) $@