From: "Fabio Erculiani" <lxnay@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/genkernel:master commit in: /, doc/, defaults/
Date: Wed, 20 Jul 2011 19:24:28 +0000 (UTC) [thread overview]
Message-ID: <85a271a4ed9699704300b6dbe21bbe68e32832b5.lxnay@gentoo> (raw)
commit: 85a271a4ed9699704300b6dbe21bbe68e32832b5
Author: Fabio Erculiani <lxnay <AT> sabayon <DOT> org>
AuthorDate: Wed Jul 20 19:26:12 2011 +0000
Commit: Fabio Erculiani <lxnay <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 19:26:12 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=85a271a4
better document new --make-target= option
---
defaults/config.sh | 6 +++++-
doc/genkernel.8.txt | 4 +++-
gen_compile.sh | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/defaults/config.sh b/defaults/config.sh
index 6d26757..d135e0e 100755
--- a/defaults/config.sh
+++ b/defaults/config.sh
@@ -3,7 +3,11 @@
# Arch-specific options that normally shouldn't be changed.
#
KERNEL_MAKE_DIRECTIVE="bzImage"
-KERNEL_MAKE_DIRECTIVE_OVERRIDE="--INVALID--"
+# since "" is allowed (this will translate in `make `, which is nice
+# for xen-based kernels, the default value of
+# KERNEL_MAKE_DIRECTIVE_OVERRIDE cannot be ""
+DEFAULT_KERNEL_MAKE_DIRECTIVE_OVERRIDE="--INVALID--"
+KERNEL_MAKE_DIRECTIVE_OVERRIDE="${DEFAULT_KERNEL_MAKE_DIRECTIVE_OVERRIDE}"
KERNEL_MAKE_DIRECTIVE_2=""
KERNEL_BINARY="arch/i386/boot/bzImage"
KERNEL_BINARY_OVERRIDE=""
diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt
index fc00834..caee447 100644
--- a/doc/genkernel.8.txt
+++ b/doc/genkernel.8.txt
@@ -190,7 +190,9 @@ LOW-LEVEL COMPILATION OPTIONS
GNU Make to use for the kernel compilation.
*--kernel-target*=<t>::
- Override default make target (bzImage)
+ Override default make target (bzImage), note that values
+ like --kernel-target= are also valid (useful for Xen
+ based kernel sources)
*--kernel-binary*=<path>::
Override default kernel binary path (arch/foo/boot/bar)
diff --git a/gen_compile.sh b/gen_compile.sh
index 9fc35af..0758c3a 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -297,7 +297,7 @@ compile_kernel() {
gen_die "KERNEL_MAKE undefined - I don't know how to compile a kernel for this arch!"
cd ${KERNEL_DIR}
local kernel_make_directive="${KERNEL_MAKE_DIRECTIVE}"
- if [ "${KERNEL_MAKE_DIRECTIVE_OVERRIDE}" != "--INVALID--" ]; then
+ if [ "${KERNEL_MAKE_DIRECTIVE_OVERRIDE}" != "${DEFAULT_KERNEL_MAKE_DIRECTIVE_OVERRIDE}" ]; then
kernel_make_directive="${KERNEL_MAKE_DIRECTIVE_OVERRIDE}"
fi
print_info 1 " >> Compiling ${KV} ${kernel_make_directive/_install/ [ install ]/}..."
next reply other threads:[~2011-07-20 19:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 19:24 Fabio Erculiani [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-16 15:03 [gentoo-commits] proj/genkernel:master commit in: /, doc/, defaults/ Thomas Deutschmann
2020-03-04 0:02 Thomas Deutschmann
2019-10-02 22:45 Thomas Deutschmann
2019-07-29 20:10 Thomas Deutschmann
2012-10-13 22:52 Robin H. Johnson
2012-07-19 20:56 Richard Yao
2012-07-19 20:43 Richard Yao
2012-07-19 20:24 Richard Yao
2011-08-28 9:19 Fabio Erculiani
2011-07-20 15:55 Fabio Erculiani
2011-06-01 1:44 Sebastian Pipping
2011-05-31 13:18 Sebastian Pipping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85a271a4ed9699704300b6dbe21bbe68e32832b5.lxnay@gentoo \
--to=lxnay@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox