[LinuxBIOS] buildrom problems (serengeti cheetah, s2891)

2007-10-24 Thread Myles Watson

I checked out the latest buildrom and tried to build L-A-B for two targets,
Serengeti cheetah and Tyan s2891.

It fails to build the kernel because it passes KERNEL_CC=gcc -m32 to make,
and make interprets the -m32 as an option to make.

I'm assuming that there's something wrong with my environment, but I'm not
sure how to fix it.

I'm using Fedora Core 4 and gcc 4

Any suggestions?

Myles 



-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios


Re: [LinuxBIOS] buildrom problems (serengeti cheetah, s2891)

2007-10-24 Thread Ward Vandewege
On Wed, Oct 24, 2007 at 02:38:42PM -0600, Jordan Crouse wrote:
 Try this patch to buildrom - it should make everybody happy.
 
 Jordan
 -- 
 Jordan Crouse
 Systems Software Development Engineer 
 Advanced Micro Devices, Inc.
 
 
 !DSPAM:471fad6a90701804284693!

 [BUILDROM] Fix building 32 bit on 64 bit hosts
 
 Re-adjust my previous patch a little bit, its not smart to be passing the
 -m32 flag into the kernel, it already knows how to do the right thing (TM).
 So pull the 32 bit flags from the default CC, AS and LD variable and pass
 them in individually. Also, add quotes to the variables passed into the
 kernel, since thats obviously buggy.
 
 Signed-off-by: Jordan Crouse [EMAIL PROTECTED]

Myles has confirmed (off-list) that this fixes the problem on 64 bit; I've
confirmed that it does not break 32 bit, hence:

Acked-by: Ward Vandewege [EMAIL PROTECTED]

Thanks,
Ward.

-- 
Ward Vandewege [EMAIL PROTECTED]
Free Software Foundation - Senior System Administrator

-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios


Re: [LinuxBIOS] buildrom problems (serengeti cheetah, s2891)

2007-10-24 Thread Jordan Crouse
On 24/10/07 18:12 -0400, Ward Vandewege wrote:
 On Wed, Oct 24, 2007 at 02:38:42PM -0600, Jordan Crouse wrote:
  Try this patch to buildrom - it should make everybody happy.
  
  Jordan
  -- 
  Jordan Crouse
  Systems Software Development Engineer 
  Advanced Micro Devices, Inc.
  
  
  !DSPAM:471fad6a90701804284693!
 
  [BUILDROM] Fix building 32 bit on 64 bit hosts
  
  Re-adjust my previous patch a little bit, its not smart to be passing the
  -m32 flag into the kernel, it already knows how to do the right thing (TM).
  So pull the 32 bit flags from the default CC, AS and LD variable and pass
  them in individually. Also, add quotes to the variables passed into the
  kernel, since thats obviously buggy.
  
  Signed-off-by: Jordan Crouse [EMAIL PROTECTED]
 
 Myles has confirmed (off-list) that this fixes the problem on 64 bit; I've
 confirmed that it does not break 32 bit, hence:
 
 Acked-by: Ward Vandewege [EMAIL PROTECTED]

r49



-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios