diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-01-01 10:51:11 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-01-01 15:06:40 +0100 |
commit | 45cda1fdcc963db4824224af362de780e0d29097 (patch) | |
tree | cf92830eec963d1d00343071095275e1866ace51 /rbutil/libtools.make | |
parent | 9c1ed84d28edfa4a2b5b0a327dccd83d1a1beef8 (diff) | |
download | rockbox-45cda1fdcc963db4824224af362de780e0d29097.tar.gz rockbox-45cda1fdcc963db4824224af362de780e0d29097.zip |
Fix version handling for patchers.
The working directory will usually be different than the one libtools.make is
located in, so make sure to use the correct starting folder for the relative
path.
Change-Id: I9a84a0573c9f1f32601f31587425689dcf8fb81f
Diffstat (limited to 'rbutil/libtools.make')
-rw-r--r-- | rbutil/libtools.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/libtools.make b/rbutil/libtools.make index 2afe4d2af0..77142355c6 100644 --- a/rbutil/libtools.make +++ b/rbutil/libtools.make | |||
@@ -23,7 +23,7 @@ endif | |||
23 | TOP := $(dir $(lastword $(MAKEFILE_LIST))) | 23 | TOP := $(dir $(lastword $(MAKEFILE_LIST))) |
24 | 24 | ||
25 | # overwrite for releases | 25 | # overwrite for releases |
26 | APPVERSION ?= $(shell $(TOP)/../tools/version.sh ../) | 26 | APPVERSION ?= $(shell $(TOP)/../tools/version.sh $(TOP)/..) |
27 | CFLAGS += -DVERSION=\""$(APPVERSION)"\" | 27 | CFLAGS += -DVERSION=\""$(APPVERSION)"\" |
28 | TARGET_DIR ?= $(shell pwd)/ | 28 | TARGET_DIR ?= $(shell pwd)/ |
29 | 29 | ||