When using "MAKEDEV -s" to generate a specfile, rewrite the paths from
"./" -> "./dev/". Noted by Tetsuya Isaki <isaki@NetBSD.org> in private mail.
This commit is contained in:
parent
0d3d91c92a
commit
ea188c8e82
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.makedev,v 1.8 2003/12/21 17:37:26 lukem Exp $
|
||||
# $NetBSD: Makefile.makedev,v 1.9 2004/01/01 14:34:24 lukem Exp $
|
||||
#
|
||||
# Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list
|
||||
# (if set), otherwise copy .OJBDIR-of-etc/MAKEDEV to ./dev
|
||||
|
@ -44,7 +44,8 @@ MTREECONF+= ${MAKEDEVSPEC}
|
|||
${MAKEDEVSPEC}: ${MAKEDEVSCRIPT}
|
||||
-rm -f ${.TARGET} ${.TARGET}.tmp
|
||||
MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \
|
||||
${HOST_SH} ${MAKEDEVSCRIPT} -s ${MAKEDEVTARGETS} > ${.TARGET}.tmp \
|
||||
${HOST_SH} ${MAKEDEVSCRIPT} -s ${MAKEDEVTARGETS} \
|
||||
| sed -e 's,^\.,./dev,' > ${.TARGET}.tmp \
|
||||
&& sort -o ${.TARGET} ${.TARGET}.tmp
|
||||
|
||||
.else # ! MAKEDEVTARGETS
|
||||
|
|
Loading…
Reference in New Issue