Changeset View
Changeset View
Standalone View
Standalone View
head/sys/modules/linux/Makefile
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | ${OBJCOPY} --input-target binary --output-target elf64-x86-64-freebsd \ | ||||
--binary-architecture i386 linux${SFX}_locore.o ${.TARGET} | --binary-architecture i386 linux${SFX}_locore.o ${.TARGET} | ||||
.else | .else | ||||
${VDSO}.so: linux${SFX}_locore.o | ${VDSO}.so: linux${SFX}_locore.o | ||||
${OBJCOPY} --input-target binary --output-target elf32-i386-freebsd \ | ${OBJCOPY} --input-target binary --output-target elf32-i386-freebsd \ | ||||
--binary-architecture i386 linux${SFX}_locore.o ${.TARGET} | --binary-architecture i386 linux${SFX}_locore.o ${.TARGET} | ||||
.endif | .endif | ||||
linux${SFX}_genassym.o: | linux${SFX}_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(KTR) | .if defined(KTR) | ||||
CFLAGS+= -DKTR | CFLAGS+= -DKTR | ||||
.endif | .endif | ||||
.if defined(DEBUG) | .if defined(DEBUG) | ||||
CFLAGS+= -DDEBUG | CFLAGS+= -DDEBUG | ||||
.endif | .endif | ||||
.endif | .endif | ||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> |