Changeset View
Changeset View
Standalone View
Standalone View
head/sys/modules/linux/Makefile
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | ${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} | ||||
strip -N _binary_linux_locore_o_size ${.TARGET} | strip -N _binary_linux_locore_o_size ${.TARGET} | ||||
.endif | .endif | ||||
linux${SFX}_genassym.o: offset.inc | linux${SFX}_genassym.o: offset.inc | ||||
${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC} | ${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC} | ||||
.if !defined(KERNBUILDDIR) | |||||
.warning Building Linuxulator outside of a kernel does not make sense | |||||
.endif | |||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> |