Makefile (344373) | Makefile (344377) |
---|---|
1# $FreeBSD: stable/11/stand/i386/zfsboot/Makefile 344373 2019-02-20 18:44:09Z kevans $ | 1# $FreeBSD: stable/11/stand/i386/zfsboot/Makefile 344377 2019-02-20 19:13:09Z kevans $ |
2 3HAVE_GELI=yes 4 5.include <bsd.init.mk> 6 7.PATH: ${BOOTSRC}/i386/boot2 ${BOOTSRC}/i386/common ${SASRC} 8 9FILES= zfsboot --- 22 unchanged lines hidden (view full) --- 32 -I${SYSDIR}/crypto/skein \ 33 -I${SYSDIR}/cddl/boot/zfs \ 34 -I${BOOTSRC}/i386/boot2 \ 35 -Wall -Waggregate-return -Wbad-function-cast -Wno-cast-align \ 36 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \ 37 -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings 38 39CFLAGS.gcc+= --param max-inline-insns-single=100 | 2 3HAVE_GELI=yes 4 5.include <bsd.init.mk> 6 7.PATH: ${BOOTSRC}/i386/boot2 ${BOOTSRC}/i386/common ${SASRC} 8 9FILES= zfsboot --- 22 unchanged lines hidden (view full) --- 32 -I${SYSDIR}/crypto/skein \ 33 -I${SYSDIR}/cddl/boot/zfs \ 34 -I${BOOTSRC}/i386/boot2 \ 35 -Wall -Waggregate-return -Wbad-function-cast -Wno-cast-align \ 36 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \ 37 -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings 38 39CFLAGS.gcc+= --param max-inline-insns-single=100 |
40.if ${MACHINE} == "amd64" 41LIBZFSBOOT=${BOOTOBJ}/zfs32/libzfsboot.a 42.else 43LIBZFSBOOT=${BOOTOBJ}/zfs/libzfsboot.a 44.endif | |
45 46LD_FLAGS+=${LD_FLAGS_BIN} 47 48CLEANFILES+= zfsboot 49 50zfsboot: zfsboot1 zfsboot2 51 cat zfsboot1 zfsboot2 > zfsboot 52 --- 24 unchanged lines hidden (view full) --- 77 78zfsboot.ldr: 79 cp /dev/null ${.TARGET} 80 81zfsboot.bin: zfsboot.out 82 ${OBJCOPY} -S -O binary zfsboot.out ${.TARGET} 83 84zfsboot.out: ${BTXCRT} zfsboot.o sio.o drv.o cons.o | 40 41LD_FLAGS+=${LD_FLAGS_BIN} 42 43CLEANFILES+= zfsboot 44 45zfsboot: zfsboot1 zfsboot2 46 cat zfsboot1 zfsboot2 > zfsboot 47 --- 24 unchanged lines hidden (view full) --- 72 73zfsboot.ldr: 74 cp /dev/null ${.TARGET} 75 76zfsboot.bin: zfsboot.out 77 ${OBJCOPY} -S -O binary zfsboot.out ${.TARGET} 78 79zfsboot.out: ${BTXCRT} zfsboot.o sio.o drv.o cons.o |
85 ${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC} ${LIBZFSBOOT} ${LIBSA32} | 80 ${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC} ${LIBSA32} |
86 87SRCS= zfsboot.c 88 89.include <bsd.prog.mk> 90 91# XXX: clang integrated-as doesn't grok .codeNN directives yet 92CFLAGS.zfsldr.S= ${CLANG_NO_IAS} | 81 82SRCS= zfsboot.c 83 84.include <bsd.prog.mk> 85 86# XXX: clang integrated-as doesn't grok .codeNN directives yet 87CFLAGS.zfsldr.S= ${CLANG_NO_IAS} |