[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] stubdom: allow building with read-only sources



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxxxx>
# Date 1290191973 0
# Node ID 3ad5719b20d62b399162c1c8d081a01ee0d77bd9
# Parent  48738c7849bbce5434a0dae1cccc5938f855d4e4
stubdom: allow building with read-only sources

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 stubdom/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 48738c7849bb -r 3ad5719b20d6 stubdom/Makefile
--- a/stubdom/Makefile  Fri Nov 19 18:15:14 2010 +0000
+++ b/stubdom/Makefile  Fri Nov 19 18:39:33 2010 +0000
@@ -155,8 +155,9 @@ cross-libpci: $(LIBPCI_STAMPFILE)
 $(LIBPCI_STAMPFILE): pciutils-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE) 
$(ZLIB_STAMPFILE)
        ( cd $< && \
          cp ../libpci.config.h lib/config.h && \
+         chmod u+w lib/config.h && \
          echo '#define PCILIB_VERSION "$(LIBPCI_VERSION)"' >> lib/config.h && \
-         cp ../libpci.config.mak lib/config.mk && \
+         ln -sf ../../libpci.config.mak lib/config.mk && \
          $(CROSS_MAKE) CC="$(CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) 
-I$(realpath $(MINI_OS)/include)" lib/libpci.a && \
          $(INSTALL_DATA) lib/libpci.a 
$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib/ && \
          $(INSTALL_DIR) $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci 
&& \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.