<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Tue, 2010-06-22 at 17:32 +0300, Martin-&#201;ric Racine wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Gaetan,

There seems to be a confusion about two separate issues: the
architecture on which Geode can be compiled, versus the architacture
on which it can factually run.  As such, I'm not sure what your patch
can accomplish. Would you care to explain?

</PRE>
</BLOCKQUOTE>
I want to skip building the driver on as many platforms as we can, where we know it will fail to compile,<BR>
for the reasons I explained in the other post. <BR>
<BR>
I think the patch those that, perhaps a better message is required.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Martin-&#201;ric

On Tue, Jun 22, 2010 at 3:50 PM, Gaetan Nadon &lt;<A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>&gt; wrote:
&gt; When doing full X.Org builds, many waste time investigating
&gt; compile errors, not knowing anything about Geode.
&gt;
&gt; The configuration will not abort, a warning message is issued
&gt; and no C code is compiled.
&gt;
&gt; Signed-off-by: Gaetan Nadon &lt;<A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>&gt;
&gt; ---
&gt; &nbsp;Makefile.am &nbsp;| &nbsp; &nbsp;5 ++++-
&gt; &nbsp;configure.ac | &nbsp; 12 ++++--------
&gt; &nbsp;2 files changed, 8 insertions(+), 9 deletions(-)
&gt;
&gt; diff --git a/Makefile.am b/Makefile.am
&gt; index 74e0bd3..adb0525 100644
&gt; --- a/Makefile.am
&gt; +++ b/Makefile.am
&gt; @@ -18,7 +18,10 @@
&gt; &nbsp;# &nbsp;IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
&gt; &nbsp;# &nbsp;CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
&gt;
&gt; -SUBDIRS = src
&gt; +if I386ARCH
&gt; + &nbsp;SUBDIRS = src
&gt; +endif
&gt; +
&gt; &nbsp;MAINTAINERCLEANFILES = ChangeLog INSTALL
&gt; &nbsp;EXTRA_DIST = autogen.sh
&gt;
&gt; diff --git a/configure.ac b/configure.ac
&gt; index 36ee002..b456364 100644
&gt; --- a/configure.ac
&gt; +++ b/configure.ac
&gt; @@ -114,20 +114,16 @@ AC_SUBST([XORG_CFLAGS])
&gt; &nbsp;AC_SUBST([moduledir])
&gt; &nbsp;AC_SUBST([AMD_CFLAGS])
&gt;
&gt; -is386=false
&gt; -
&gt; &nbsp;case $host_cpu in
&gt; &nbsp; i*86)
&gt; &nbsp; &nbsp; &nbsp; &nbsp;is386=true
&gt; &nbsp; &nbsp; &nbsp; &nbsp;;;
&gt; + &nbsp;*)
&gt; + &nbsp; &nbsp; &nbsp; AC_MSG_WARN([Geode only runs on 32 bit x86 instruction set architecture])
&gt; &nbsp;esac
&gt;
&gt; -# Unset is386 if compiling for AMD64/EM64T
&gt; -if test $is386 = true ; then
&gt; - &nbsp; &nbsp; &nbsp; AC_CHECK_DECLS([_LP64, __amd64__, amd64], [is386=false])
&gt; -fi
&gt; -
&gt; -AM_CONDITIONAL([I386ARCH], [test $is386 = true])
&gt; +# Only build Geode driver on 32 bit x86 instruction set architecture
&gt; +AM_CONDITIONAL([I386ARCH], [test &quot;x$is386&quot; = xtrue])
&gt;
&gt; &nbsp;DRIVER_NAME=geode
&gt; &nbsp;AC_SUBST([DRIVER_NAME])
&gt; --
&gt; 1.6.0.4
&gt;
&gt; Second edition.
&gt;
&gt; Updated the warning message
&gt; Updated the commit message
&gt;
&gt; I can push the patch if it's OK.
&gt;
&gt;
&gt;
&gt; _______________________________________________
&gt; Xorg-driver-geode mailing list
&gt; <A HREF="mailto:Xorg-driver-geode@lists.x.org">Xorg-driver-geode@lists.x.org</A>
&gt; <A HREF="http://lists.x.org/mailman/listinfo/xorg-driver-geode">http://lists.x.org/mailman/listinfo/xorg-driver-geode</A>
&gt;



</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>