From: yegor_sub1@visionsystems.de (Yegor Yefremov)
To: linux-arm-kernel@lists.infradead.org
Subject: Define CROSS_COMPILE in .config (kernel 2.6.35)
Date: Wed, 04 Aug 2010 12:55:36 +0200 [thread overview]
Message-ID: <4C594728.9020607@visionsystems.de> (raw)
Has anyone tried this option? If I define my CROSS_COMPILE prefix in .config and then call
make ARCH=arm
then I get following errors:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: ?include/generated/mach-types.h? ist bereits aktualisiert.
CC kernel/bounds.s
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mabi=aapcs-linux"
cc1: error: unrecognized command line option "-mno-thumb-interwork"
kernel/bounds.c:1: error: bad value (armv4t) for -march= switch
kernel/bounds.c:1: error: bad value (arm9tdmi) for -mtune= switch
the CROSS_COMPILE seems to be ignored. But if I comment the empty CROSS_COMPILE entry in Makefile
#CROSS_COMPILE ?=
CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)
everything is working like a charm. Am I missing something?
Regards,
Yegor
next reply other threads:[~2010-08-04 10:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 10:55 Yegor Yefremov [this message]
2010-08-04 11:05 ` Define CROSS_COMPILE in .config (kernel 2.6.35) tommy.hong
2010-08-04 11:53 ` Russell King - ARM Linux
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=4C594728.9020607@visionsystems.de \
--to=yegor_sub1@visionsystems.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.