Tue 22 Dec 2009 05:13:21 PM UTC, comment #1:
-------- Original Message --------
Subject: Re: [Fwd: [loongson-dev] About compiling the kernel]
Date: Sun, 20 Dec 2009 02:52:27 -0200
From: Alexandre Oliva <lxoliva@fsfla.org>
Organization: Free thinker, not speaking for FSF Latin America
To: Daniel Clark <dclark@pobox.com>
References: <4B2A5CD1.6040307@pobox.com>
On Dec 17, 2009, Daniel Clark <dclark@pobox.com> wrote:
> Just wanted to make sure we are doing this...
Yeah, the -Wa,-mfix... options are added to CFLAGS in
arch/mips/Makefile. Thanks for the reminder.
|
Fri 18 Dec 2009 07:29:22 PM UTC, original submission:
-------- Original Message --------
Subject: Re: [loongson-dev] About compiling the kernel
Date: Fri, 18 Dec 2009 09:08:09 +0800
From: Wu Zhangjin <wuzhangjin@gmail.com>
Reply-To: -unavailable-
Organization: DSLab, Lanzhou University, China
To: -unavailable-
References: <450d994e-fa79-45a7-bd57-0d354a5673db@e27g2000yqd.googlegroups.com>
[snip]
Hello, Here is the way we go in 2.6.32:
arch/mips/Makefile
cflags-$(CONFIG_CPU_LOONGSON2F) += \
$(call cc-option,-march=loongson2f,-march=r4600) \
$(call as-option,-Wa$(comma)-mfix-ls2f-kernel,) \
$(call as-option,-Wa$(comma)-mfix-loongson2f-nop,) \
$(call as-option,-Wa$(comma)-mfix-loongson2f-jump,)
-mfix-ls2f-kernel is used for the old patches, -mfix-loongson2f-* for
the latest patches.
after the patches being applied by the binutils maintainers, the corresponding patches will be pushed into the mainline kernel.
Thanks & Regards,
Wu Zhangjin
|