1 |
commit: 4259ed81a58dcdc62c83f27f8a238b92b5613f3c |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 28 19:35:22 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 28 19:35:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=4259ed81 |
7 |
|
8 |
genkernel: Use isTrue for ARCH_HAVENOPREPARE |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
genkernel | 4 +++- |
13 |
1 file changed, 3 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/genkernel b/genkernel |
16 |
index 25e9ca9..b9c5d87 100755 |
17 |
--- a/genkernel |
18 |
+++ b/genkernel |
19 |
@@ -232,9 +232,11 @@ then |
20 |
config_kernel |
21 |
|
22 |
# Make prepare |
23 |
- if [ "${ARCH_HAVENOPREPARE}" = '' ] |
24 |
+ if ! isTrue "${ARCH_HAVENOPREPARE}" |
25 |
then |
26 |
compile_generic prepare kernel |
27 |
+ else |
28 |
+ print_info 2 "Skipping 'make prepare' due to ARCH_HAVENOPREPARE=yes!" |
29 |
fi |
30 |
|
31 |
# KV may have changed due to the configuration |