diff --git a/configure b/configure
index bb17639287ab80ab1ffeb96f418c61bc9c353560..aafc27c75314803f8a8bfb28e1e33a3384948691 100755 (executable)
--- a/configure
+++ b/configure
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL AM_CFLAGS AM_LDFLAGS PLATFORM CMEM_INSTALL_DIR OMAPL138_TRUE OMAPL138_FALSE OMAP4430_TRUE OMAP4430_FALSE TCI6614_TRUE TCI6614_FALSE TCI6638_TRUE TCI6638_FALSE CMEM_TRUE CMEM_FALSE LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL AM_CFLAGS AM_LDFLAGS PLATFORM CMEM_INSTALL_DIR KERNEL_INSTALL_DIR OMAPL138_TRUE OMAPL138_FALSE TCI6614_TRUE TCI6614_FALSE TCI6638_TRUE TCI6638_FALSE OMAP54XX_SMP_TRUE OMAP54XX_SMP_FALSE CMEM_TRUE CMEM_FALSE KDIR_TRUE KDIR_FALSE LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
ac_env_CMEM_INSTALL_DIR_value=$CMEM_INSTALL_DIR
ac_cv_env_CMEM_INSTALL_DIR_set=${CMEM_INSTALL_DIR+set}
ac_cv_env_CMEM_INSTALL_DIR_value=$CMEM_INSTALL_DIR
+ac_env_KERNEL_INSTALL_DIR_set=${KERNEL_INSTALL_DIR+set}
+ac_env_KERNEL_INSTALL_DIR_value=$KERNEL_INSTALL_DIR
+ac_cv_env_KERNEL_INSTALL_DIR_set=${KERNEL_INSTALL_DIR+set}
+ac_cv_env_KERNEL_INSTALL_DIR_value=$KERNEL_INSTALL_DIR
#
# Report the --help message.
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor
- PLATFORM Platform to build. Options are: 'omapl138' 'omap4330' 'tci6614'
- and 'tci6638'. If not defined all platforms will be built.
+ PLATFORM Platform to build. Options are: 'omapl138' 'omap54xx_smp'
+ 'tci6614' and 'tci6638'. If not defined all platforms will be
+ built.
CMEM_INSTALL_DIR
Installation path directory to the CMEM libraries
+ KERNEL_INSTALL_DIR
+ Installation path to the Linux kernel.
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 3707 "configure"' > conftest.$ac_ext
+ echo '#line 3714 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6132: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6139: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6136: \$? = $ac_status" >&5
+ echo "$as_me:6143: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6400: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6407: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:6404: \$? = $ac_status" >&5
+ echo "$as_me:6411: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:6504: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:6511: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:6508: \$? = $ac_status" >&5
+ echo "$as_me:6515: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8849 "configure"
+#line 8856 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 8949 "configure"
+#line 8956 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:11289: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11296: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:11293: \$? = $ac_status" >&5
+ echo "$as_me:11300: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:11393: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11400: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:11397: \$? = $ac_status" >&5
+ echo "$as_me:11404: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:12700: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:12707: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:12704: \$? = $ac_status" >&5
+ echo "$as_me:12711: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:12968: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:12975: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:12972: \$? = $ac_status" >&5
+ echo "$as_me:12979: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13072: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13079: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13076: \$? = $ac_status" >&5
+ echo "$as_me:13083: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
+
# Test platform variable for setting
if test "x$PLATFORM" = "xomapl138"; then
{ echo "$as_me:$LINENO: PLATFORM is set to ${PLATFORM}" >&5
echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
else
- if test "x$PLATFORM" = "xomap4430"; then
+ if test "x$PLATFORM" = "xtci6614"; then
{ echo "$as_me:$LINENO: PLATFORM is set to ${PLATFORM}" >&5
echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
else
- if test "x$PLATFORM" = "xtci6614"; then
+ if test "x$PLATFORM" = "xtci6638"; then
{ echo "$as_me:$LINENO: PLATFORM is set to ${PLATFORM}" >&5
echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
else
- if test "x$PLATFORM" = "xtci6638"; then
+ if test "x$PLATFORM" = "xomap54xx_smp"; then
{ echo "$as_me:$LINENO: PLATFORM is set to ${PLATFORM}" >&5
echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
else
fi
+# Test platform for omap5 variable and require a KERNEL path
+if test "x$PLATFORM" = "xomap54xx_smp"; then
+ if test "x$KERNEL_INSTALL_DIR" = "x"; then
+ { { echo "$as_me:$LINENO: error: Kernel path for ${PLATFORM} is not set" >&5
+echo "$as_me: error: Kernel path for ${PLATFORM} is not set" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+fi
+
+
+# Ignore KERNEL path when no platform is set
+if test "x$PLATFORM" = "x"; then
+ KERNEL_INSTALL_DIR=
+fi
+
+
# Export optional user variable to Makefile(s)
+
# Define specific variables to be used in Makefile.am
-if test "x$PLATFORM" = "xomap4430"; then
- OMAP4430_TRUE=
- OMAP4430_FALSE='#'
-else
- OMAP4430_TRUE='#'
- OMAP4430_FALSE=
-fi
-
-
-
if test "x$PLATFORM" = "xtci6614"; then
TCI6614_TRUE=
TCI6614_FALSE='#'
+if test "x$PLATFORM" = "xomap54xx_smp"; then
+ OMAP54XX_SMP_TRUE=
+ OMAP54XX_SMP_FALSE='#'
+else
+ OMAP54XX_SMP_TRUE='#'
+ OMAP54XX_SMP_FALSE=
+fi
+
+
if test "x$CMEM_INSTALL_DIR" != "x"; then
CMEM_TRUE=
fi
+
+if test "x$KERNEL_INSTALL_DIR" != "x"; then
+ KDIR_TRUE=
+ KDIR_FALSE='#'
+else
+ KDIR_TRUE='#'
+ KDIR_FALSE=
+fi
+
+
# Generate Makefile(s)
ac_config_files="$ac_config_files Makefile"
ac_config_files="$ac_config_files linux/src/api/Makefile"
- ac_config_files="$ac_config_files linux/src/family/Makefile"
+ ac_config_files="$ac_config_files linux/src/mm/Makefile"
ac_config_files="$ac_config_files linux/src/daemon/Makefile"
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
-if test -z "${OMAP4430_TRUE}" && test -z "${OMAP4430_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"OMAP4430\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"OMAP4430\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
- { (exit 1); exit 1; }; }
-fi
if test -z "${TCI6614_TRUE}" && test -z "${TCI6614_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"TCI6614\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${OMAP54XX_SMP_TRUE}" && test -z "${OMAP54XX_SMP_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"OMAP54XX_SMP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"OMAP54XX_SMP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
if test -z "${CMEM_TRUE}" && test -z "${CMEM_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"CMEM\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${KDIR_TRUE}" && test -z "${KDIR_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"KDIR\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"KDIR\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
"linux/etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/etc/Makefile" ;;
"linux/src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/utils/Makefile" ;;
"linux/src/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/api/Makefile" ;;
- "linux/src/family/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/family/Makefile" ;;
+ "linux/src/mm/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/mm/Makefile" ;;
"linux/src/daemon/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/daemon/Makefile" ;;
"linux/src/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES linux/src/tests/Makefile" ;;
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
s,@AM_LDFLAGS@,$AM_LDFLAGS,;t t
s,@PLATFORM@,$PLATFORM,;t t
s,@CMEM_INSTALL_DIR@,$CMEM_INSTALL_DIR,;t t
+s,@KERNEL_INSTALL_DIR@,$KERNEL_INSTALL_DIR,;t t
s,@OMAPL138_TRUE@,$OMAPL138_TRUE,;t t
s,@OMAPL138_FALSE@,$OMAPL138_FALSE,;t t
-s,@OMAP4430_TRUE@,$OMAP4430_TRUE,;t t
-s,@OMAP4430_FALSE@,$OMAP4430_FALSE,;t t
s,@TCI6614_TRUE@,$TCI6614_TRUE,;t t
s,@TCI6614_FALSE@,$TCI6614_FALSE,;t t
s,@TCI6638_TRUE@,$TCI6638_TRUE,;t t
s,@TCI6638_FALSE@,$TCI6638_FALSE,;t t
+s,@OMAP54XX_SMP_TRUE@,$OMAP54XX_SMP_TRUE,;t t
+s,@OMAP54XX_SMP_FALSE@,$OMAP54XX_SMP_FALSE,;t t
s,@CMEM_TRUE@,$CMEM_TRUE,;t t
s,@CMEM_FALSE@,$CMEM_FALSE,;t t
+s,@KDIR_TRUE@,$KDIR_TRUE,;t t
+s,@KDIR_FALSE@,$KDIR_FALSE,;t t
s,@LIBOBJS@,$LIBOBJS,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF
You have configured to build for the '${PLATFORM}' platform
-Your CMEM installation is at:
+Your KERNEL installation directory is set to:
+ '${KERNEL_INSTALL_DIR}'
+
+Your CMEM installation directory is set to:
'${CMEM_INSTALL_DIR}'
Now type 'make; sudo make install' to generate the program