mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
Fix a bug which prevents parsing this Makefile without having a
previously-built loader binary elsewhere.
This commit is contained in:
parent
bb65fdf6e0
commit
0153af6a16
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65499
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user