* [PATCH] Allow make targets to be called via make -C
@ 2007-06-12 17:28 Ben Guthro
0 siblings, 0 replies; only message in thread
From: Ben Guthro @ 2007-06-12 17:28 UTC (permalink / raw)
To: xen-devel
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-12 17:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-12 17:28 [PATCH] Allow make targets to be called via make -C Ben Guthro
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.