From cc5c32ece6fc76a9f5c31e35c44da089496e1240 Mon Sep 17 00:00:00 2001 From: "vhanquez@kneesa.uk.xensource.com" Date: Thu, 8 Dec 2005 08:09:09 +0000 Subject: fix mkpatches for creating correctly linux-2.6-xen.patch Signed-off-by: Vincent Hanquez --- buildconfigs/Rules.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'buildconfigs/Rules.mk') 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 $(