lkml.org 
[lkml]   [2000]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: configuring from kernel source directory
Tan Chee Wei wrote:
>
> hallo ,
> To back up a linux source directory, I tried a $ cp -Rr /usr/src/linux2.2.5
> /usr/src/2.2.5_New
> and then I made the soft link to point to the new directory.
> My question is why does 'make xconfig' or any 'make config' in the new
> directory does not work ,even though the .config file is the same in the
> original and the new one?
> The following errors are encountered.
> rm -f include/asm
> rm: include/asm: is a directory
> make: *** [symlinks] Error 1
>
> But strange enough, make xconfig works in the original old kernel source
> directory.
> Thanks !

include/asm is supposed to be a softlink. man cp. You need to use -d
to preserve links instead of dereferencing them.

Eli
--------------------. "To the systems programmer, users and applications
Eli Carter | serve only to provide a test load."
eli.carter@inet.com `---------------------------------- (random fortune)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.028 / U:1.144 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site