mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-30 16:14:09 +00:00
Allow ct-ng to be run from non-repo directories
closes #993 Signed-off-by: Daniel Black <daniel@linux.ibm.com>
This commit is contained in:
parent
673046cd2b
commit
a98584c897
2
ct-ng.in
2
ct-ng.in
@ -17,7 +17,7 @@ export CT_TOP_DIR:=$(shell pwd)
|
||||
ifeq (@enable_local@,yes)
|
||||
# automake does not allow to set pkgxxxdir, they are always derived from
|
||||
# a respective xxxdir. So, for enable-local case, set them directly here.
|
||||
export CT_LIB_DIR:=$(shell cd "@srcdir@" && pwd)
|
||||
export CT_LIB_DIR:=$(shell dirname $(CT_NG))
|
||||
export CT_LIBEXEC_DIR:=$(CT_TOP_DIR)/kconfig
|
||||
export CT_DOC_DIR:=$(CT_TOP_DIR)/docs
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user