[PATCH] Cross-compiling linux kernel on non GNU platform

From: lamarqu1 (lamarqu1@col.bsf.alcatel.fr)
Date: Mon Jun 26 2000 - 05:32:30 EST


Hello,

since 2.4.0-test1, 'make depend' is broken if 'find(1)' is
not the GNU one.

Here's a patch against 2.4.0-test2 to address the problem. I just
change the '-or' operator to '-o' which is the same according to
the man.

Have a good day,

Eric.

diff -u --recursive --new-file linux-2.4.0-test2/Makefile linux/Makefile
--- linux-2.4.0-test2/Makefile Mon Jun 26 11:53:34 2000
+++ linux/Makefile Mon Jun 26 11:54:55 2000
@@ -430,7 +430,7 @@

 dep-files: scripts/mkdep archdep include/linux/version.h
        scripts/mkdep init/*.c > .depend
- scripts/mkdep `find $(FINDHPATH) -name SCCS -prune -or -follow -name \*.h ! -name modversions.h -print` > .hdepend
+ scripts/mkdep `find $(FINDHPATH) -name SCCS -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
        $(MAKE) $(patsubst %,_sfdep_%,$(SUBDIRS)) _FASTDEP_ALL_SUB_DIRS="$(SUBDIRS)"

 ifdef CONFIG_MODVERSIONS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:08 EST