aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/dtb.mk
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2015-02-09 16:04:08 +0000
committerWarner Losh <imp@FreeBSD.org>2015-02-09 16:04:08 +0000
commit2d29166779c2d7ab4c073d8ebcbc2d85973519e7 (patch)
treea81a26e9b0fb5a26e8e69af60b35747ac812c16a /sys/conf/dtb.mk
parentef6fcdc6512e9983dde85680d77e77bb4213c5ae (diff)
downloadsrc-2d29166779c2d7ab4c073d8ebcbc2d85973519e7.tar.gz
src-2d29166779c2d7ab4c073d8ebcbc2d85973519e7.zip
Notes
Diffstat (limited to 'sys/conf/dtb.mk')
-rw-r--r--sys/conf/dtb.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/dtb.mk b/sys/conf/dtb.mk
index 52b1b23539c2..cc579d21ece4 100644
--- a/sys/conf/dtb.mk
+++ b/sys/conf/dtb.mk
@@ -67,6 +67,10 @@ CLEANFILES+=${_dts:R:S/$/.dtb/}
realinstall: _dtbinstall
.ORDER: beforeinstall _kmodinstall
_dtbinstall:
+# Need to create this because installkernel doens't invoke mtree with BSD.root.mtree
+# to make sure the tree is setup properly. This may break ownership of ${DTBDIR}
+# for no-root build.
+ mkdir -p ${DESTDIR}${DTBDIR}
.for _dtb in ${DTB}
${INSTALL} -o ${DTBOWN} -g ${DTBGRP} -m ${DTBMODE} \
${_INSTALLFLAGS} ${_dtb} ${DESTDIR}${DTBDIR}