core: avoid using BASE_DIR in vpath

When building core from a source archive, we don't want to incorporate
any source codes from BASE_DIR.
This commit is contained in:
Norman Feske 2017-04-07 18:27:10 +02:00 committed by Christian Helmuth
parent ece67ca174
commit e2fb49ae39
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ CC_OPT_version += -DGENODE_VERSION="\"$(GENODE_VERSION)\""
SRC_CC += version.cc
vpath version.cc $(BASE_DIR)/src/core
vpath version.cc $(dir $(call select_from_repositories,src/core/version.cc))
version.o: force_version_compilation