Re: Kernel 2.6.23

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

 



And I wish I had full understanding of where this is going.  With the new
kernels follow the document for building a custom kernel

1. su -c 'yum-builddep kernel-2.6.23-0.171.rc5.git1.fc8.src.rpm'
2. rpm -Uvh kernel-2.6.23-0.171.rc5.git1.fc8.src.rpm
3. rpmbuild -bp --target=i686 (or `uname -m`)
kernel-2.6.23-0.171.rc5.git1.fc8.src.rpm
go to source tree
4. cd /home/gjohnson/rpmbuild/BUILD/kernel-2.6.22/linux-2.6.22.i686/configs
5.  head the config file
[gjohnson@localhost configs]$ head kernel-2.6.23-i686-PAE.config
# i386  <------------------  (Here's the issue)
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.23-rc5-git1
# Tue Sep 11 13:31:28 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
[gjohnson@localhost configs]$  

So even though you are building with an i686 target the kernel seems to
think it's still an i386 kernel.
Not sure how to ask the question because I don't know what's going on



Christopher Brown-10 wrote:
> 
> On 11/09/2007, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>>
>> On Tue, 11 Sep 2007, Christopher Brown wrote:
>>
>> > On 11/09/2007, gjohnson5 <tonyjohn5@xxxxxxxxx> wrote:
>> > >
>> > >
>> > > Thanks for replying
>> > > That's my next question in terms of development (not the docs)
>> > > The rawhide kernels use a script merge.pl in an attempt to create
>> dynamic
>> > > configuration files based on architecture.
>> > > Then the kernel.spec will attempt to guess the correct architecture .
>> > > next build a kernel with that configuration.
>> >
>> >
>> > Really? I thought
>> >
>> > --target=`uname`
>> >
>> > did that. If you want to specify a particular arch then follow the
>> guide
>> > Chuck pasted in and use --target=i686 or whatever.
>>
>> you might be thinking of `uname -m`.
>>
> 
> Umm, yeah thats what I said. Build for current arch with that or specify a
> different one (ie. not the host arch) with --target=ppc64 or whatever. Not
> completely understanding the question doesn't help though... :p
> 
> Chris
> 
> -- 
> http://www.chruz.com
> 
> -- 
> fedora-test-list mailing list
> fedora-test-list@xxxxxxxxxx
> To unsubscribe: 
> https://www.redhat.com/mailman/listinfo/fedora-test-list
> 

-- 
View this message in context: http://www.nabble.com/Kernel-2.6.23-tf4422867.html#a12625128
Sent from the Fedora Test List mailing list archive at Nabble.com.

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux