]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/blobdiff - configure.ac
Linux: Remove KERNEL and DRM requirement
[ipc/ipcdev.git] / configure.ac
index 7947cf505059e7e3de5022959450f9ec04a4e7ed..355d2286af777878544bb4c6f9024494121699bd 100644 (file)
@@ -70,7 +70,7 @@ AC_SUBST([AM_LDFLAGS])
 AC_ARG_VAR(PLATFORM, Platform to build. Options are: 'omapl138' 'omap54xx_smp' 'tci6636' 'tci6638' and 'dra7xx'. If not defined all platforms will be built.)
 AC_ARG_VAR(CMEM_INSTALL_DIR, Installation path directory to the CMEM libraries)
 AC_ARG_VAR(KERNEL_INSTALL_DIR, Installation path to the Linux kernel.)
-AC_ARG_VAR(DRMLIB_PREFIX, Installation location to the DRM library.)
+AC_ARG_VAR(DRM_PREFIX, Installation location to the DRM library.)
 
 # Test platform variable for setting
 AS_IF([test "x$PLATFORM" = "xomapl138"],
@@ -89,23 +89,6 @@ AS_IF([test "x$PLATFORM" = "xomapl138"],
   [AC_MSG_NOTICE([PLATFORM is not set. All supported platforms will be built ....])],
   [AC_MSG_ERROR([PLATFORM is set to "${PLATFORM}": run ./configure --help for available PLATFORM options])])])])])])])])
 
-# Test platform for omap5 and dra7xx variable and require a KERNEL path
-AS_IF([test "x$PLATFORM" = "xomap54xx_smp"],
-   [AS_IF([test "x$KERNEL_INSTALL_DIR" = "x"],
-   [AC_MSG_ERROR([Kernel path for ${PLATFORM} is not set])])])
-AS_IF([test "x$PLATFORM" = "xdra7xx"],
-   [AS_IF([test "x$KERNEL_INSTALL_DIR" = "x"],
-   [AC_MSG_ERROR([Kernel path for ${PLATFORM} is not set])])])
-
-# Test platform for omap5 and dra7xx variable and require a DRM path
-AS_IF([test "x$PLATFORM" = "xomap54xx_smp"],
-   [AS_IF([test "x$DRM_PREFIX" = "x"],
-   [AC_MSG_ERROR([DRM PREFIX path for ${PLATFORM} is not set])])])
-AS_IF([test "x$PLATFORM" = "xdra7xx"],
-   [AS_IF([test "x$DRM_PREFIX" = "x"],
-   [AC_MSG_ERROR([DRM PREFIX path for ${PLATFORM} is not set])])])
-
-
 # Ignore KERNEL path when no platform is set
 AS_IF([test "x$PLATFORM" = "x"], [KERNEL_INSTALL_DIR=])
 AS_IF([test "x$PLATFORM" = "x"], [DRM_PREFIX=])
@@ -151,6 +134,9 @@ You have configured to build for the '${PLATFORM}' platform
 Your KERNEL installation directory is set to:
     '${KERNEL_INSTALL_DIR}'
 
+Your DRM installation directory is set to:
+    '${DRM_PREFIX}'
+
 Your CMEM installation directory is set to:
     '${CMEM_INSTALL_DIR}'