vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

commit efbf6d9c89f1df214ae85fd7a672011fbe2ffd62
parent 2685f598318cfaeea15bc24b9846315343ce7b3c
Author: Jesus Galan Lopez (yiyus) <yiyu.jgl@gmail.com>
Date:   Mon,  6 Sep 2010 23:57:15 +0200

last touches to boot/mkfile

Diffstat:
.hgignore | 1+
src/9vx/boot/mkfile | 12++++++------
2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.hgignore b/.hgignore @@ -26,6 +26,7 @@ src/vxlinux/vxlinux src/9vx/9vx src/9vx/boot/*.[ch] src/9vx/boot/*.orig +src/9vx/boot/libboot.a8 src/9vx/boot/bootcode.9 src/9vx/bootcode.S src/9vx/fossil.S diff --git a/src/9vx/boot/mkfile b/src/9vx/boot/mkfile @@ -1,5 +1,5 @@ -SRC9=/sys/src/9 -BOOT=$SRC9/boot +ROOT='' +SRC9=$ROOT/sys/src/9 CWD=`{pwd} EDFILES=`{ls *.ed} @@ -16,12 +16,12 @@ bootcode.9: files files:V: $SRCFILES ([^/]+)\.([ch]):R: \1.\2.ed \1.\2.orig - { cat $stem1.$stem2.ed; - echo w $stem1.$stem2; + { cat $stem1.$stem2.ed + echo w $stem1.$stem2 } | ed - $stem1.$stem2.orig -%.orig: $BOOT/% - cp $BOOT/$stem $stem.orig +%.orig: $SRC9/boot/% + cp $SRC9/boot/$stem $stem.orig clean:V: rm -f bootcode.9 libboot.a8 *.[ch] *.orig