Introduce BOOTOBJ: The top level object directory for the boot tree

and use it in preference to spelling out the path.

Sponsored by: Netflix
This commit is contained in:
imp 2017-10-22 03:52:08 +00:00
parent 11fd9c0546
commit 5bee4e133f

View File

@ -11,13 +11,15 @@ LDR_MI= ${BOOTDIR}/common
SASRC= ${BOOTDIR}/libsa
SYSDIR= ${SRCTOP}/sys
BOOTOBJ= ${OBJTOP}/sys/boot
# NB: The makefiles depend on these being empty when we don't build forth.
.if ${MK_FORTH} != "no"
LIBFICL= ${OBJTOP}/sys/boot/ficl/libficl.a
LIBFICL32= ${OBJTOP}/sys/boot/ficl32/libficl.a
LIBFICL= ${BOOTOBJ}/ficl/libficl.a
LIBFICL32= ${BOOTOBJ}/ficl32/libficl.a
.endif
LIBSA= ${OBJTOP}/sys/boot/libsa/libsa.a
LIBSA32= ${OBJTOP}/sys/boot/libsa32/libsa32.a
LIBSA= ${BOOTOBJ}/libsa/libsa.a
LIBSA32= ${BOOTOBJ}/libsa32/libsa32.a
# Standard options: