- acinclude: fix TARGET_PREFIX define for native target

Signed-off-by: Thilo Graf <dbt@novatux.de>

Note: TARGET_PREFIX describes inside the yocto SDK the toolchain
binary prefix for the target tools. Maybe this could make confuse
with usage of yocto SDK environment. Maybe we should rename this variable.
e.g EXEC_PREFIX or so ...
This commit is contained in:
svenhoefer
2017-12-15 23:20:55 +01:00
committed by Thilo Graf
parent aa1c16609c
commit 615688f3b9

View File

@@ -50,11 +50,12 @@ if test "$TARGET" = "native"; then
if test "$prefix" = "NONE"; then
prefix=/usr/local
fi
TARGET_PREFIX=$prefix
if test "$exec_prefix" = "NONE"; then
exec_prefix=$prefix
fi
targetprefix=$prefix
TARGET_PREFIX=$prefix
AC_DEFINE_UNQUOTED(TARGET_PREFIX, "$TARGET_PREFIX", [The targets prefix])
elif test "$TARGET" = "cdk"; then
AC_MSG_RESULT(cdk)