Use ${MACHINE}, it works with cross-builds.
This commit is contained in:
parent
188cdfac56
commit
69f568ec4d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83369
@ -8,10 +8,8 @@ LDADD= -lutil
|
|||||||
MAN= reboot.8 boot_i386.8
|
MAN= reboot.8 boot_i386.8
|
||||||
MLINKS= reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8
|
MLINKS= reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8
|
||||||
|
|
||||||
ARCH!= uname -m
|
.if exists(${.CURDIR}/boot_${MACHINE}.8)
|
||||||
|
MLINKS+= boot_${MACHINE}.8 boot.8
|
||||||
.if exists (${.CURDIR}/boot_${ARCH}.8)
|
|
||||||
MLINKS+= boot_${ARCH}.8 boot.8
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
LINKS= ${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \
|
LINKS= ${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \
|
||||||
|
Loading…
Reference in New Issue
Block a user