lkml.org 
[lkml]   [2002]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kbuild 2.5 release 2.4
> $ cd ~ && rm -rf build && mkdir build && cd build
> $ export KBUILD_SRCTREE_000=/usr/src/linux-2.5.13
> $ export KBUILD_OBJTREE=$PWD
> $ alias M="make -f $KBUILD_SRCTREE_000/Makefile-2.5"
> $ touch foo bar baz
> $ M mrproper
> spec value %p not found
> $ ls foo bar baz
> /bin/ls: foo: No such file or directory
> /bin/ls: bar: No such file or directory
> /bin/ls: baz: No such file or directory
> $ # oh my! wherez mah precious files gone!


Duh... I failed to demonstrate the real problem: kbuild-2.5's mrproper
also erases *non-zero-size* files in the object tree:

$ pwd
/home/kala/build
$ set| grep KBUILD
KBUILD_OBJTREE=/home/kala/build
KBUILD_SRCTREE_000=/usr/src/linux-2.5.13
$ alias M='make -f /usr/src/linux-2.5.13/Makefile-2.5'
$ echo foo >bar
$ ls -l bar
-rw-r--r-- 1 kala users 4 May 4 12:56 bar
$ M mrproper
spec value %p not found
$ ls -la
total 3
drwxr-xr-x 2 kala users 48 May 4 12:56 ./
drwx--x--x 26 kala users 1664 May 3 19:58 ../


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

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