Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 628585 Details for
Bug 866664
SeaBIOS should build with a cross-compiler
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to cross-compile SeaBIOS
0001-Build-with-cross-compiler.-Resolves-866664.patch (text/plain), 2.51 KB, created by
Paolo Bonzini
on 2012-10-17 07:40:05 UTC
(
hide
)
Description:
patch to cross-compile SeaBIOS
Filename:
MIME Type:
Creator:
Paolo Bonzini
Created:
2012-10-17 07:40:05 UTC
Size:
2.51 KB
patch
obsolete
>From 4484e70b3c1ce9e14101d70d6c858350e17c3403 Mon Sep 17 00:00:00 2001 >From: Paolo Bonzini <pbonzini@redhat.com> >Date: Wed, 17 Oct 2012 03:23:23 -0400 >Subject: [PATCH] Build with cross compiler. Resolves: #866664. > >--- > seabios.spec | 27 ++++++++++++++------------- > 1 files changed, 14 insertions(+), 13 deletions(-) > >diff --git a/seabios.spec b/seabios.spec >index a341ef0..34d37c2 100644 >--- a/seabios.spec >+++ b/seabios.spec >@@ -1,6 +1,6 @@ > Name: seabios > Version: 1.7.1 >-Release: 1%{?dist} >+Release: 2%{?dist} > Summary: Open-source legacy BIOS implementation > > Group: Applications/Emulators >@@ -9,7 +9,7 @@ URL: http://www.coreboot.org/SeaBIOS > Source0: http://code.coreboot.org/p/seabios/downloads/get/%{name}-%{version}.tar.gz > > BuildRequires: python iasl >-ExclusiveArch: %{ix86} x86_64 >+BuildRequires: binutils-x86_64-linux-gnu gcc-x86_64-linux-gnu > > Requires: %{name}-bin = %{version}-%{release} > >@@ -32,7 +32,6 @@ a coreboot payload. It implements the standard BIOS calling interfaces > that a typical x86 proprietary BIOS implements. > > >-%ifarch %{ix86} x86_64 > %package bin > Summary: Seabios for x86 > Buildarch: noarch >@@ -42,7 +41,6 @@ Buildarch: noarch > SeaBIOS is an open-source legacy BIOS implementation which can be used as > a coreboot payload. It implements the standard BIOS calling interfaces > that a typical x86 proprietary BIOS implements. >-%endif > > > %prep >@@ -53,34 +51,37 @@ sed -i 's,VERSION=%{version}.*,VERSION=%{version},g' Makefile > > > %build >-make .config >+make .config V=1 > sed -i 's,CONFIG_DEBUG_LEVEL=.*,CONFIG_DEBUG_LEVEL=%{debug_level},g' .config > >-%ifarch %{ix86} x86_64 > export CFLAGS="$RPM_OPT_FLAGS" >-make >-%endif >- >+make V=1 \ >+ HOSTCC=gcc \ >+ CC=x86_64-linux-gnu-gcc \ >+ AS=x86_64-linux-gnu-as \ >+ LD=x86_64-linux-gnu-ld \ >+ OBJCOPY=x86_64-linux-gnu-objcopy \ >+ OBJDUMP=x86_64-linux-gnu-objdump \ >+ STRIP=x86_64-linux-gnu-strip > > %install > mkdir -p $RPM_BUILD_ROOT%{_datadir}/seabios >-%ifarch %{ix86} x86_64 > install -m 0644 out/bios.bin $RPM_BUILD_ROOT%{_datadir}/seabios >-%endif > > > %files > %doc COPYING COPYING.LESSER README TODO > > >-%ifarch %{ix86} x86_64 > %files bin > %dir %{_datadir}/seabios/ > %{_datadir}/seabios/bios.bin >-%endif > > > %changelog >+* Wed Oct 17 2012 Paolo Bonzini <pbonzini@redhat.com> - 1.7.1-2 >+- Build with cross compiler. Resolves: #866664. >+ > * Wed Sep 05 2012 Cole Robinson <crobinso@redhat.com> - 1.7.1-1 > - Rebased to version 1.7.1 > - Initial support for booting from USB attached scsi (USB UAS) drives >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 866664
: 628585