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.arm64
# Makefile.arm64 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 # from FreeBSD: src/sys/conf/Makefile.i386,v 1.255 2002/02/20 23:35:49 # $FreeBSD$ # # Makefile for FreeBSD # # This makefile is constructed from a machine description: # config machineid # Most changes should be made in the machine description # /sys/arm64/conf/``machineid'' # after which you should do # config machineid # Generic makefile changes should be made in # /sys/conf/Makefile.arm64 # after which config should be rerun for all machines. # # Which version of config(8) is required. %VERSREQ= 600012 .if !defined(S) S= ../../.. .endif .include "$S/conf/kern.pre.mk" INCLUDES+= -I$S/contrib/libfdt -I$S/contrib/device-tree/include # Use a custom SYSTEM_LD command to generate the elf kernel, so we can # set the text segment start address, and also strip the "arm mapping # symbols" which have names like $a.0 and $d.2; see the document # "ELF for the ARM architecture" for more info on the mapping symbols. SYSTEM_LD= \ ${SYSTEM_LD_BASECMD} \ --defsym='text_start=kernbase + SIZEOF_HEADERS' \ -o ${.TARGET} ${SYSTEM_OBJS} vers.o; \ $(OBJCOPY) \ --wildcard \ --strip-symbol='$$[adtx]*' \ ${.TARGET} # Generate the .bin (booti images) kernel as an extra build output. # The targets and rules to generate these appear near the end of the file. KERNEL_EXTRA+= ${KERNEL_KO}.bin KERNEL_EXTRA_INSTALL+= ${KERNEL_KO}.bin .if !empty(DDB_ENABLED) || !empty(DTR_ENABLED) || !empty(HWPMC_ENABLED) CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer .endif %BEFORE_DEPEND %OBJS %FILES.c %FILES.s %FILES.m %CLEAN CLEAN+= ${KERNEL_KO}.bin %RULES .include "$S/conf/kern.post.mk" # Create a kernel.bin file... # Copy the kernel to u-boot's booti image format (the elf headers are # stripped and a custom binary head blob is prepended), saving the # output in a temp file. We also strip arm "marker" symbols which are # used only by elf toolchains. Read the symbols from kernel.full and pass # them to arm_kernel_boothdr.awk, which generates a binary header blob # that goes on the front of the stripped kernel. Cat the header blob # and the temp file together to make the kernel.bin file. ${KERNEL_KO}.bin: ${FULLKERNEL} @${OBJCOPY} --wildcard --strip-symbol='$$[adtx]*' \ --output-target=binary ${.ALLSRC} ${.TARGET}.temp @{ readelf -s ${.ALLSRC} | \ ${AWK} -f $S/tools/arm_kernel_boothdr.awk -v hdrtype=v8booti && \ cat ${.TARGET}.temp; \ } > ${.TARGET} @rm ${.TARGET}.temp @echo "created ${.TARGET} from ${.ALLSRC}"
Upload File
Create Folder