aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-03-28 20:35:22 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-03-28 20:35:22 +0100
commit4259ed81a58dcdc62c83f27f8a238b92b5613f3c (patch)
treece77b1f3d4f737563e31f8a0c52058cdecd34c09 /genkernel
parentset_kernel_arch(): error out if VER, SUB or PAT is not defined (diff)
downloadgenkernel-4259ed81a58dcdc62c83f27f8a238b92b5613f3c.tar.gz
genkernel-4259ed81a58dcdc62c83f27f8a238b92b5613f3c.tar.bz2
genkernel-4259ed81a58dcdc62c83f27f8a238b92b5613f3c.zip
genkernel: Use isTrue for ARCH_HAVENOPREPARE
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'genkernel')
-rwxr-xr-xgenkernel4
1 files changed, 3 insertions, 1 deletions
diff --git a/genkernel b/genkernel
index 25e9ca9e..b9c5d87a 100755
--- a/genkernel
+++ b/genkernel
@@ -232,9 +232,11 @@ then
config_kernel
# Make prepare
- if [ "${ARCH_HAVENOPREPARE}" = '' ]
+ if ! isTrue "${ARCH_HAVENOPREPARE}"
then
compile_generic prepare kernel
+ else
+ print_info 2 "Skipping 'make prepare' due to ARCH_HAVENOPREPARE=yes!"
fi
# KV may have changed due to the configuration