mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-22 09:40:56 +00:00
Merge pull request #1082 from stilor/run-from
Run "local" ct-ng from any directory
This commit is contained in:
commit
be1ae32a98
6
ct-ng.in
6
ct-ng.in
@ -17,9 +17,9 @@ export CT_TOP_DIR:=$(shell pwd)
|
|||||||
ifeq (@enable_local@,yes)
|
ifeq (@enable_local@,yes)
|
||||||
# automake does not allow to set pkgxxxdir, they are always derived from
|
# automake does not allow to set pkgxxxdir, they are always derived from
|
||||||
# a respective xxxdir. So, for enable-local case, set them directly here.
|
# a respective xxxdir. So, for enable-local case, set them directly here.
|
||||||
export CT_LIB_DIR:=$(shell cd "@srcdir@" && pwd)
|
export CT_LIB_DIR:=$(dir $(CT_NG))
|
||||||
export CT_LIBEXEC_DIR:=$(CT_TOP_DIR)/kconfig
|
export CT_LIBEXEC_DIR:=$(CT_LIB_DIR)/kconfig
|
||||||
export CT_DOC_DIR:=$(CT_TOP_DIR)/docs
|
export CT_DOC_DIR:=$(CT_LIB_DIR)/docs
|
||||||
else
|
else
|
||||||
# Paths and values set by ./configure
|
# Paths and values set by ./configure
|
||||||
# Don't bother to change it other than with a new ./configure!
|
# Don't bother to change it other than with a new ./configure!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user