From 974996d4b915760f1e3b6ec4ed8ed8e96628b940 Mon Sep 17 00:00:00 2001 From: scottl Date: Sun, 3 Nov 2002 23:48:14 +0000 Subject: 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 --- sys/conf/kern.post.mk | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'sys/conf/kern.post.mk') 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 -- cgit v1.1