lkml.org 
[lkml]   [2005]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.12-rc2-mm1
On Tue, Apr 05, 2005 at 05:45:58PM +0200, Jan Dittmer wrote:
> Something has broken make O= :
>
> HOSTCC scripts/kallsyms
> HOSTCC scripts/conmakehash
> make[1]: *** No rule to make target `include/asm', needed by `arch/alpha/kernel/asm-offsets.s'. Stop.
> make: *** [_all] Error 2
>
> Happens for most archs. See http://l4x.org/k/

Thanks - here is a patch:

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/04/05 23:37:09+02:00 sam@mars.ravnborg.org
# 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>
#
# In same patch fix spaces to tabs as reported by:
# From: Adrian Bunk <bunk@stusta.de>
#
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# Makefile
# 2005/04/05 23:36:45+02:00 sam@mars.ravnborg.org +3 -3
# fix make O=... build
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile 2005-04-05 23:37:38 +02:00
+++ b/Makefile 2005-04-05 23:37:38 +02:00
@@ -576,7 +576,7 @@

ifdef CONFIG_LOCALVERSION_AUTO
localversion-auto := \
- $(shell $(PERL) $(srctree)/scripts/setlocalversion $(srctree))
+ $(shell $(PERL) $(srctree)/scripts/setlocalversion $(srctree))
LOCALVERSION := $(LOCALVERSION)$(localversion-auto)
endif

@@ -808,7 +808,7 @@
# prepare1 creates a makefile if using a separate output directory
prepare1: prepare2 outputmakefile

-prepare0: prepare1 include/linux/version.h $(objtree)/include/asm \
+prepare0: prepare1 include/linux/version.h include/asm \
include/config/MARKER
ifneq ($(KBUILD_MODULES),)
$(Q)rm -rf $(MODVERDIR)
@@ -845,7 +845,7 @@
# hard to detect, but I suppose "make mrproper" is a good idea
# before switching between archs anyway.

-$(objtree)/include/asm:
+include/asm:
@echo ' SYMLINK $@ -> include/asm-$(ARCH)'
$(Q)if [ ! -d include ]; then mkdir -p include; fi;
@ln -fsn asm-$(ARCH) $@
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.145 / U:5.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site