All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Guthro <bguthro@virtualiron.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] Allow make targets to be called via make -C
Date: Tue, 12 Jun 2007 13:28:24 -0400	[thread overview]
Message-ID: <466ED7B8.4040601@virtualiron.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 94 bytes --]

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

[-- Attachment #2: buildconfig_pwd.patch --]
[-- Type: text/x-patch, Size: 1030 bytes --]

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 ""; \

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

                 reply	other threads:[~2007-06-12 17:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=466ED7B8.4040601@virtualiron.com \
    --to=bguthro@virtualiron.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.