summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-07-07 16:11:42 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-07-07 16:11:42 -0700
commit83f9a99bc50b68a4e7f977e9b2510206f6158319 (patch)
tree3709f7eaea3ef6386ae3abc884f5365b64dd60e2
parent852d962ee2d0a51bf7aa3c6f0b1fdecbef1a3efd (diff)
downloadsyslinux-83f9a99bc50b68a4e7f977e9b2510206f6158319.tar.gz
Make version.mk optional, so cleaning commands worksyslinux-3.71-pre6
For cleaning commands, we need version.mk to be optional.
-rw-r--r--core/Makefile2
-rw-r--r--memdisk/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Makefile b/core/Makefile
index a04a84fb..b81f052f 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -19,7 +19,7 @@ MAKEFLAGS += -r
MAKE += -r
topdir = ..
-include $(topdir)/version.mk
+-include $(topdir)/version.mk
CC = gcc
diff --git a/memdisk/Makefile b/memdisk/Makefile
index 073d32cd..b9701ff8 100644
--- a/memdisk/Makefile
+++ b/memdisk/Makefile
@@ -11,7 +11,7 @@
## -----------------------------------------------------------------------
topdir = ..
-include $(topdir)/version.mk
+-include $(topdir)/version.mk
TMPFILE = $(shell mktemp /tmp/gcc_ok.XXXXXX)