Modular build fails for drivers - ./configure syntax error

Brian Paul brian.paul at tungstengraphics.com
Tue Apr 10 13:05:37 PDT 2007


I haven't tested this, but this patch to util/modular/build.sh should 
build/install libdrm on supported platforms.

Maybe you can try this, David, and let me know.

-Brian

diff --git a/build.sh b/build.sh
index 3286e4e..c1838c3 100755
--- a/build.sh
+++ b/build.sh
@@ -285,6 +285,18 @@ build_xserver() {
      build xserver ""
  }

+
+build_drm() {
+    case $HOST_OS in
+       Linux | *FreeBSD*)
+           build libdrm ""
+           ;;
+       *)
+           ;;
+    esac
+}
+
+
  build_driver_input() {

      HOST_OS=`uname -s`
@@ -603,6 +615,7 @@ build_proto
  build_lib
  build data bitmaps
  build_app
+build_drm
  build_xserver
  build_driver
  build_data



More information about the xorg mailing list