Hopefully fix the "aicasm" build-tool issue when using ${KERNSRCDIR}

different from ${.CURDIR}.

Reported by:	jhb
This commit is contained in:
Ruslan Ermilov 2004-11-23 09:09:47 +00:00
parent 7cb1eb1b27
commit d938e8d640
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138008

View File

@ -684,7 +684,7 @@ buildkernel:
# XXX - Gratuitously builds aicasm in the ``makeoptions NO_MODULES'' case.
.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists(${KERNSRCDIR}/modules)
.for target in obj depend all
cd ${.CURDIR}/sys/modules/aic7xxx/aicasm; \
cd ${KERNSRCDIR}/modules/aic7xxx/aicasm; \
MAKEOBJDIRPREFIX=${KRNLOBJDIR}/${_kernel}/modules \
${MAKE} -DNO_CPU_CFLAGS ${target}
.endfor