use darcs to acquire darcs repos
[nestedvm.git] / upstream / Makefile
index b8eeca9..3549e76 100644 (file)
@@ -84,7 +84,7 @@ tasks/extract_darcs_%:
                cd build && darcs get --repo-name="$*" --verbose "$(darcs_$*)"; \
        else \
                mkdir -p "build/$*" && cd "build/$*"; \
-               wget -nH -rl 16 -N -X _darcs $(darcs_$*); \
+               darcs get $(darcs_$*); \
        fi
        touch $@
 
@@ -92,7 +92,7 @@ update_darcs_%: tasks/extract_darcs_%
        if [ -d "build/$*/_darcs" ]; then \
                cd "build/$*" && darcs pull; \
        else \
-               cd "build/$*" && wget -np -nH --cut-dirs=1 -rl 16 -N -X _darcs $(darcs_$*); \
+               cd "build/$*" && darcs get $(darcs_$*); \
        fi
        rm -f "tasks/build_darcs_$*" # to force a rebuild
 
@@ -401,7 +401,7 @@ tasks/build_boehmgc: tasks/patch_boehmgc tasks/build_libc
 
 ## busybox ##############################################################################
 
-version_busybox = 1.00-pre9
+version_busybox = 1.00
 url_busybox = http://busybox.net/downloads/busybox-$(version_busybox).tar.gz
 patches_busybox = busybox.patch
 
@@ -409,7 +409,7 @@ tasks/build_busybox: tasks/patch_busybox tasks/build_libc
        cd build && \
                rm -f busybox && \
                ln -s busybox-$(version_busybox) busybox
-       cd build/busybox && $(MAKE) LDFLAGS="$(MIPS_LDFLAGS)" CFLAGS_EXTRA="$(MIPS_CFLAGS) -DNESTEDVM -g"
+       cd build/busybox && $(MAKE) CC=mips-unknown-elf-gcc LDFLAGS="$(MIPS_LDFLAGS)" CFLAGS_EXTRA="$(MIPS_CFLAGS) -DNESTEDVM -g"
        touch $@
 
 ## tex ##############################################################################