summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-10-25 04:21:05 +0000
committerimp <imp@FreeBSD.org>2012-10-25 04:21:05 +0000
commitee346fe38cd7ffd25ea1a16cc5fd81e4b6803005 (patch)
treef25c2742280109f0257f8c0f0698f06c617b32fb /sys/conf
parent4e2f189f75b2080113f699469c79b4925ca16ac0 (diff)
downloadFreeBSD-src-ee346fe38cd7ffd25ea1a16cc5fd81e4b6803005.zip
FreeBSD-src-ee346fe38cd7ffd25ea1a16cc5fd81e4b6803005.tar.gz
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.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files.mips2
-rw-r--r--sys/conf/options.mips7
2 files changed, 8 insertions, 1 deletions
diff --git a/sys/conf/files.mips b/sys/conf/files.mips
index bbabcfc..e9ce850 100644
--- a/sys/conf/files.mips
+++ b/sys/conf/files.mips
@@ -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
diff --git a/sys/conf/options.mips b/sys/conf/options.mips
index 6fb7226..e9fc14a 100644
--- a/sys/conf/options.mips
+++ b/sys/conf/options.mips
@@ -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
OpenPOWER on IntegriCloud