ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] where is the cpu type specified? -> linux kernel build warnin


From: Peter Barada
Subject: Re: [Ltib] where is the cpu type specified? -> linux kernel build warning
Date: Thu, 24 Nov 2011 14:14:54 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15

On 11/24/2011 10:27 AM, Lambrecht Jürgen wrote:
> I have a strange error during the kernel build (see below): aparently, 
> the architecture is not specified ?? (see "-march=" below)
> Where is the 'arch' type specified for the kernel in ltib?
> (In my platform main.lkc, LINTARCH=arm. So that is OK.)
Look in the kernel source, specificially arch/arm/Makefile - depending
on the version you'll see KBUILD_CFLAGS define dusing $(arch-y) and
$(tune-y) which are set based on CONFIG_CPU_XXX being set.

You might want to also build your kernel, then look for the line "+ make
ARCH=arm 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//' uImage" that builds
uImage.  Open up another shell, then execute "./ltib -m shell" and cd
into your kernel build directory (rpm/build/kernel-xxx usually), and
execute the make target that build uImage.  However add "V=1" after the
make; this causes the build to show you the compiler command line so you
can see the -mcpu= and -march= selections your kernel is making. 
Remember to exit this new shell, or "ltib" will fail to build (due to
.lock_file existing).

Hope this helps.

-- 
Peter Barada
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]