@@ -51,6 +51,15 @@ AC_ARG_WITH([platform],
AC_SUBST([with_platform])
+AC_ARG_WITH([external-sysroot],
+AC_HELP_STRING([--with-external-sysroot=DIR Path to external sysroot directory],
+ [(or in the default path if not specified).]),
+[EXTERNAL_SYSROOT=$withval EXTERNAL_SYSROOT_=1],[EXTERNAL_SYSROOT_=])
+
+AC_SUBST(EXTERNAL_SYSROOT)
+
+AM_CONDITIONAL([EXTERNAL_SYSROOT_], [test "x${EXTERNAL_SYSROOT_}" = "x1"])
+
##########################################################################
# Enable/disable netmap support
##########################################################################
Makes it easier for external libs and headers if they aren't in the default path. Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+)