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
This commit is contained in:
parent
9c1ed84d28
commit
45cda1fdcc
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ endif
|
||||||
TOP := $(dir $(lastword $(MAKEFILE_LIST)))
|
TOP := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||||
|
|
||||||
# overwrite for releases
|
# overwrite for releases
|
||||||
APPVERSION ?= $(shell $(TOP)/../tools/version.sh ../)
|
APPVERSION ?= $(shell $(TOP)/../tools/version.sh $(TOP)/..)
|
||||||
CFLAGS += -DVERSION=\""$(APPVERSION)"\"
|
CFLAGS += -DVERSION=\""$(APPVERSION)"\"
|
||||||
TARGET_DIR ?= $(shell pwd)/
|
TARGET_DIR ?= $(shell pwd)/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue