kern.pre.mk (111606) | kern.pre.mk (111684) |
---|---|
1# kern.pre.mk 2# 3# Unified Makefile for building kernels. This includes all the definitions 4# that need to be included before %BEFORE_DEPEND 5# | 1# kern.pre.mk 2# 3# Unified Makefile for building kernels. This includes all the definitions 4# that need to be included before %BEFORE_DEPEND 5# |
6# $FreeBSD: head/sys/conf/kern.pre.mk 111606 2003-02-27 08:52:11Z phk $ | 6# $FreeBSD: head/sys/conf/kern.pre.mk 111684 2003-02-28 21:59:14Z ru $ |
7# 8 9# Can be overridden by makeoptions or /etc/make.conf 10KERNEL_KO?= kernel 11KERNEL?= kernel 12KODIR?= /boot/${KERNEL} 13 14M= ${MACHINE_ARCH} --- 43 unchanged lines hidden (view full) --- 58NORMAL_S= ${CC} -c ${ASM_CFLAGS} ${WERROR} ${.IMPSRC} 59PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} 60NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC} 61 62NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk ${.IMPSRC} -c ; \ 63 ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.PREFIX}.c 64 65GEN_CFILES= $S/$M/$M/genassym.c | 7# 8 9# Can be overridden by makeoptions or /etc/make.conf 10KERNEL_KO?= kernel 11KERNEL?= kernel 12KODIR?= /boot/${KERNEL} 13 14M= ${MACHINE_ARCH} --- 43 unchanged lines hidden (view full) --- 58NORMAL_S= ${CC} -c ${ASM_CFLAGS} ${WERROR} ${.IMPSRC} 59PROFILE_C= ${CC} -c ${CFLAGS} ${WERROR} ${.IMPSRC} 60NORMAL_C_NOWERROR= ${CC} -c ${CFLAGS} ${PROF} ${.IMPSRC} 61 62NORMAL_M= ${AWK} -f $S/tools/makeobjops.awk ${.IMPSRC} -c ; \ 63 ${CC} -c ${CFLAGS} ${WERROR} ${PROF} ${.PREFIX}.c 64 65GEN_CFILES= $S/$M/$M/genassym.c |
66SYSTEM_CFILES= vnode_if.c hints.c env.c config.c 67SYSTEM_SFILES= $S/$M/$M/locore.s | 66SYSTEM_CFILES= config.c env.c hints.c majors.c vnode_if.c |
68SYSTEM_DEP= Makefile ${SYSTEM_OBJS} | 67SYSTEM_DEP= Makefile ${SYSTEM_OBJS} |
69SYSTEM_OBJS= locore.o vnode_if.o ${OBJS} hints.o env.o config.o hack.So 70SYSTEM_OBJS+= majors.o | 68SYSTEM_OBJS= locore.o ${MDOBJS} ${OBJS} 69SYSTEM_OBJS+= ${SYSTEM_CFILES:.c=.o} 70SYSTEM_OBJS+= hack.So |
71SYSTEM_LD= @${LD} ${FMT} -Bdynamic -T $S/conf/ldscript.$M \ 72 -warn-common -export-dynamic -dynamic-linker /red/herring \ 73 -o ${.TARGET} -X ${SYSTEM_OBJS} vers.o 74SYSTEM_LD_TAIL= @${OBJCOPY} --strip-symbol gcc2_compiled. ${.TARGET} ; \ 75 ${SIZE} ${FMT} ${.TARGET} ; chmod 755 ${.TARGET} 76SYSTEM_DEP+= $S/conf/ldscript.$M 77 78# MKMODULESENV is set here so that port makefiles can augment --- 12 unchanged lines hidden --- | 71SYSTEM_LD= @${LD} ${FMT} -Bdynamic -T $S/conf/ldscript.$M \ 72 -warn-common -export-dynamic -dynamic-linker /red/herring \ 73 -o ${.TARGET} -X ${SYSTEM_OBJS} vers.o 74SYSTEM_LD_TAIL= @${OBJCOPY} --strip-symbol gcc2_compiled. ${.TARGET} ; \ 75 ${SIZE} ${FMT} ${.TARGET} ; chmod 755 ${.TARGET} 76SYSTEM_DEP+= $S/conf/ldscript.$M 77 78# MKMODULESENV is set here so that port makefiles can augment --- 12 unchanged lines hidden --- |