mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Remove quotes around Makefile .error/.warn/.info strings
The text after .error et al is emitted verbatim. Reviewed by: sjg Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33904
This commit is contained in:
parent
2075d00fab
commit
6f6fbfa3a8
2
Makefile
2
Makefile
|
@ -729,7 +729,7 @@ TARGET_ARCH_${kernel}!= cd ${KERNSRCDIR}/${TARGET}/conf && \
|
||||||
config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null | \
|
config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null | \
|
||||||
grep -v WARNING: | cut -f 2
|
grep -v WARNING: | cut -f 2
|
||||||
.if empty(TARGET_ARCH_${kernel})
|
.if empty(TARGET_ARCH_${kernel})
|
||||||
.error "Target architecture for ${TARGET}/conf/${kernel} unknown. config(8) likely too old."
|
.error Target architecture for ${TARGET}/conf/${kernel} unknown. config(8) likely too old.
|
||||||
.endif
|
.endif
|
||||||
universe_kernconfs_${TARGET_ARCH_${kernel}}: universe_kernconf_${TARGET}_${kernel}
|
universe_kernconfs_${TARGET_ARCH_${kernel}}: universe_kernconf_${TARGET}_${kernel}
|
||||||
universe_kernconf_${TARGET}_${kernel}: .MAKE
|
universe_kernconf_${TARGET}_${kernel}: .MAKE
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
# obj depend all install clean cleandepend cleanobj
|
# obj depend all install clean cleandepend cleanobj
|
||||||
|
|
||||||
.if !defined(TARGET) || !defined(TARGET_ARCH)
|
.if !defined(TARGET) || !defined(TARGET_ARCH)
|
||||||
.error "Both TARGET and TARGET_ARCH must be defined."
|
.error Both TARGET and TARGET_ARCH must be defined.
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if make(showconfig) || make(test-system-*)
|
.if make(showconfig) || make(test-system-*)
|
||||||
|
@ -167,7 +167,7 @@ _t= ${TARGET_ARCH}/${TARGET}
|
||||||
.if ${.MAKE.OS} != "FreeBSD"
|
.if ${.MAKE.OS} != "FreeBSD"
|
||||||
CROSSBUILD_HOST=${.MAKE.OS}
|
CROSSBUILD_HOST=${.MAKE.OS}
|
||||||
.if ${.MAKE.OS} != "Linux" && ${.MAKE.OS} != "Darwin"
|
.if ${.MAKE.OS} != "Linux" && ${.MAKE.OS} != "Darwin"
|
||||||
.warning "Unsupported crossbuild system: ${.MAKE.OS}. Build will probably fail!"
|
.warning Unsupported crossbuild system: ${.MAKE.OS}. Build will probably fail!
|
||||||
.endif
|
.endif
|
||||||
# We need to force NO_ROOT/DB_FROM_SRC builds when building on other operating
|
# We need to force NO_ROOT/DB_FROM_SRC builds when building on other operating
|
||||||
# systems since the BSD.foo.dist specs contain users and groups that do not
|
# systems since the BSD.foo.dist specs contain users and groups that do not
|
||||||
|
|
|
@ -187,7 +187,7 @@ SUBDIR.${MK_STATS}+= libstats
|
||||||
${MACHINE_CPUARCH} == "powerpc")
|
${MACHINE_CPUARCH} == "powerpc")
|
||||||
_libclang_rt= libclang_rt
|
_libclang_rt= libclang_rt
|
||||||
.elif (${MK_ASAN} != "no" || ${MK_UBSAN} != "no") && make(all)
|
.elif (${MK_ASAN} != "no" || ${MK_UBSAN} != "no") && make(all)
|
||||||
.error "Requested build with sanitizers but cannot build runtime libraries!"
|
.error Requested build with sanitizers but cannot build runtime libraries!
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_CXX} != "no"
|
.if ${MK_CXX} != "no"
|
||||||
|
|
|
@ -8,7 +8,7 @@ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libc/net/${.CURDIR:T}
|
||||||
|
|
||||||
BINDIR= ${TESTSDIR}
|
BINDIR= ${TESTSDIR}
|
||||||
|
|
||||||
.error "This testcase needs to be ported to FreeBSD (the output from getaddrinfo_test differs from NetBSD)"
|
.error This testcase needs to be ported to FreeBSD (the output from getaddrinfo_test differs from NetBSD)
|
||||||
|
|
||||||
NETBSD_ATF_TESTS_SH= getaddrinfo_test
|
NETBSD_ATF_TESTS_SH= getaddrinfo_test
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ PROGS+= h_raw
|
||||||
LDADD.h_raw+= ${SANITIZER_LDFLAGS}
|
LDADD.h_raw+= ${SANITIZER_LDFLAGS}
|
||||||
.else
|
.else
|
||||||
.if make(all)
|
.if make(all)
|
||||||
.info "Could not find runtime library ${_libclang_rt_ubsan}, skipping h_raw"
|
.info Could not find runtime library ${_libclang_rt_ubsan}, skipping h_raw
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -39,7 +39,7 @@ CONTRIBDIR= ${SRCTOP}/contrib/tzdata/
|
||||||
.PATH: ${CONTRIBDIR}
|
.PATH: ${CONTRIBDIR}
|
||||||
|
|
||||||
.if defined(LEAPSECONDS)
|
.if defined(LEAPSECONDS)
|
||||||
.warning "Using backwards compatibility variable for LEAPSECONDS; please use WITH_ZONEINFO_LEAPSECONDS_SUPPORT instead"
|
.warning Using backwards compatibility variable for LEAPSECONDS; please use WITH_ZONEINFO_LEAPSECONDS_SUPPORT instead
|
||||||
MK_ZONEINFO_LEAPSECONDS_SUPPORT= yes
|
MK_ZONEINFO_LEAPSECONDS_SUPPORT= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ DO32=1
|
||||||
|
|
||||||
.if defined(LOADER_FIREWIRE_SUPPORT)
|
.if defined(LOADER_FIREWIRE_SUPPORT)
|
||||||
MK_LOADER_FIREWIRE=yes
|
MK_LOADER_FIREWIRE=yes
|
||||||
.warning "LOADER_FIREWIRE_SUPPORT deprecated, please move to WITH_LOADER_FIREWIRE"
|
.warning LOADER_FIREWIRE_SUPPORT deprecated, please move to WITH_LOADER_FIREWIRE
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include "../Makefile.inc"
|
.include "../Makefile.inc"
|
||||||
|
|
|
@ -34,7 +34,7 @@ _MACOS_SDK_DIR=${_XCODE_ROOT}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sd
|
||||||
.endif
|
.endif
|
||||||
HOST_INCLUDE_ROOT=${_MACOS_SDK_DIR}/usr/include
|
HOST_INCLUDE_ROOT=${_MACOS_SDK_DIR}/usr/include
|
||||||
.if !exists(${HOST_INCLUDE_ROOT}/stdio.h)
|
.if !exists(${HOST_INCLUDE_ROOT}/stdio.h)
|
||||||
.error "You must install the macOS SDK (try xcode-select --install)"
|
.error You must install the macOS SDK (try xcode-select --install)
|
||||||
.endif
|
.endif
|
||||||
.else
|
.else
|
||||||
HOST_INCLUDE_ROOT=/usr/include
|
HOST_INCLUDE_ROOT=/usr/include
|
||||||
|
|
|
@ -65,7 +65,7 @@ RANLIBFLAGS:=
|
||||||
# MacOS ships /usr/lib/libarchive.dylib but doesn't provide the headers
|
# MacOS ships /usr/lib/libarchive.dylib but doesn't provide the headers
|
||||||
CFLAGS+= -idirafter ${SRCTOP}/contrib/libarchive/libarchive
|
CFLAGS+= -idirafter ${SRCTOP}/contrib/libarchive/libarchive
|
||||||
.else
|
.else
|
||||||
.error "Unsupported build OS: ${.MAKE.OS}"
|
.error Unsupported build OS: ${.MAKE.OS}
|
||||||
.endif
|
.endif
|
||||||
.endif # ${.MAKE.OS} != "FreeBSD"
|
.endif # ${.MAKE.OS} != "FreeBSD"
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ LINKS= ${BINDIR}/mandoc ${BINDIR}/whatis \
|
||||||
${BINDIR}/mandoc ${BINDIR}/makewhatis \
|
${BINDIR}/mandoc ${BINDIR}/makewhatis \
|
||||||
${BINDIR}/mandoc ${BINDIR}/apropos
|
${BINDIR}/mandoc ${BINDIR}/apropos
|
||||||
.elif defined(BOOTSTRAPPING)
|
.elif defined(BOOTSTRAPPING)
|
||||||
.error "MK_MAN_UTILS should be set to yes when bootstrapping"
|
.error MK_MAN_UTILS should be set to yes when bootstrapping
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
LIBMAN_SRCS= man.c \
|
LIBMAN_SRCS= man.c \
|
||||||
|
|
Loading…
Reference in a new issue