summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.pc98
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-17 21:25:15 +0000
committerobrien <obrien@FreeBSD.org>2000-11-17 21:25:15 +0000
commiteb7769fac61a5ec09afaaed99f45e5bb3c75bd83 (patch)
tree5eabb185642b21b0e4e9aab4f98bce58a93e6bdc /sys/conf/Makefile.pc98
parent3a97b3e213f232a4b939a68fed0d93230f4b2ddb (diff)
downloadFreeBSD-src-eb7769fac61a5ec09afaaed99f45e5bb3c75bd83.zip
FreeBSD-src-eb7769fac61a5ec09afaaed99f45e5bb3c75bd83.tar.gz
Fix the `make -jX' (X>1) breakage.
Based on patch submitted by: Makoto MATSUSHITA <matusita@jp.freebsd.org> Reviewed by: marcel, bde
Diffstat (limited to 'sys/conf/Makefile.pc98')
-rw-r--r--sys/conf/Makefile.pc9820
1 files changed, 11 insertions, 9 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98
index 7961d3a..f2bd145 100644
--- a/sys/conf/Makefile.pc98
+++ b/sys/conf/Makefile.pc98
@@ -215,7 +215,7 @@ links:
echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
sort -u | comm -23 - dontlink | \
sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks
- sh makelinks && rm -f dontlink
+ sh makelinks; rm -f dontlink
kernel-tags:
@[ -f .depend ] || { echo "you must make depend first"; exit 1; }
@@ -274,29 +274,31 @@ MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
modules:
@mkdir -p ${.OBJDIR}/modules
- cd $S/modules && env ${MKMODULESENV} ${MAKE} obj all
+ cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
+ env ${MKMODULESENV} ${MAKE} all
modules-depend:
@mkdir -p ${.OBJDIR}/modules
- cd $S/modules && env ${MKMODULESENV} ${MAKE} obj depend
+ cd $S/modules ; env ${MKMODULESENV} ${MAKE} obj ; \
+ env ${MKMODULESENV} ${MAKE} depend
modules-clean:
- cd $S/modules && env ${MKMODULESENV} ${MAKE} clean
+ cd $S/modules ; env ${MKMODULESENV} ${MAKE} clean
modules-cleandepend:
- cd $S/modules && env ${MKMODULESENV} ${MAKE} cleandepend
+ cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandepend
modules-cleandir:
- cd $S/modules && env ${MKMODULESENV} ${MAKE} cleandir
+ cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandir
modules-tags:
- cd $S/modules && env ${MKMODULESENV} ${MAKE} tags
+ cd $S/modules ; env ${MKMODULESENV} ${MAKE} tags
modules-install modules-install.debug:
- cd $S/modules && env ${MKMODULESENV} ${MAKE} install
+ cd $S/modules ; env ${MKMODULESENV} ${MAKE} install
modules-reinstall modules-reinstall.debug:
- cd $S/modules && env ${MKMODULESENV} ${MAKE} install
+ cd $S/modules ; env ${MKMODULESENV} ${MAKE} install
config.o:
${NORMAL_C}
OpenPOWER on IntegriCloud