lkml.org 
[lkml]   [1999]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux Makefile uses 'ls', causes problems with color-ls (PATCH)
On Wed, 31 Mar 1999 ralf@uni-koblenz.de wrote:

> On Wed, Mar 31, 1999 at 01:53:20PM +0300, Catalin Muresan wrote:
>
> > - ls *.o > $$MODLIB/.allmods; \
> > + echo *.o | tr ' ' '\n' > $$MODLIB/.allmods; \
>
> How about find? When crosscompiling on various Unices the shell expansion
> and passed environment variables may at times exceed the limits of various
> Unices, Solaris and IRIX and a few others come to mind. We rely on find
> anyway and find won't run into that problem.

You can run into line-buffer limits with many such expressions. It would
be nice for someone, who is a shell-script guru, to modify the Makefile
so that 'modules_install' is done just like the other stuff so there
is always a ../linux/modules directory with a Makefile in it that
(only) handles installing modules in an efficient way with few, if
any side-effects, using as much of the built-ins as possible.


Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.5 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.164 / U:1.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site