kernel: Remove kernel profiling bits.
[dragonfly.git] / sys / platform / vkernel64 / conf / Makefile
blob979c70a49491228d834565f10dd533fcf5098d19
1 # Which version of config(8) is required.
3 %VERSREQ= 400026
5 .if !defined(S)
6 .if exists(./@/.)
7 S= ./@
8 .else
9 S= ../..
10 .endif
11 .endif
13 .include "$S/conf/kern.pre.mk"
15 # Override the normal kernel link and link as a normal user program
17 # Note that the vkernel requires .hash section to be present as the kernel
18 # linker uses it to resolve its symbols.
20 # Additionally, the max-page-size is set to 0x200000 regardless of the ld
21 # default setting.
23 SYSTEM_LD= @${CC} ${DEBUG} -Wl,--export-dynamic -o ${.TARGET} ${SYSTEM_OBJS} vers.o -pthread
24 SYSTEM_LD+= -Wl,--hash-style=sysv
25 SYSTEM_LD+= -Wl,-z,max-page-size=0x200000
27 %BEFORE_DEPEND
29 %OBJS
31 %CFILES
33 %SFILES
35 %MFILES
37 %CLEAN
39 .include "$S/conf/kern.post.mk"
41 %RULES
43 # DO NOT DELETE THIS LINE -- make depend uses it