direct-io.hg

changeset 15271:c484106e44bd

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@virtualiron.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Jun 13 11:05:47 2007 +0100 (2007-06-13)
parents 0f9d683a83ed
children 30449e0e0a64
files buildconfigs/mk.linux-2.6-xen
line diff
     1.1 --- a/buildconfigs/mk.linux-2.6-xen	Wed Jun 13 10:39:48 2007 +0100
     1.2 +++ b/buildconfigs/mk.linux-2.6-xen	Wed Jun 13 11:05:47 2007 +0100
     1.3 @@ -49,7 +49,7 @@ endif
     1.4  	mkdir -p $(INSTALL_BOOT_PATH)
     1.5  	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_PATH=$(INSTALL_BOOT_PATH) install
     1.6  
     1.7 -$(LINUX_DIR)/include/linux/autoconf.h: CONFIG_FILE=$(PWD)/$(LINUX_DIR)/.config
     1.8 +$(LINUX_DIR)/include/linux/autoconf.h: CONFIG_FILE=$(CURDIR)/$(LINUX_DIR)/.config
     1.9  $(LINUX_DIR)/include/linux/autoconf.h: $(LINUX_SRCDIR)/.valid-src
    1.10  	rm -rf $(LINUX_DIR)
    1.11  	mkdir -p $(LINUX_DIR)
    1.12 @@ -90,8 +90,8 @@ endif
    1.13  	      echo "VERSION = 2"; \
    1.14  	      echo "PATCHLEVEL = 6"; \
    1.15  	      echo ""; \
    1.16 -	      echo "KERNELSRC    := $(PWD)/$(LINUX_SRCDIR)"; \
    1.17 -	      echo "KERNELOUTPUT := $(PWD)/$(LINUX_DIR)"; \
    1.18 +	      echo "KERNELSRC    := $(CURDIR)/$(LINUX_SRCDIR)"; \
    1.19 +	      echo "KERNELOUTPUT := $(CURDIR)/$(LINUX_DIR)"; \
    1.20  	      echo ""; \
    1.21  	      echo "MAKEFLAGS += --no-print-directory"; \
    1.22  	      echo ""; \