From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Guthro Subject: [PATCH] Allow make targets to be called via make -C Date: Tue, 12 Jun 2007 13:28:24 -0400 Message-ID: <466ED7B8.4040601@virtualiron.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080507040606070003010204" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------080507040606070003010204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Change PWD to CURDIR in new mk.linux-2.6-xen to allow make targets to be called via a make -C --------------080507040606070003010204 Content-Type: text/x-patch; name="buildconfig_pwd.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="buildconfig_pwd.patch" diff -r c53be36cda97 buildconfigs/mk.linux-2.6-xen --- a/buildconfigs/mk.linux-2.6-xen Mon Jun 11 11:20:57 2007 -0400 +++ b/buildconfigs/mk.linux-2.6-xen Mon Jun 11 15:22:16 2007 -0400 @@ -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 ""; \ --------------080507040606070003010204 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------080507040606070003010204--