options MIPS_INTRNG missing bits

Eugene Grosbein eugen at grosbein.net
Tue Mar 8 18:21:08 UTC 2016


Hi!

I'ver tried to compile MIPS kernel with options MIPS_INTRNG included
but it fails with multiple errors. It compiles with following patch
but I'm not sure it this is right. And I cannot understand, if it works or not.
I've tried this with my TP-Link TL-WDR3600 and it boots just fine.

--- sys/conf/files.mips.orig	2016-03-08 22:24:42.292447000 +0700
+++ sys/conf/files.mips	2016-03-08 23:04:23.475019000 +0700
@@ -50,8 +50,10 @@
 # misc opt-in bits
 kern/kern_clocksource.c			standard
 kern/link_elf_obj.c			standard
+kern/pic_if.m				optional	mips_intrng
 kern/subr_busdma_bufalloc.c		standard
 kern/subr_dummy_vdso_tc.c		standard
+kern/subr_intr.c			optional	mips_intrng
 kern/subr_sfbuf.c			optional	mips | mipsel | mipsn32
 
 # gcc/clang runtime


More information about the freebsd-mips mailing list