summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-07-27 03:50:25 +0000
committergreen <green@FreeBSD.org>2000-07-27 03:50:25 +0000
commita92ef5a71e83e0bc48229a3b7f412d3ee6dde3ab (patch)
tree3e595e8adf1d4157d2e27a22da011b5bffe617f2 /sys
parent340f6596474a65328d279d2f5f10a4ef6b5d25e4 (diff)
downloadFreeBSD-src-a92ef5a71e83e0bc48229a3b7f412d3ee6dde3ab.zip
FreeBSD-src-a92ef5a71e83e0bc48229a3b7f412d3ee6dde3ab.tar.gz
-mkdir the ${DESTDIR}/modules directory upon modules-install in case it
doesn't exist. This could bite you by allowing you merrily install your modules one on top of the other as the regular file ${DESTDIR}/modules and think it completed properly...
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/Makefile.alpha1
-rw-r--r--sys/conf/Makefile.i3861
-rw-r--r--sys/conf/Makefile.pc981
-rw-r--r--sys/conf/Makefile.powerpc1
4 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha
index e272ca5..7a7f421 100644
--- a/sys/conf/Makefile.alpha
+++ b/sys/conf/Makefile.alpha
@@ -308,6 +308,7 @@ modules-install modules-install.debug:
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old ; \
fi;
.endif
+ -mkdir ${DESTDIR}/modules
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
modules-reinstall modules-reinstall.debug:
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index e081530..5bc7d4b 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -267,6 +267,7 @@ modules-install modules-install.debug:
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
fi;
.endif
+ -mkdir ${DESTDIR}/modules
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
modules-reinstall modules-reinstall.debug:
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98
index bd6a399..f263d25 100644
--- a/sys/conf/Makefile.pc98
+++ b/sys/conf/Makefile.pc98
@@ -270,6 +270,7 @@ modules-install modules-install.debug:
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
fi;
.endif
+ -mkdir ${DESTDIR}/modules
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
modules-reinstall modules-reinstall.debug:
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index e081530..5bc7d4b 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -267,6 +267,7 @@ modules-install modules-install.debug:
cp -p ${DESTDIR}/modules/* ${DESTDIR}/modules.old; \
fi;
.endif
+ -mkdir ${DESTDIR}/modules
cd $S/modules && env MAKEOBJDIRPREFIX=${.OBJDIR}/modules ${MAKE} install
modules-reinstall modules-reinstall.debug:
OpenPOWER on IntegriCloud