aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorcl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>2004-07-29 14:48:40 +0000
committercl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>2004-07-29 14:48:40 +0000
commitaa966c2969b566026a752ba9a59a91a9380e9e7c (patch)
tree19159a37ee39111e83fef536a73f0da40915a5c0 /Makefile
parent6ee6dbde9af835efb040a72146de3b60dbc87c08 (diff)
downloadxen-aa966c2969b566026a752ba9a59a91a9380e9e7c.tar.gz
xen-aa966c2969b566026a752ba9a59a91a9380e9e7c.tar.bz2
xen-aa966c2969b566026a752ba9a59a91a9380e9e7c.zip
bitkeeper revision 1.1108.38.2 (41090e48fvpT3Gg3-wliILln5YL7nQ)
- share more files with linux 2.6 - always link 2.4 to linux-xen-sparse
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 30fcc2b7dd..da23ca2a61 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,8 @@ dist: all
LINUX_RELEASE ?= 2.4
LINUX_VER ?= $(shell ( /bin/ls -ld linux-$(LINUX_RELEASE).*-xen-sparse ) 2>/dev/null | \
sed -e 's!^.*linux-\(.\+\)-xen-sparse!\1!' )
+LINUX24_VER ?= $(shell ( /bin/ls -ld linux-2.4.*-xen-sparse ) 2>/dev/null | \
+ sed -e 's!^.*linux-\(.\+\)-xen-sparse!\1!' )
LINUX_CONFIG_DIR ?= $(INSTALL_DIR)/boot
LINUX_SRC_PATH ?= .:..
LINUX_SRC ?= $(firstword $(foreach dir,$(subst :, ,$(LINUX_SRC_PATH)),\
@@ -129,7 +131,7 @@ mrproper: clean
rm -rf install/* patches $(LINUX_TREES) linux-$(LINUX_VER).tar.*
make-symlinks: delete-symlinks
- ln -sf linux-$(LINUX_VER)-xen-sparse linux-xen-sparse
+ ln -sf linux-$(LINUX24_VER)-xen-sparse linux-xen-sparse
delete-symlinks:
$(RM) linux-xen-sparse