debuggers.hg

changeset 22459:3ad5719b20d6

stubdom: allow building with read-only sources

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Jan Beulich <jbeulich@novell.com>
date Fri Nov 19 18:39:33 2010 +0000 (2010-11-19)
parents 48738c7849bb
children 117d82dcd6ba
files stubdom/Makefile
line diff
     1.1 --- a/stubdom/Makefile	Fri Nov 19 18:15:14 2010 +0000
     1.2 +++ b/stubdom/Makefile	Fri Nov 19 18:39:33 2010 +0000
     1.3 @@ -155,8 +155,9 @@ cross-libpci: $(LIBPCI_STAMPFILE)
     1.4  $(LIBPCI_STAMPFILE): pciutils-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE) $(ZLIB_STAMPFILE)
     1.5  	( cd $< && \
     1.6  	  cp ../libpci.config.h lib/config.h && \
     1.7 +	  chmod u+w lib/config.h && \
     1.8  	  echo '#define PCILIB_VERSION "$(LIBPCI_VERSION)"' >> lib/config.h && \
     1.9 -	  cp ../libpci.config.mak lib/config.mk && \
    1.10 +	  ln -sf ../../libpci.config.mak lib/config.mk && \
    1.11  	  $(CROSS_MAKE) CC="$(CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -I$(realpath $(MINI_OS)/include)" lib/libpci.a && \
    1.12  	  $(INSTALL_DATA) lib/libpci.a $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib/ && \
    1.13  	  $(INSTALL_DIR) $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci && \