Pass -DBOOTSTRAPPING to the kernel's build tool (sys/dev/aic7xxx/aicasm).

This way, it has a chance to be built with gcc 2.95.x (using the bandaid
in share/mk/bsd.cpu.mk,v 1.11).

Feedback timeout from:	gordon
This commit is contained in:
Ruslan Ermilov 2002-07-11 16:43:59 +00:00
parent fc6866d767
commit 6faeb36914
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99777

View File

@ -472,8 +472,8 @@ buildkernel:
.endif
.endif
cd ${KRNLOBJDIR}/${_kernel}; \
MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx/aicasm \
${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/aicasm/Makefile
MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx/aicasm \
${MAKE} -DBOOTSTRAPPING -f ${KRNLSRCDIR}/dev/aic7xxx/aicasm/Makefile
.if !defined(NO_KERNELDEPEND)
cd ${KRNLOBJDIR}/${_kernel}; \
${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} depend