projects
/
hvutilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a57745e
)
hvk: check for .config before compiling
author
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 14 Mar 2024 16:33:23 +0000
(12:33 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 14 Mar 2024 16:33:23 +0000
(12:33 -0400)
scripts/hvk-compile.sh
patch
|
blob
|
history
diff --git
a/scripts/hvk-compile.sh
b/scripts/hvk-compile.sh
index
d4105f8
..
f9076d3
100755
(executable)
--- 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}