kern.pre.mk (218894) | kern.pre.mk (219819) |
---|---|
1# $FreeBSD: head/sys/conf/kern.pre.mk 218894 2011-02-20 21:58:07Z dim $ | 1# $FreeBSD: head/sys/conf/kern.pre.mk 219819 2011-03-21 09:40:01Z jeff $ |
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.include <bsd.own.mk> 7 8# backwards compat option for older systems. 9MACHINE_CPUARCH?=${MACHINE_ARCH:C/mipse[lb]/mips/:C/armeb/arm/:C/powerpc64/powerpc/} --- 127 unchanged lines hidden (view full) --- 137NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk ${.IMPSRC} -c ; \ 138 ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.PREFIX}.c 139 140NORMAL_CTFCONVERT= [ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \ 141 ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} 142 143NORMAL_LINT= ${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.IMPSRC} 144 | 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.include <bsd.own.mk> 7 8# backwards compat option for older systems. 9MACHINE_CPUARCH?=${MACHINE_ARCH:C/mipse[lb]/mips/:C/armeb/arm/:C/powerpc64/powerpc/} --- 127 unchanged lines hidden (view full) --- 137NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk ${.IMPSRC} -c ; \ 138 ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.PREFIX}.c 139 140NORMAL_CTFCONVERT= [ -z "${CTFCONVERT}" -o -n "${NO_CTF}" ] || \ 141 ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} 142 143NORMAL_LINT= ${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.IMPSRC} 144 |
145# Infiniband C flags. Correct include paths and omit errors that linux 146# does not honor. 147OFEDINCLUDES= -I$S/ofed/include/ 148OFEDNOERR= -Wno-cast-qual -Wno-pointer-arith -fms-extensions 149OFEDCFLAGS= ${CFLAGS:N-I*} ${OFEDINCLUDES} ${CFLAGS:M-I*} ${OFEDNOERR} 150OFED_C_NOIMP= ${CC} -c -o ${.TARGET} ${OFEDCFLAGS} ${WERROR} ${PROF} 151OFED_C= ${OFED_C_NOIMP} ${.IMPSRC} 152 |
|
145GEN_CFILES= $S/$M/$M/genassym.c ${MFILES:T:S/.m$/.c/} 146SYSTEM_CFILES= config.c env.c hints.c vnode_if.c 147SYSTEM_DEP= Makefile ${SYSTEM_OBJS} 148SYSTEM_OBJS= locore.o ${MDOBJS} ${OBJS} 149SYSTEM_OBJS+= ${SYSTEM_CFILES:.c=.o} 150SYSTEM_OBJS+= hack.So 151SYSTEM_CTFMERGE= [ -z "${CTFMERGE}" -o -n "${NO_CTF}" ] || ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SYSTEM_OBJS} vers.o 152SYSTEM_LD= @${LD} -Bdynamic -T ${LDSCRIPT} \ --- 23 unchanged lines hidden --- | 153GEN_CFILES= $S/$M/$M/genassym.c ${MFILES:T:S/.m$/.c/} 154SYSTEM_CFILES= config.c env.c hints.c vnode_if.c 155SYSTEM_DEP= Makefile ${SYSTEM_OBJS} 156SYSTEM_OBJS= locore.o ${MDOBJS} ${OBJS} 157SYSTEM_OBJS+= ${SYSTEM_CFILES:.c=.o} 158SYSTEM_OBJS+= hack.So 159SYSTEM_CTFMERGE= [ -z "${CTFMERGE}" -o -n "${NO_CTF}" ] || ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SYSTEM_OBJS} vers.o 160SYSTEM_LD= @${LD} -Bdynamic -T ${LDSCRIPT} \ --- 23 unchanged lines hidden --- |