[Buildroot] [PATCH] allow module-init-tools on uClinux

Nicolas Pitre nico at cam.org
Wed Dec 3 20:47:47 UTC 2008


Matching *-*-linux* is too restrictive.

Signed-off-by: Nicolas Pitre <nico at cam.org>

Index: package/module-init-tools/module-init-tools-match-uclinux.patch
===================================================================
--- package/module-init-tools/module-init-tools-match-uclinux.patch	(revision 0)
+++ package/module-init-tools/module-init-tools-match-uclinux.patch	(revision 0)
@@ -0,0 +1,23 @@
+# relax target match to also include uclinux
+--- module-init-tools-3.2.2/configure.orig	2008-11-27 12:26:35.000000000 -0500
++++ module-init-tools-3.2.2/configure	2008-11-27 12:26:47.000000000 -0500
+@@ -2818,7 +2818,7 @@
+ 
+ 
+ case $target in
+-*-*-linux*) ;;
++*-*linux*) ;;
+ *) { { echo "$as_me:$LINENO: error: Linux only, dude!" >&5
+ echo "$as_me: error: Linux only, dude!" >&2;}
+    { (exit 1); exit 1; }; };;
+--- module-init-tools-3.2.2/configure.in.orig	2008-11-27 12:26:14.000000000 -0500
++++ module-init-tools-3.2.2/configure.in	2008-11-27 12:26:56.000000000 -0500
+@@ -21,7 +21,7 @@
+ AC_SUBST(LDADD)
+ 
+ case $target in
+-*-*-linux*) ;;
++*-*linux*) ;;
+ *) AC_MSG_ERROR([Linux only, dude!]);;
+ esac
+ 



More information about the buildroot mailing list