Author: imp
Date: Thu Oct 25 04:21:05 2012
New Revision: 242064
URL: http://svn.freebsd.org/changeset/base/242064

Log:
  List all the mips MACHINE_ARCH values in the options file to allow
  conditional inclusion based on the MACHINE_ARCH we're compiling for.
  Make ucmpdi2 conditional on mips or mipsel.

Modified:
  head/sys/conf/files.mips
  head/sys/conf/options.mips

Modified: head/sys/conf/files.mips
==============================================================================
--- head/sys/conf/files.mips    Thu Oct 25 04:14:42 2012        (r242063)
+++ head/sys/conf/files.mips    Thu Oct 25 04:21:05 2012        (r242064)
@@ -62,7 +62,7 @@ libkern/flsl.c                                standard
 libkern/lshrdi3.c                      standard
 libkern/memchr.c                       optional        fdt
 libkern/memmove.c                      standard
-libkern/ucmpdi2.c                      standard
+libkern/ucmpdi2.c                      optional        mips | mipsel
 
 # Compat32 stuff
 compat/freebsd32/freebsd32_ioctl.c     optional        compat_freebsd32

Modified: head/sys/conf/options.mips
==============================================================================
--- head/sys/conf/options.mips  Thu Oct 25 04:14:42 2012        (r242063)
+++ head/sys/conf/options.mips  Thu Oct 25 04:21:05 2012        (r242064)
@@ -39,6 +39,13 @@ CPU_RMI              opt_global.h
 CPU_NLM                opt_global.h
 CPU_BERI       opt_global.h
 
+# which MACHINE_ARCH architecture
+MIPS
+MIPSEL
+MIPS64
+MIPS64EL
+MIPSN32
+
 COMPAT_FREEBSD32       opt_compat.h
 
 YAMON          opt_global.h
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to