From: Hugo Villeneuve Date: Thu, 14 Mar 2024 16:33:23 +0000 (-0400) Subject: hvk: check for .config before compiling X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=1fb7f27af45bc56ba87fd9ad73751fcafb332ee3;p=hvutilities.git hvk: check for .config before compiling --- diff --git a/scripts/hvk-compile.sh b/scripts/hvk-compile.sh index d4105f8..f9076d3 100755 --- a/scripts/hvk-compile.sh +++ b/scripts/hvk-compile.sh @@ -48,6 +48,12 @@ if [ $# -gt 1 ]; then exit 1 fi +if [ ! -f .config ]; then + echo "Missing configuration file .config." + echo "Configure your kernel by running 'hvk-init.sh'" + exit 1 +fi + KMAKE="${KMAKE} ${warnings_opts}" ${KMAKE}