From: Keir Fraser Date: Tue, 12 Feb 2008 16:59:08 +0000 (+0000) Subject: stubdom: missing two renames (avoids always re-compiling newlib) X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=79f085e60a65af92841265ac653cea7a9ce39200;p=people%2Fliuw%2Fstubdom.git stubdom: missing two renames (avoids always re-compiling newlib) Signed-off-by: Samuel Thibault --- diff --git a/Makefile b/Makefile index 21f6a2a..7fdcdb2 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ $(GCC_STAMPFILE): gcc-$(GCC_VERSION) $(BINUTILS_STAMPFILE) # Cross-newlib ############## -newlib: +newlib-cvs: cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co -D $(NEWLIB_DATE) newlib mv src newlib-cvs ( cd newlib-cvs && patch -p0 < ../newlib.patch) @@ -94,7 +94,7 @@ newlib: NEWLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libc.a .PHONY: cross-newlib cross-newlib: $(NEWLIB_STAMPFILE) -$(NEWLIB_STAMPFILE): newlib $(GCC_STAMPFILE) +$(NEWLIB_STAMPFILE): newlib-cvs $(GCC_STAMPFILE) mkdir -p newlib-build ( cd newlib-build && \ CC_FOR_TARGET="$(GNU_TARGET_ARCH)-xen-elf-gcc $(TARGET_CFLAGS)" ../newlib-cvs/configure --prefix=$(CROSS_PREFIX) --verbose --target=$(GNU_TARGET_ARCH)-xen-elf --enable-newlib-io-long-long && \