mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
dtb: aarch64 uses vendor subdirectories, handle that
This commit is contained in:
parent
5695558451
commit
81b5157b94
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338247
1 changed files with 6 additions and 0 deletions
|
@ -84,8 +84,14 @@ _dtbinstall:
|
|||
# entries in the NO_ROOT case.
|
||||
test -d ${DESTDIR}${DTBDIR} || ${INSTALL} -d -o ${DTBOWN} -g ${DTBGRP} ${DESTDIR}${DTBDIR}
|
||||
.for _dtb in ${DTB}
|
||||
.if ${MACHINE_CPUARCH} == "aarch64"
|
||||
test -d ${DESTDIR}${DTBDIR}/${_dtb:H} || ${INSTALL} -d -o ${DTBOWN} -g ${DTBGRP} ${DESTDIR}${DTBDIR}/${_dtb:H}
|
||||
${INSTALL} -o ${DTBOWN} -g ${DTBGRP} -m ${DTBMODE} \
|
||||
${_INSTALLFLAGS} ${_dtb:T} ${DESTDIR}${DTBDIR}/${_dtb:H}
|
||||
.else
|
||||
${INSTALL} -o ${DTBOWN} -g ${DTBGRP} -m ${DTBMODE} \
|
||||
${_INSTALLFLAGS} ${_dtb} ${DESTDIR}${DTBDIR}/
|
||||
.endif
|
||||
.endfor
|
||||
test -d ${DESTDIR}${DTBODIR} || ${INSTALL} -d -o ${DTBOWN} -g ${DTBGRP} ${DESTDIR}${DTBODIR}
|
||||
.for _dtbo in ${DTBO}
|
||||
|
|
Loading…
Reference in a new issue