Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/linux/Makefile
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | linux${SFX}_vdso_gtod.o: linux_vdso_gtod.inc ${VDSODEPS} | ||||
-fno-omit-frame-pointer -foptimize-sibling-calls ${VDSOFLAGS} \ | -fno-omit-frame-pointer -foptimize-sibling-calls ${VDSOFLAGS} \ | ||||
-fno-stack-protector -I. -I${SYSDIR} -I${SRCTOP}/include \ | -fno-stack-protector -I. -I${SYSDIR} -I${SRCTOP}/include \ | ||||
${.IMPSRC} -o ${.TARGET} | ${.IMPSRC} -o ${.TARGET} | ||||
linux${SFX}_vdso.so.o: linux${SFX}_locore.o linux${SFX}_vdso_gtod.o | linux${SFX}_vdso.so.o: linux${SFX}_locore.o linux${SFX}_vdso_gtod.o | ||||
${LD} -m elf_i386 --shared --eh-frame-hdr -soname=linux-gate.so.1 \ | ${LD} -m elf_i386 --shared --eh-frame-hdr -soname=linux-gate.so.1 \ | ||||
--no-undefined --hash-style=both -warn-common -nostdlib \ | --no-undefined --hash-style=both -warn-common -nostdlib \ | ||||
--strip-debug -s --build-id=sha1 --Bsymbolic \ | --strip-debug -s --build-id=sha1 --Bsymbolic \ | ||||
-T${SRCTOP}/sys/${MACHINE}/linux${SFX}/linux${SFX}_vdso.lds.s \ | -T${SRCTOP}/sys/${MACHINE}/linux${SFX}/linux${SFX}_vdso.lds \ | ||||
-o ${.TARGET} ${.ALLSRC:M*.o} | -o ${.TARGET} ${.ALLSRC:M*.o} | ||||
.if ${MACHINE_CPUARCH} == "amd64" | .if ${MACHINE_CPUARCH} == "amd64" | ||||
OBJCOPY_TARGET=--output-target elf64-x86-64-freebsd --binary-architecture i386 | OBJCOPY_TARGET=--output-target elf64-x86-64-freebsd --binary-architecture i386 | ||||
.elif ${MACHINE_CPUARCH} == "i386" | .elif ${MACHINE_CPUARCH} == "i386" | ||||
OBJCOPY_TARGET=--output-target elf32-i386-freebsd --binary-architecture i386 | OBJCOPY_TARGET=--output-target elf32-i386-freebsd --binary-architecture i386 | ||||
.else | .else | ||||
.error ${MACHINE_CPUARCH} not yet supported by linux | .error ${MACHINE_CPUARCH} not yet supported by linux | ||||
Show All 23 Lines |