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

[Xen-changelog] [xen-unstable] Allow make targets to be called via make -C



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1181729147 -3600
# Node ID c484106e44bd89a1f9eb2c457a4ed5acae2c7ff7
# Parent  0f9d683a83ed59785d79ce0f895acb2e3a2a82a0
Allow make targets to be called via make -C

Change PWD to CURDIR in new mk.linux-2.6-xen to allow make targets to
be called via a make -C

From: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 buildconfigs/mk.linux-2.6-xen |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 0f9d683a83ed -r c484106e44bd buildconfigs/mk.linux-2.6-xen
--- a/buildconfigs/mk.linux-2.6-xen     Wed Jun 13 10:39:48 2007 +0100
+++ b/buildconfigs/mk.linux-2.6-xen     Wed Jun 13 11:05:47 2007 +0100
@@ -49,7 +49,7 @@ endif
        mkdir -p $(INSTALL_BOOT_PATH)
        $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) 
INSTALL_PATH=$(INSTALL_BOOT_PATH) install
 
-$(LINUX_DIR)/include/linux/autoconf.h: CONFIG_FILE=$(PWD)/$(LINUX_DIR)/.config
+$(LINUX_DIR)/include/linux/autoconf.h: 
CONFIG_FILE=$(CURDIR)/$(LINUX_DIR)/.config
 $(LINUX_DIR)/include/linux/autoconf.h: $(LINUX_SRCDIR)/.valid-src
        rm -rf $(LINUX_DIR)
        mkdir -p $(LINUX_DIR)
@@ -90,8 +90,8 @@ endif
              echo "VERSION = 2"; \
              echo "PATCHLEVEL = 6"; \
              echo ""; \
-             echo "KERNELSRC    := $(PWD)/$(LINUX_SRCDIR)"; \
-             echo "KERNELOUTPUT := $(PWD)/$(LINUX_DIR)"; \
+             echo "KERNELSRC    := $(CURDIR)/$(LINUX_SRCDIR)"; \
+             echo "KERNELOUTPUT := $(CURDIR)/$(LINUX_DIR)"; \
              echo ""; \
              echo "MAKEFLAGS += --no-print-directory"; \
              echo ""; \

_______________________________________________
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®.