summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-11-23 09:09:47 +0000
committerru <ru@FreeBSD.org>2004-11-23 09:09:47 +0000
commit6c9c5ddd520ca7003aa88b683d6290d3b6c19c65 (patch)
tree23c514c03da28cb81367a4074c844a5c7d0b57b3 /Makefile.inc1
parent63baa64f51748040dc2e22922ce54a7d7246bbd9 (diff)
downloadFreeBSD-src-6c9c5ddd520ca7003aa88b683d6290d3b6c19c65.zip
FreeBSD-src-6c9c5ddd520ca7003aa88b683d6290d3b6c19c65.tar.gz
Hopefully fix the "aicasm" build-tool issue when using ${KERNSRCDIR}
different from ${.CURDIR}. Reported by: jhb
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 7227fab..d176a87 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
OpenPOWER on IntegriCloud