commit: 4259ed81a58dcdc62c83f27f8a238b92b5613f3c Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Thu Mar 28 19:35:22 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Thu Mar 28 19:35:22 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=4259ed81
genkernel: Use isTrue for ARCH_HAVENOPREPARE Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> genkernel | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/genkernel b/genkernel index 25e9ca9..b9c5d87 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