bsd.compat.mk: A few cosmetic fixes.
- Add a missing ')' to a warning. - Consistently use {} when expanding variables. - Remove a spurious blank line. Reviewed by: imp, emaste Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D34172
This commit is contained in:
parent
74fea8eb4f
commit
ffe74ab77f
@ -71,9 +71,9 @@ LIB32WMAKEFLAGS+= -DCOMPAT_32BIT
|
||||
# In the program linking case, select LIBCOMPAT
|
||||
.if defined(NEED_COMPAT)
|
||||
.ifndef HAS_COMPAT
|
||||
.warning NEED_COMPAT defined, but no LIBCOMPAT is available (COMPAT_ARCH == ${COMPAT_ARCH}
|
||||
.warning NEED_COMPAT defined, but no LIBCOMPAT is available (COMPAT_ARCH == ${COMPAT_ARCH})
|
||||
.elif !${HAS_COMPAT:M${NEED_COMPAT}} && ${NEED_COMPAT} != "any"
|
||||
.error NEED_COMPAT (${NEED_COMPAT}) defined, but not in HAS_COMPAT ($HAS_COMPAT)
|
||||
.error NEED_COMPAT (${NEED_COMPAT}) defined, but not in HAS_COMPAT (${HAS_COMPAT})
|
||||
.elif ${NEED_COMPAT} == "any"
|
||||
.endif
|
||||
.ifdef WANT_COMPAT
|
||||
@ -90,7 +90,6 @@ _LIBCOMPAT:= ${WANT_COMPAT}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# Generic code for each type.
|
||||
# Set defaults based on type.
|
||||
|
Loading…
Reference in New Issue
Block a user