aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-11-23 09:09:47 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-11-23 09:09:47 +0000
commitd938e8d640d56dc335dae8004a7d97b023c3fec7 (patch)
tree23c514c03da28cb81367a4074c844a5c7d0b57b3 /Makefile.inc1
parent7cb1eb1b2744c609b949141673a1a71d460a936c (diff)
downloadsrc-d938e8d640d56dc335dae8004a7d97b023c3fec7.tar.gz
src-d938e8d640d56dc335dae8004a7d97b023c3fec7.zip
Hopefully fix the "aicasm" build-tool issue when using ${KERNSRCDIR}
different from ${.CURDIR}. Reported by: jhb
Notes
Notes: svn path=/head/; revision=138008
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 7227fab986fe..d176a875bff8 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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