Author: waldi Date: Fri Aug 18 16:39:06 2006 New Revision: 226 Modified: trunk/xen-unstable/debian/rules Log: debian/rules: Also provide XEN_COMPILE_ARCH. Modified: trunk/xen-unstable/debian/rules =============================================================================--- trunk/xen-unstable/debian/rules (original) +++ trunk/xen-unstable/debian/rules Fri Aug 18 16:39:06 2006 @@ -67,7 +67,7 @@ touch $@ $(STAMPS_DIR)/build-tools: $(STAMPS_DIR)/setup-tools - $(MAKE) -C $(DIR)/tools XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) + $(MAKE) -C $(DIR)/tools XEN_COMPILE_ARCH=$(XEN_ARCH) XEN_TARGET_ARCH=$(XEN_ARCH) touch $@ setup-docs:: $(STAMPS_DIR)/setup-docs @@ -87,10 +87,10 @@ endif ifneq (,$(filter amd64 i386 ia64, $(DEB_HOST_ARCH))) ifneq (,$(filter amd64, $(DEB_HOST_ARCH))) -build-tools install-tools-check: XEN_TARGET_ARCH=x86_64 +build-tools install-tools-check: XEN_ARCH=x86_64 endif ifneq (,$(filter i386, $(DEB_HOST_ARCH))) -build-tools install-tools-check: XEN_TARGET_ARCH=x86_32 +build-tools install-tools-check: XEN_ARCH=x86_32 endif build-tools:: $(STAMPS_DIR)/build-tools install-tools-check:: install-tools @@ -152,7 +152,7 @@ dh_clean -k $(MAKE) -C $(BUILD_DIR)/build-docs/docs install DESTDIR=$(CURDIR)/debian/tmp - $(MAKE) -C $(BUILD_DIR)/build-tools/tools install XEN_PYTHON_NATIVE_INSTALL=1 DESTDIR=$(CURDIR)/debian/tmp DISTDIR=$(CURDIR)/debian/tmp XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) + $(MAKE) -C $(BUILD_DIR)/build-tools/tools install XEN_PYTHON_NATIVE_INSTALL=1 DESTDIR=$(CURDIR)/debian/tmp DISTDIR=$(CURDIR)/debian/tmp XEN_COMPILE_ARCH=$(XEN_ARCH) XEN_TARGET_ARCH=$(XEN_ARCH) cp debian/scripts/network-dummy $(CURDIR)/debian/tmp/etc/xen/scripts dh_install --sourcedir=debian/tmp