ia64/xen-unstable

changeset 18108:226b04f0f1f9

stubdom: fix build dependency

newlib now depends on mini-os header links

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jul 18 14:23:41 2008 +0100 (2008-07-18)
parents f8221241d187
children 092a15aa2430
files stubdom/Makefile
line diff
     1.1 --- a/stubdom/Makefile	Fri Jul 18 14:14:12 2008 +0100
     1.2 +++ b/stubdom/Makefile	Fri Jul 18 14:23:41 2008 +0100
     1.3 @@ -85,7 +85,7 @@ newlib-$(NEWLIB_VERSION): newlib-$(NEWLI
     1.4  NEWLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libc.a
     1.5  .PHONY: cross-newlib
     1.6  cross-newlib: $(NEWLIB_STAMPFILE)
     1.7 -$(NEWLIB_STAMPFILE): newlib-$(NEWLIB_VERSION)
     1.8 +$(NEWLIB_STAMPFILE): mk-headers newlib-$(NEWLIB_VERSION)
     1.9  	mkdir -p newlib-build
    1.10  	( cd newlib-build && \
    1.11  	  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 && \
    1.12 @@ -205,7 +205,7 @@ TARGETS_MINIOS=$(addprefix mini-os-,$(TA
    1.13  
    1.14  .PHONY: libxc
    1.15  libxc: libxc/libxenctrl.a libxc/libxenguest.a
    1.16 -libxc/libxenctrl.a libxc/libxenguest.a:: cross-zlib mk-headers
    1.17 +libxc/libxenctrl.a libxc/libxenguest.a:: cross-zlib
    1.18  	CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C libxc
    1.19  
    1.20  #######
    1.21 @@ -213,7 +213,7 @@ libxc/libxenctrl.a libxc/libxenguest.a::
    1.22  #######
    1.23  
    1.24  .PHONY: ioemu
    1.25 -ioemu: cross-zlib cross-libpci mk-headers libxc
    1.26 +ioemu: cross-zlib cross-libpci libxc
    1.27  ifeq ($(CONFIG_QEMU),ioemu)
    1.28  	[ -f ioemu/config-host.mak ] || \
    1.29  	  ( cd ioemu ; \
    1.30 @@ -231,7 +231,7 @@ endif
    1.31  ######
    1.32  
    1.33  .PHONY: caml
    1.34 -caml: cross-newlib mk-headers
    1.35 +caml: cross-newlib
    1.36  	CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@ LWIPDIR=$(CURDIR)/lwip 
    1.37  
    1.38  ###
    1.39 @@ -239,7 +239,7 @@ caml: cross-newlib mk-headers
    1.40  ###
    1.41  
    1.42  .PHONY: c
    1.43 -c: cross-newlib mk-headers
    1.44 +c: cross-newlib
    1.45  	CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@ LWIPDIR=$(CURDIR)/lwip 
    1.46  
    1.47  ######
    1.48 @@ -257,7 +257,7 @@ grub-upstream: grub-$(GRUB_VERSION).tar.
    1.49  	done
    1.50  
    1.51  .PHONY: grub
    1.52 -grub: grub-upstream cross-newlib mk-headers
    1.53 +grub: grub-upstream cross-newlib
    1.54  	CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@
    1.55  
    1.56  ########