Use ${.CURDIR} in `exists()' constructs.
PR: misc/4395 Submitted by: J Wunsch <j@ida.interface-business.de>
This commit is contained in:
parent
ab64f2390c
commit
29ddf5ab88
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45914
@ -1,13 +1,13 @@
|
||||
# $Id: Makefile,v 1.15 1998/12/30 11:17:09 bde Exp $
|
||||
# $Id: Makefile,v 1.16 1998/12/30 12:06:08 bde Exp $
|
||||
|
||||
# This is the old aout only boot loader.
|
||||
.if exists(${MACHINE}/boot) && ${OBJFORMAT} == "aout"
|
||||
.if exists(${.CURDIR}/${MACHINE}/boot) && ${OBJFORMAT} == "aout"
|
||||
SUBDIR= ${MACHINE}/boot
|
||||
.elif exists(boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
|
||||
.elif exists(${.CURDIR}/boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
|
||||
SUBDIR= boot
|
||||
.endif
|
||||
|
||||
.if exists(boot) && ${MACHINE_ARCH} == "alpha"
|
||||
.if exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "alpha"
|
||||
SUBDIR= boot
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user