kern.pre.mk (f5dac37f967c72e3b486d96b547cd9f6471ed2c8) | kern.pre.mk (1dd50172b0d868e007f4172c778c231e13d2629c) |
---|---|
1# $FreeBSD$ 2 3# Part of a unified Makefile for building kernels. This part contains all 4# of the definitions that need to be before %BEFORE_DEPEND. 5 6# Allow user to configure things that only effect src tree builds. 7# Note: This is duplicated from src.sys.mk to ensure that we include 8# /etc/src.conf when building the kernel. Kernels can be built without --- 105 unchanged lines hidden (view full) --- 114PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} 115NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC} 116 117NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk ${.IMPSRC} -c ; \ 118 ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.PREFIX}.c 119 120NORMAL_FW= uudecode -o ${.TARGET} ${.ALLSRC} 121NORMAL_FWO= ${LD} -b binary --no-warn-mismatch -d -warn-common -r \ | 1# $FreeBSD$ 2 3# Part of a unified Makefile for building kernels. This part contains all 4# of the definitions that need to be before %BEFORE_DEPEND. 5 6# Allow user to configure things that only effect src tree builds. 7# Note: This is duplicated from src.sys.mk to ensure that we include 8# /etc/src.conf when building the kernel. Kernels can be built without --- 105 unchanged lines hidden (view full) --- 114PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} 115NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC} 116 117NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk ${.IMPSRC} -c ; \ 118 ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.PREFIX}.c 119 120NORMAL_FW= uudecode -o ${.TARGET} ${.ALLSRC} 121NORMAL_FWO= ${LD} -b binary --no-warn-mismatch -d -warn-common -r \ |
122 -o ${.TARGET} ${.ALLSRC:M*.fw} | 122 -m ${LD_EMULATION} -o ${.TARGET} ${.ALLSRC:M*.fw} |
123 124# Common for dtrace / zfs 125CDDL_CFLAGS= -DFREEBSD_NAMECACHE -nostdinc -I$S/cddl/compat/opensolaris -I$S/cddl/contrib/opensolaris/uts/common -I$S -I$S/cddl/contrib/opensolaris/common ${CFLAGS} -Wno-unknown-pragmas -Wno-missing-prototypes -Wno-undef -Wno-strict-prototypes -Wno-cast-qual -Wno-parentheses -Wno-redundant-decls -Wno-missing-braces -Wno-uninitialized -Wno-unused -Wno-inline -Wno-switch -Wno-pointer-arith -Wno-unknown-pragmas 126CDDL_CFLAGS+= -include $S/cddl/compat/opensolaris/sys/debug_compat.h 127CDDL_C= ${CC} -c ${CDDL_CFLAGS} ${WERROR} ${PROF} ${.IMPSRC} 128 129# Special flags for managing the compat compiles for ZFS 130ZFS_CFLAGS= -DBUILDING_ZFS -I$S/cddl/contrib/opensolaris/uts/common/fs/zfs -I$S/cddl/contrib/opensolaris/uts/common/zmod -I$S/cddl/contrib/opensolaris/common/zfs ${CDDL_CFLAGS} --- 121 unchanged lines hidden --- | 123 124# Common for dtrace / zfs 125CDDL_CFLAGS= -DFREEBSD_NAMECACHE -nostdinc -I$S/cddl/compat/opensolaris -I$S/cddl/contrib/opensolaris/uts/common -I$S -I$S/cddl/contrib/opensolaris/common ${CFLAGS} -Wno-unknown-pragmas -Wno-missing-prototypes -Wno-undef -Wno-strict-prototypes -Wno-cast-qual -Wno-parentheses -Wno-redundant-decls -Wno-missing-braces -Wno-uninitialized -Wno-unused -Wno-inline -Wno-switch -Wno-pointer-arith -Wno-unknown-pragmas 126CDDL_CFLAGS+= -include $S/cddl/compat/opensolaris/sys/debug_compat.h 127CDDL_C= ${CC} -c ${CDDL_CFLAGS} ${WERROR} ${PROF} ${.IMPSRC} 128 129# Special flags for managing the compat compiles for ZFS 130ZFS_CFLAGS= -DBUILDING_ZFS -I$S/cddl/contrib/opensolaris/uts/common/fs/zfs -I$S/cddl/contrib/opensolaris/uts/common/zmod -I$S/cddl/contrib/opensolaris/common/zfs ${CDDL_CFLAGS} --- 121 unchanged lines hidden --- |