diff options
| author | Daniel Black <daniel@linux.ibm.com> | 2018-11-02 22:42:27 +1100 |
|---|---|---|
| committer | Alexey Neyman <stilor@att.net> | 2018-11-03 14:13:08 -0700 |
| commit | a98584c8971c1932ddd216fe6bbca456cd94a388 (patch) | |
| tree | 2859afab9e2087e0d9f4968d0bc284005534a4e9 | |
| parent | 673046cd2beb4d44f6bfa7b6b55ebadb1ee3c19e (diff) | |
| download | crosstool-ng-a98584c8971c1932ddd216fe6bbca456cd94a388.tar.gz crosstool-ng-a98584c8971c1932ddd216fe6bbca456cd94a388.tar.bz2 crosstool-ng-a98584c8971c1932ddd216fe6bbca456cd94a388.zip | |
Allow ct-ng to be run from non-repo directories
closes #993
Signed-off-by: Daniel Black <daniel@linux.ibm.com>
| -rw-r--r-- | ct-ng.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
