stubdom: fix build dependency
newlib now depends on mini-os header links
diff -r 4c2d9a4d11f2 stubdom/Makefile
--- a/stubdom/Makefile Fri Jul 18 13:58:29 2008 +0100
+++ b/stubdom/Makefile Fri Jul 18 14:19:52 2008 +0100
@@ -86,7 +86,7 @@
NEWLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libc.a
.PHONY: cross-newlib
cross-newlib: $(NEWLIB_STAMPFILE)
-$(NEWLIB_STAMPFILE): newlib-$(NEWLIB_VERSION)
+$(NEWLIB_STAMPFILE): mk-headers newlib-$(NEWLIB_VERSION)
mkdir -p newlib-build
( cd newlib-build && \
CC_FOR_TARGET="$(CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS)
$(NEWLIB_CFLAGS)" AR_FOR_TARGET=$(AR) LD_FOR_TARGET=$(LD)
RANLIB_FOR_TARGET=$(RANLIB) ../newlib-$(NEWLIB_VERSION)/configure
--prefix=$(CROSS_PREFIX) --verbose --target=$(GNU_TARGET_ARCH)-xen-elf
--enable-newlib-io-long-long --disable-multilib && \
@@ -206,7 +206,7 @@
.PHONY: libxc
libxc: libxc/libxenctrl.a libxc/libxenguest.a
-libxc/libxenctrl.a libxc/libxenguest.a:: cross-zlib mk-headers
+libxc/libxenctrl.a libxc/libxenguest.a:: cross-zlib
CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)"
$(MAKE) -C libxc
#######
@@ -214,7 +214,7 @@
#######
.PHONY: ioemu
-ioemu: cross-zlib cross-libpci mk-headers libxc
+ioemu: cross-zlib cross-libpci libxc
ifeq ($(CONFIG_QEMU),ioemu)
[ -f ioemu/config-host.mak ] || \
( cd ioemu ; \
@@ -232,7 +232,7 @@
######
.PHONY: caml
-caml: cross-newlib mk-headers
+caml: cross-newlib
CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)"
$(MAKE) -C $@ LWIPDIR=$(CURDIR)/lwip
###
@@ -240,7 +240,7 @@
###
.PHONY: c
-c: cross-newlib mk-headers
+c: cross-newlib
CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)"
$(MAKE) -C $@ LWIPDIR=$(CURDIR)/lwip
######
@@ -258,7 +258,7 @@
done
.PHONY: grub
-grub: grub-upstream cross-newlib mk-headers
+grub: grub-upstream cross-newlib
CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)"
$(MAKE) -C $@
########
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel