003 File Manager
Current Path:
/usr/src/sys/conf
usr
/
src
/
sys
/
conf
/
📁
..
📄
Makefile.amd64
(1020 B)
📄
Makefile.arm
(2.62 KB)
📄
Makefile.arm64
(2.54 KB)
📄
Makefile.i386
(804 B)
📄
Makefile.mips
(2.92 KB)
📄
Makefile.powerpc
(1.63 KB)
📄
Makefile.riscv
(1.53 KB)
📄
NOTES
(99.98 KB)
📄
WITHOUT_SOURCELESS
(152 B)
📄
WITHOUT_SOURCELESS_HOST
(176 B)
📄
WITHOUT_SOURCELESS_UCODE
(529 B)
📄
config.mk
(2.34 KB)
📄
dtb.build.mk
(2.57 KB)
📄
dtb.mk
(1.1 KB)
📄
files
(236.01 KB)
📄
files.amd64
(20.58 KB)
📄
files.arm
(5.77 KB)
📄
files.arm64
(26.25 KB)
📄
files.i386
(10.21 KB)
📄
files.mips
(3.65 KB)
📄
files.powerpc
(14.11 KB)
📄
files.riscv
(2.64 KB)
📄
files.x86
(15.6 KB)
📄
kern.mk
(10.68 KB)
📄
kern.opts.mk
(4.62 KB)
📄
kern.post.mk
(14.85 KB)
📄
kern.pre.mk
(12.26 KB)
📄
kmod.mk
(15.01 KB)
📄
kmod.opts.mk
(454 B)
📄
kmod_syms.awk
(579 B)
📄
kmod_syms_prefix.awk
(437 B)
📄
ldscript.amd64
(7.82 KB)
📄
ldscript.arm
(4.63 KB)
📄
ldscript.arm64
(4.63 KB)
📄
ldscript.i386
(7.5 KB)
📄
ldscript.kmod.amd64
(1.71 KB)
📄
ldscript.kmod.i386
(1.5 KB)
📄
ldscript.mips
(8.37 KB)
📄
ldscript.mips.cfe
(8.78 KB)
📄
ldscript.mips.mips64
(8.37 KB)
📄
ldscript.mips.octeon1
(895 B)
📄
ldscript.powerpc
(4.57 KB)
📄
ldscript.powerpc64
(5.16 KB)
📄
ldscript.powerpc64le
(5.16 KB)
📄
ldscript.powerpcspe
(4.58 KB)
📄
ldscript.riscv
(4.38 KB)
📄
newvers.sh
(7.91 KB)
📄
options
(25.63 KB)
📄
options.amd64
(1.49 KB)
📄
options.arm
(1.41 KB)
📄
options.arm64
(776 B)
📄
options.i386
(2.63 KB)
📄
options.mips
(4.25 KB)
📄
options.powerpc
(586 B)
📄
options.riscv
(78 B)
📄
std.nodebug
(468 B)
📄
sysent.mk
(1.22 KB)
📄
systags.sh
(2.58 KB)
Editing: Makefile.mips
# Makefile.mips # $FreeBSD$ # # Makefile for FreeBSD # # This makefile is constructed from a machine description: # config machineid # Most changes should be made in the machine description # /sys/mips/conf/``machineid'' # after which you should do # config machineid # Generic makefile changes should be made in # /sys/conf/Makefile.mips # after which config should be rerun for all machines. # # Which version of config(8) is required. %VERSREQ= 600012 STD8X16FONT?= iso .if !defined(S) .if exists(./@/.) S= ./@ .else S= ../../.. .endif .endif .include "$S/conf/kern.pre.mk" INCLUDES+= -I$S/contrib/libfdt -I$S/contrib/device-tree/include LDSCRIPT_NAME?=ldscript.$M SYSTEM_LD:= ${SYSTEM_LD:$S/conf/${LDSCRIPT_NAME}=${LDSCRIPT_NAME}} SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/${LDSCRIPT_NAME}=${LDSCRIPT_NAME}} KERNLOADADDR?=0x80001000 # This obscure value is defined by CFE for WR160N # To be changed later TRAMPLOADADDR?=0x807963c0 # We default to the MIPS32 ISA for O32 and MIPS64 ISA for N64 and N32 # if none is specified in the kernel configuration file. .if ${MACHINE_ARCH:Mmips64*} != "" || ${MACHINE_ARCH:Mmipsn32*} != "" ARCH_FLAGS?=-march=mips64 .else ARCH_FLAGS?=-march=mips32 .endif ARCH_FLAGS+=-mabi=${MIPS_ABI} EXTRA_FLAGS=-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=${KERNLOADADDR} EXTRA_FLAGS+=-${MIPS_ENDIAN} # We add the -fno-pic flag to kernels because otherwise performance # is extremely poor, as well as -mno-abicalls to force no ABI usage. CFLAGS+=${EXTRA_FLAGS} $(ARCH_FLAGS) TRAMP_ARCH_FLAGS?=$(ARCH_FLAGS) TRAMP_EXTRA_FLAGS=${EXTRA_FLAGS} ${TRAMP_ARCH_FLAGS} # Kernel code is always compiled with soft-float on MIPS TRAMP_EXTRA_FLAGS+=-msoft-float .if ${MACHINE_ARCH:Mmips64*} != "" TRAMP_ELFSIZE=64 .else TRAMP_ELFSIZE=32 .endif ASM_CFLAGS+=${CFLAGS} -D_LOCORE -DLOCORE .if !defined(WITHOUT_KERNEL_TRAMPOLINE) KERNEL_EXTRA=trampoline KERNEL_EXTRA_INSTALL=${KERNEL_KO}.tramp.bin trampoline: ${KERNEL_KO}.tramp.bin ${KERNEL_KO}.tramp.bin: ${KERNEL_KO} $S/$M/$M/elf_trampoline.c \ $S/$M/$M/inckern.S ${OBJCOPY} --strip-symbol '$$d' --strip-symbol '$$a' \ -g --strip-symbol '$$t' ${FULLKERNEL} ${KERNEL_KO}.tmp sed -e s/${KERNLOADADDR}/${TRAMPLOADADDR}/ -e s/" + SIZEOF_HEADERS"// \ ${LDSCRIPT_NAME} > ${LDSCRIPT_NAME}.tramp.noheader ${CC} -O -nostdlib -I. -I$S ${TRAMP_EXTRA_FLAGS} ${TRAMP_LDFLAGS} -Xlinker \ -T -Xlinker ${LDSCRIPT_NAME}.tramp.noheader \ -DKERNNAME="\"${KERNEL_KO}.tmp\"" -DELFSIZE=${TRAMP_ELFSIZE} \ -fno-asynchronous-unwind-tables \ $S/$M/$M/inckern.S $S/$M/$M/elf_trampoline.c \ -o ${KERNEL_KO}.tramp.elf ${OBJCOPY} -S -O binary ${KERNEL_KO}.tramp.elf \ ${KERNEL_KO}.tramp.bin .endif %BEFORE_DEPEND %OBJS %FILES.c %FILES.s %FILES.m %CLEAN CLEAN+= ${LDSCRIPT_NAME} ${LDSCRIPT_NAME}.tramp.noheader \ ${KERNEL_KO}.tramp.elf ${KERNEL_KO}.tramp.bin ${LDSCRIPT_NAME}: $S/conf/${LDSCRIPT_NAME} sed s/KERNLOADADDR/${KERNLOADADDR}/g $S/conf/${LDSCRIPT_NAME} \ > ${LDSCRIPT_NAME} %RULES .include "$S/conf/kern.post.mk"
Upload File
Create Folder