|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] 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
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 ""; \
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Allow make targets to be called via make -C,
Ben Guthro <=
|
|
|
|
|