aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2012-10-25 04:21:05 +0000
committerWarner Losh <imp@FreeBSD.org>2012-10-25 04:21:05 +0000
commit3ac5e4bbea6ac97b1ee606b5beaba150f2dd48c3 (patch)
treef25c2742280109f0257f8c0f0698f06c617b32fb /sys/conf
parentd19ad3d85790aeb100125fefa479815f8e7fcdba (diff)
downloadsrc-3ac5e4bbea6ac97b1ee606b5beaba150f2dd48c3.tar.gz
src-3ac5e4bbea6ac97b1ee606b5beaba150f2dd48c3.zip
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.
Notes
Notes: svn path=/head/; revision=242064
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 bbabcfce4d59..e9ce8506da02 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 6fb7226d1429..e9fc14ad55c2 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