1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Fix a bug which prevents parsing this Makefile without having a

previously-built loader binary elsewhere.
This commit is contained in:
Mike Smith 2000-09-05 22:33:07 +00:00
parent bb65fdf6e0
commit 0153af6a16
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65499

View File

@ -16,8 +16,10 @@ LOADER= ${.OBJDIR}/../loader/loader
LOADER= ${.CURDIR}/../loader/loader
.endif
.if exists(${LOADER})
LOADER_SIZE != wc -c ${LOADER} | awk '{print int(($$1 + 15) / 16)}'
AFLAGS= --defsym LOADER_SIZE=${LOADER_SIZE}
.endif
${BOOT}: ${BSECT} ${LDR} ${LOADER}
cat ${BSECT} ${LDR} ${LOADER} > ${.TARGET}.tmp