fix build error with "out of tree build"

- change include-path
- enable memdump by default
This commit is contained in:
Takayuki Okamoto
2017-09-06 21:53:56 +09:00
parent 9a550b310c
commit 8cc264d794
3 changed files with 15 additions and 9 deletions

11
configure vendored
View File

@ -4305,9 +4305,6 @@ case $WITH_TARGET in
if test "X$SBINDIR" = X; then
SBINDIR="$prefix/sbin"
fi
if test "X$ETCDIR" = X; then
ETCDIR="$prefix/etc"
fi
if test "X$KMODDIR" = X; then
KMODDIR="$prefix/kmod"
fi
@ -4334,6 +4331,9 @@ case $WITH_TARGET in
if test "X$INCDIR" = X; then
INCDIR="$prefix/include"
fi
if test "X$ETCDIR" = X; then
ETCDIR="$prefix/etc"
fi
if test "X$KMODDIR" = X; then
KMODDIR="$prefix/kmod"
fi
@ -4360,6 +4360,9 @@ case $WITH_TARGET in
if test "X$INCDIR" = X; then
INCDIR="$prefix/include"
fi
if test "X$ETCDIR" = X; then
ETCDIR="$prefix/etc"
fi
if test "X$KMODDIR" = X; then
KMODDIR="$prefix/kmod"
fi
@ -4775,7 +4778,7 @@ case $ENABLE_MEMDUMP in
default)
# POSTK_DEBUG_ARCH_DEP_30, Expansion of the branch.
# if test "x$WITH_TARGET" = "xsmp-x86" ; then
if test "x$WITH_TARGET" = "xsmp-*" ; then
if test "x$WITH_TARGET" = "xsmp-x86" -o "x$WITH_TARGET" = "xsmp-arm64" ; then
ENABLE_MEMDUMP=auto
else
ENABLE_MEMDUMP=no