Changeset View
Changeset View
Standalone View
Standalone View
head/sys/modules/linux64/Makefile
Show All 38 Lines | ${VDSO}.so: linux_locore.o | ||||
${OBJCOPY} --input-target binary --output-target elf64-x86-64-freebsd \ | ${OBJCOPY} --input-target binary --output-target elf64-x86-64-freebsd \ | ||||
-S -g --binary-architecture i386:x86-64 linux_locore.o ${.TARGET} | -S -g --binary-architecture i386:x86-64 linux_locore.o ${.TARGET} | ||||
linux_support.o: assym.s linux_assym.h | linux_support.o: assym.s linux_assym.h | ||||
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ | ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ | ||||
${.IMPSRC} -o ${.TARGET} | ${.IMPSRC} -o ${.TARGET} | ||||
linux_genassym.o: | linux_genassym.o: | ||||
${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC} | ${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC} | ||||
.if !defined(KERNBUILDDIR) | .if !defined(KERNBUILDDIR) | ||||
.if defined(DEBUG) | .if defined(DEBUG) | ||||
CFLAGS+=-DDEBUG | CFLAGS+=-DDEBUG | ||||
.endif | .endif | ||||
.if defined(KTR) | .if defined(KTR) | ||||
CFLAGS+=-DKTR | CFLAGS+=-DKTR | ||||
.endif | .endif | ||||
.endif | .endif | ||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> |