|
|
|
@ -86,9 +86,6 @@ SeaVGABIOS is an open-source VGABIOS implementation.
@@ -86,9 +86,6 @@ SeaVGABIOS is an open-source VGABIOS implementation.
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS" |
|
|
|
|
%ifarch ppc64 ppc64le |
|
|
|
|
export CROSS="x86_64-linux-gnu-" |
|
|
|
|
%endif |
|
|
|
|
mkdir binaries |
|
|
|
|
|
|
|
|
|
build_bios() { |
|
|
|
@ -97,7 +94,18 @@ build_bios() {
@@ -97,7 +94,18 @@ build_bios() {
|
|
|
|
|
echo "CONFIG_DEBUG_LEVEL=%{debug_level}" >> .config |
|
|
|
|
make oldnoconfig V=1 EXTRAVERSION="-%release" |
|
|
|
|
|
|
|
|
|
make V=1 $4 EXTRAVERSION="-%release" |
|
|
|
|
make \ |
|
|
|
|
%ifarch ppc64 ppc64le |
|
|
|
|
CROSS=x86_64-linux-gnu \ |
|
|
|
|
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 \ |
|
|
|
|
%endif |
|
|
|
|
V=1 $4 EXTRAVERSION="-%release" |
|
|
|
|
|
|
|
|
|
cp out/$2 binaries/$3 |
|
|
|
|
} |
|
|
|
|