From: h.huangqiang@huawei.com (Qiang Huang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH boot-wrapper-aarch64] configure: Fix for --with-initrd=no
Date: Tue, 16 Dec 2014 18:30:55 -0800 [thread overview]
Message-ID: <5490EADF.7080906@huawei.com> (raw)
Our configure.ac script wasn't handle --with-initrd=no, when this was passed,
we got error:
...
aarch64-linux-gnu-ld -o linux-system.axf --script=model.lds
aarch64-linux-gnu-ld: cannot find no
make: *** [linux-system.axf] Error 1
Fix this by adding a line to check this.
And this also fixed --without-initrd.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Cc: Geoff Levand <geoff@infradead.org>
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 929da13..553013b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,7 @@ AC_SUBST([CPU_IDS], [$C_CPU_IDS])
AC_ARG_WITH([initrd],
AS_HELP_STRING([--with-initrd], [embed an initrd in the kernel image]),
USE_INITRD=$withval)
+AS_IF([test "x$USE_INITRD" = "xno"], [USE_INITRD=], [])
AC_SUBST([FILESYSTEM], [$USE_INITRD])
AM_CONDITIONAL([INITRD], [test "x$USE_INITRD" != "x"])
--
next reply other threads:[~2014-12-17 2:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-17 2:30 Qiang Huang [this message]
2014-12-17 11:46 ` [PATCH boot-wrapper-aarch64] configure: Fix for --with-initrd=no Mark Rutland
2014-12-18 2:58 ` Qiang Huang
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=5490EADF.7080906@huawei.com \
--to=h.huangqiang@huawei.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).