Hi,

On Jul 11, 2008, at 1:48 PM, Marian Aldenhövel wrote:

Hi,

The T2-code that precedes the error-report is in package/base/ linux24/linux-conf.in: # some arches (avr32, sh64 at the time of writing) have a "defect" Makefile
 # and do not work without a .config ...
 yes '' | eval $MAKE $makeopt oldconfig > /dev/null
$makeopt has ARCH=x86
So I also downgraded ./architecture as well. I ran ./scripts/Config again,
and switched the architecture for my build away from and back to x86.
Unfortunately that was not the case, the error persists.

I have read more of package/base/linux24/linux-conf.in and found
the place near the top where $lx_cpu is set.

It is then explicitly reset from i386 to x86 for all of the 2.6-Tree.
That apparently is slightly incorrect because the unificiation did
not happen until after 2.6.18, I did not investigate when exactly
it was introduced.

Commenting out the block makes my build now run clean from download
to final system.

So now I have a T2-HEAD checkout that apart from that very small
modification builds with an older kernel.

Happy.

What would be the T2-way of fixing this?

I would like to rephrase my question:

Is there a cleaner way of doing it? From target-files maybe? Without
requiring a change to the T2-owned script?


You can overwrite this (fix it up) in your target/.../pkg_linux26.conf.

At the time the kernel people re-united their code we decided
extra checks are not really worth it and this can be easily tweaked
if people downdat to an interim kernel.

If you like to, just submit a patch splicing the version variable and
comparing the major, minor,micro kernel version to decide which
name to take (btw. something simillar could then be done for
ppc vs ppc64, vs. the new powerpc ...).

Yours,

--
  René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to