aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs/Rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'buildconfigs/Rules.mk')
-rw-r--r--buildconfigs/Rules.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
index cb27b0cb99..26ee89472b 100644
--- a/buildconfigs/Rules.mk
+++ b/buildconfigs/Rules.mk
@@ -21,6 +21,7 @@ endif
# Expand Linux series to Linux version
LINUX_SERIES ?= 2.6
+LINUX_VER ?= $(shell grep "^LINUX_VER" buildconfigs/mk.linux-2.6-xen | sed -e 's/.*=[ ]*//')
# Setup Linux search path
LINUX_SRC_PATH ?= .:..
@@ -109,6 +110,8 @@ endif
%-config:
$(MAKE) -f buildconfigs/mk.$* config
+linux-2.6-xen.patch: linux-$(LINUX_VER)-xen.patch
+
%-xen.patch: ref-%/.valid-ref
rm -rf tmp-$@
cp -al $(<D) tmp-$@