lkml.org 
[lkml]   [1999]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectmake checkconfig: Arg list too long
Date
Hi,

There seems to be a pending problem with 'make checkconfig' in that very
soon it will start complaining with 'arg list too long'. Currently,
with 2.3.12, it seems to be ok so long as the kernel source is in
/usr/src/linux, but if you add about 8 more characters onto the path
to the tree, then you will get this error.

It would seem sensible to run the output of find through sed to remove
the initial path, since checkconfig.pl will be running from $(TOPDIR).
This would remove this problem. Here is a patch to do this:

--- /mnt/src/kernel-sources/orig/v2.3/linux/Makefile Mon Aug 2 10:46:51 1999
+++ /usr/src/v2.3/linux/Makefile Sun Aug 8 11:01:18 1999
@@ -415,7 +415,7 @@

# make checkconfig: Prune 'scripts' directory to avoid "false positives".
checkconfig:
- perl -w scripts/checkconfig.pl `find * -path 'scripts' -prune -o -name '*.[hcS]' -print | sort`
+ perl -w scripts/checkconfig.pl `find * -path 'scripts' -prune -o -name '*.[hcS]' -print | sed s,$(TOPDIR),, | sort`

checkhelp:
perl -w scripts/checkhelp.pl `find * -name [cC]onfig.in -print`
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
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:53    [W:0.593 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site