[PATCH 2.4] make dep can fail (too many args)

From: Frank Mehnert (fm3@kurt.inf.tu-dresden.de)
Date: Thu Aug 10 2000 - 03:49:39 EST


Hi Linus,

in some cases "make dep" can fail with

  "/bin/sh: scripts/mkdep: Arg list too long"

So it does on AIX (cross compiling for x86).
I would suggest to use

  "find <blah> | xargs scripts/mkdep"

when generating $(TOPDIR)/.hdepend instead of

  "scripts/mkdep `find <blah>`"

The appended patch is for 2.4.0-test6.

regards,

Frank

-- 
Frank Mehnert
## Dept. of Computer Science, Dresden University of Technology, Germany ##
## E-Mail: fm3@os.inf.tu-dresden.de    http://os.inf.tu-dresden.de/~fm3 ##


- 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 : Tue Aug 15 2000 - 21:00:21 EST