summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2d0c47b..4149518 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,11 @@
# Don't print directory as we descend into them
MAKEFLAGS += --no-print-directory
-# The project version
-export PROJECTVERSION=0.0.2-svn
-
-# This should eventually be computed if compiling out-of-tree is implemented
export CT_TOP_DIR=$(shell pwd)
+# This is crosstool-ng version string
+export CT_VERSION=$(shell cat $(CT_TOP_DIR)/version)
+
.PHONY: all
all: build