Idwer Vollering has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/56677 )
Change subject: util/kconfig: detect ncurses on FreeBSD ......................................................................
util/kconfig: detect ncurses on FreeBSD
Signed-off-by: Idwer Vollering vidwer@gmail.com Change-Id: I4344ba2116c0b8618357db4248d993509cbb666e --- M util/kconfig/mconf-cfg.sh 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/56677/1
diff --git a/util/kconfig/mconf-cfg.sh b/util/kconfig/mconf-cfg.sh index b520e40..94c3a90 100755 --- a/util/kconfig/mconf-cfg.sh +++ b/util/kconfig/mconf-cfg.sh @@ -33,6 +33,12 @@ exit 0 fi
+# We'll want to be able to build on (FreeBSD): +if [ -f /usr/include/ncurses.h ]; then + echo libs="-lncurses" + exit 0 +fi + # As a final fallback before giving up, check if $HOSTCC knows of a default # ncurses installation (e.g. from a vendor-specific sysroot). if echo '#include <ncurses.h>' | ${HOSTCC} -E - >/dev/null 2>&1; then