1 # Which version of config(8) is required.
6 .if exists
(.
/dragonfly
/.
)
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
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
39 .
include "$S/conf/kern.post.mk"
43 # DO NOT DELETE THIS LINE -- make depend uses it