Argh, unbreak "make depend" for AMD64.
Reported by: kris
This commit is contained in:
parent
c1405562c4
commit
8e310f4646
@ -96,7 +96,7 @@ boot2.h: boot1.out
|
||||
REL1=`printf "%d" ${REL1}` > ${.TARGET}
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
boot2.s: machine
|
||||
beforedepend boot2.s: machine
|
||||
CLEANFILES+= machine
|
||||
machine:
|
||||
ln -sf ${.CURDIR}/../../../i386/include machine
|
||||
|
@ -96,7 +96,7 @@ boot2.h: boot1.out
|
||||
REL1=`printf "%d" ${REL1}` > ${.TARGET}
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
boot2.s: machine
|
||||
beforedepend boot2.s: machine
|
||||
CLEANFILES+= machine
|
||||
machine:
|
||||
ln -sf ${.CURDIR}/../../../i386/include machine
|
||||
|
@ -30,11 +30,14 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
|
||||
# the location of libstand
|
||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
${OBJS}: machine
|
||||
CLEANFILES+= machine
|
||||
machine:
|
||||
ln -sf ${.CURDIR}/../../../i386/include machine
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
beforedepend ${OBJS}: machine
|
||||
.endif
|
||||
|
@ -93,7 +93,7 @@ loader.sym: ${OBJS} ${LIBFICL} ${LIBI386} ${LIBSTAND}
|
||||
${LIBFICL} ${LIBI386} ${LIBSTAND}
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
${OBJS}: machine
|
||||
beforedepend ${OBJS}: machine
|
||||
CLEANFILES+= machine
|
||||
machine:
|
||||
ln -sf ${.CURDIR}/../../../i386/include machine
|
||||
|
Loading…
x
Reference in New Issue
Block a user