summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-19 18:47:15 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-19 18:48:08 (GMT)
commit561fccc5e3918e0a4e7d17dc480b65c53998f525 (patch)
tree35bcf2d41b3bc5d083a69c085e390e366116dece /scripts
parentf986fc6df796193454391e8b3602c318fcab7042 (diff)
darwin: brew users must install pkg-config, so that make kerneloconfig works
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prereq.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/prereq.sh b/scripts/prereq.sh
index 195acd2..e5e314b 100755
--- a/scripts/prereq.sh
+++ b/scripts/prereq.sh
@@ -415,6 +415,17 @@ fi
rm test.c test 2>/dev/null
rm Makefile.tmp 2>/dev/null
+# for make kernelconfig pkg-config is required to find ncurses
+if [ $os = "Darwin" ]; then
+ printf " ---> checking if pkg-config is installed.. "
+ if ! which pkg-config >/dev/null 2>&1; then
+ printf "not found\n"
+ out=1
+ else
+ printf "found\n"
+ fi
+fi
+
# error out on any required prerequisite
if [ $out -ne 0 ]; then
exit