From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
To: Martin Michlmayr <tbm@cyrius.com>
Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>,
akpm@linux-foundation.org, hpa@zytor.com, rmk@arm.linux.org.uk,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/4] Add support for LZO-compressed kernels for ARM
Date: Fri, 13 Nov 2009 15:29:17 +0100 [thread overview]
Message-ID: <20091113142917.GA12149@Chamillionaire.breakpoint.cc> (raw)
In-Reply-To: <20091112125938.GA19698@deprecation.cyrius.com>
* Martin Michlmayr | 2009-11-12 12:59:38 [+0000]:
>* Albin Tonnerre <albin.tonnerre@free-electrons.com> [2009-11-11 13:27]:
>> This is the second part of patch. This part includes:
>> - changes to ach/arch/boot/Makefile to make it easier to add new
>> compression types
>> +
>> +# For __aeabi_uidivmod
>> +lib1funcs = $(srctree)/arch/$(SRCARCH)/lib/lib1funcs.o
>
>I build my kernel in a different directory to where the sources are
>stored and I get:
>
>make[7]: *** No rule to make target `/home/tbm/kernel/linux-2.6-2.6.32~rc6/debian/build/source_armel_none/arch/arm/lib/lib1funcs.o', needed by `arch/arm/boot/compressed/vmlinux'. Stop.
>
>The following patch makes it compile for me:
>
>--- a/arm/boot/compressed/Makefile 2009-11-12 12:26:47.000000000 +0000
>+++ b/arm/boot/compressed/Makefile 2009-11-12 12:26:58.000000000 +0000
>@@ -101,7 +101,7 @@
> LDFLAGS_vmlinux += -T
>
> # For __aeabi_uidivmod
>-lib1funcs = $(srctree)/arch/$(SRCARCH)/lib/lib1funcs.o
>+lib1funcs = arch/$(SRCARCH)/lib/lib1funcs.o
+lib1funcs = $(obj)/arch/$(SRCARCH)/lib/lib1funcs.o
This is untested but it should refer to obj because you break out of
tree builds (O=) if you don't :)
>
> # Don't allow any static data in misc.o, which
> # would otherwise mess up our GOT table
>
>--
>Martin Michlmayr
>http://www.cyrius.com/
Sebastian
next prev parent reply other threads:[~2009-11-13 14:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-11 12:27 [PATCH v3 0/4] Add support for LZO-compressed kernel images Albin Tonnerre
2009-11-11 12:27 ` [PATCH v3 1/4] Add support for LZO-compressed kernels Albin Tonnerre
2009-11-11 12:27 ` [PATCH v3 2/4] Add support for LZO-compressed kernels for ARM Albin Tonnerre
2009-11-11 12:27 ` [PATCH v3 3/4] Add support for LZO-compressed kernels on x86 Albin Tonnerre
2009-11-11 12:27 ` [PATCH v3 4/4] Add LZO compression support for initramfs and old-style initrd Albin Tonnerre
2009-11-12 12:59 ` [PATCH v3 2/4] Add support for LZO-compressed kernels for ARM Martin Michlmayr
2009-11-13 14:29 ` Sebastian Andrzej Siewior [this message]
2009-11-13 14:50 ` Martin Michlmayr
2009-11-13 14:54 ` Albin Tonnerre
2009-11-13 15:21 ` Russell King
2009-11-13 15:52 ` Martin Michlmayr
2009-11-13 17:19 ` Albin Tonnerre
2009-11-12 21:06 ` Martin Michlmayr
2009-11-11 14:11 ` [PATCH v3 1/4] Add support for LZO-compressed kernels Wu Zhangjin
2009-11-12 22:33 ` Andrew Morton
2009-11-12 22:43 ` Albin Tonnerre
2009-11-13 15:45 ` Russell King
2009-11-12 22:25 ` [PATCH v3 0/4] Add support for LZO-compressed kernel images Russell King
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=20091113142917.GA12149@Chamillionaire.breakpoint.cc \
--to=sebastian@breakpoint.cc \
--cc=akpm@linux-foundation.org \
--cc=albin.tonnerre@free-electrons.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
--cc=tbm@cyrius.com \
/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
all inboxes | Powered by JetHome®