do not assume relative positions of modules

This commit is contained in:
Bjoern Michaelsen
2012-05-18 11:52:23 +02:00
parent 3c2ed3fcba
commit 1882a7d9f5

View File

@@ -1,7 +1,9 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
ifeq ($(origin SRC_ROOT),undefined)
SRC_ROOT=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))../../..
endif
include $(module_directory)../../../solenv/gbuild/partial_build.mk
include $(SRC_ROOT)/solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4: