From 4f0906080d2b90388f2154d38d7389bc34496ef4 Mon Sep 17 00:00:00 2001 From: Daniel Hellstrom Date: Mon, 13 Apr 2015 10:32:50 +0200 Subject: DRVMGR: only build on SPARC platform --- cpukit/configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cpukit/configure.ac') diff --git a/cpukit/configure.ac b/cpukit/configure.ac index 69319ad65f..2b432f6437 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -427,6 +427,18 @@ esac AM_CONDITIONAL(LIBPCI,[test x"$HAVE_LIBPCI" = x"yes"]) AC_MSG_RESULT([$HAVE_LIBPCI]) +# Filter libdrvmgr to only build for architectures that have support for it +AC_MSG_CHECKING([whether CPU supports libdrvmgr]) +case $RTEMS_CPU in + sparc) + HAVE_LIBDRVMGR=yes ;; + *) + HAVE_LIBDRVMGR=no ;; +esac +AM_CONDITIONAL(LIBDRVMGR,[test x"$HAVE_LIBDRVMGR" = x"yes"]) +AC_MSG_RESULT([$HAVE_LIBDRVMGR]) + + RTEMS_AMPOLISH3 # Explicitly list all Makefiles here -- cgit v1.2.3