diff options
author | ru <ru@FreeBSD.org> | 2001-09-12 12:21:08 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-09-12 12:21:08 +0000 |
commit | cfe8e301855f2d1632043a459c87e679b242ccc6 (patch) | |
tree | e3236735c5dd8355fdf00ce5af6bafe4a80043b2 /sbin/reboot | |
parent | 62afc35080f533a6e389be271149e259a598a84a (diff) | |
download | FreeBSD-src-cfe8e301855f2d1632043a459c87e679b242ccc6.zip FreeBSD-src-cfe8e301855f2d1632043a459c87e679b242ccc6.tar.gz |
Use ${MACHINE}, it works with cross-builds.
Diffstat (limited to 'sbin/reboot')
-rw-r--r-- | sbin/reboot/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/reboot/Makefile b/sbin/reboot/Makefile index 1629873..ec0f8c6 100644 --- a/sbin/reboot/Makefile +++ b/sbin/reboot/Makefile @@ -8,10 +8,8 @@ LDADD= -lutil MAN= reboot.8 boot_i386.8 MLINKS= reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8 -ARCH!= uname -m - -.if exists (${.CURDIR}/boot_${ARCH}.8) -MLINKS+= boot_${ARCH}.8 boot.8 +.if exists(${.CURDIR}/boot_${MACHINE}.8) +MLINKS+= boot_${MACHINE}.8 boot.8 .endif LINKS= ${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \ |