diff options
author | scottl <scottl@FreeBSD.org> | 2002-11-03 23:48:14 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2002-11-03 23:48:14 +0000 |
commit | 974996d4b915760f1e3b6ec4ed8ed8e96628b940 (patch) | |
tree | cd6f59bd1009a739b31efb23814cb6022f101aba /sys/conf | |
parent | a743b5e38f147e7abd37782544a0cabf73fdb6cc (diff) | |
download | FreeBSD-src-974996d4b915760f1e3b6ec4ed8ed8e96628b940.zip FreeBSD-src-974996d4b915760f1e3b6ec4ed8ed8e96628b940.tar.gz |
Hook the aic7xxx modules up. This requires some extra care since aicasm
is a compiler tool and needs to be compiled by the host compiler. I've
tested this in i386->sparc cross-build, 4.7->current upgrade, normal
buildkernel target, and normal /sys/i386/compile/GENERIC configurations.
Submitted by: ru
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kern.post.mk | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index d416366..f39b9c2 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -187,9 +187,7 @@ tags: modules-tags .endif modules: - @mkdir -p ${.OBJDIR}/modules - cd $S/modules ; ${MKMODULESENV} ${MAKE} obj ; \ - ${MKMODULESENV} ${MAKE} all + cd $S/modules ; ${MKMODULESENV} ${MAKE} all modules-clean: cd $S/modules ; ${MKMODULESENV} ${MAKE} clean @@ -204,9 +202,15 @@ modules-clobber: modules-clean rm -rf ${MKMODULESENV} modules-depend: + cd $S/modules ; ${MKMODULESENV} ${MAKE} depend + +modules-obj: @mkdir -p ${.OBJDIR}/modules - cd $S/modules ; ${MKMODULESENV} ${MAKE} obj ; \ - ${MKMODULESENV} ${MAKE} depend + cd $S/modules ; ${MKMODULESENV} ${MAKE} obj + +.if !defined(NO_MODULES_OBJ) +modules modules-depend: modules-obj +.endif modules-tags: cd $S/modules ; ${MKMODULESENV} ${MAKE} tags |