diff options
author | vhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com> | 2005-12-08 08:09:09 +0000 |
---|---|---|
committer | vhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com> | 2005-12-08 08:09:09 +0000 |
commit | cc5c32ece6fc76a9f5c31e35c44da089496e1240 (patch) | |
tree | 7dc825d270c61f6c5467a6aace81598e3151464f /buildconfigs/Rules.mk | |
parent | 1c687552275a5b346442f09e96e76095f2ff08ab (diff) | |
download | xen-cc5c32ece6fc76a9f5c31e35c44da089496e1240.tar.gz xen-cc5c32ece6fc76a9f5c31e35c44da089496e1240.tar.bz2 xen-cc5c32ece6fc76a9f5c31e35c44da089496e1240.zip |
fix mkpatches for creating correctly linux-2.6-xen.patch
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
Diffstat (limited to 'buildconfigs/Rules.mk')
-rw-r--r-- | buildconfigs/Rules.mk | 3 |
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-$@ |