Package: mknbi
Version: 1.4.4-1
Severity: wishlist
Tags: patch
This seems to be OK to add AMD64 host support. Resulting images have not
been tested yet but it seems to work.
--- mknbi-1.4.4.orig/Makefile
+++ mknbi-1.4.4/Makefile
@@ -18,7 +18,7 @@
FIRSTRELOCS= 0x92800 0x82800
OLDGAS:= $(shell $(AS) --version | grep -q '2\.9\.1' && echo -DGAS291)
CFLAGS= -I. -Os -ffreestanding -fstrength-reduce
-fomit-frame-pointer \
- -mcpu=i386 \
+ -m32 -march=i386 \
-Wall -W -Wno-format -Wno-unused
-DVERSION=\"$(VERSION)$(EXTRAVERSION)\"
LDBINARYFLAG= --oformat binary
FIRST32SIZE= 6144
@@ -101,7 +101,7 @@
$(LD) -N -Ttext $* -e _start $(LDBINARYFLAG) -o $@ [EMAIL PROTECTED]
first32dos.o printf.o string.o
[EMAIL PROTECTED]: start32.S
- gcc -E -DRELOC=$* $(OLDGAS) start32.S | $(AS) -o [EMAIL PROTECTED]
+ gcc -E -DRELOC=$* $(OLDGAS) start32.S | $(AS) --32 -o [EMAIL PROTECTED]
first32.o: first32.c etherboot.h start32.h
gcc $(CFLAGS) -o first32.o -c first32.c
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=et_EE.ISO-8859-15, LC_CTYPE=et_EE.ISO-8859-15 (charmap=ISO-8859-15)
Versions of packages mknbi depends on:
ii perl 5.8.8-7 Larry Wall's Practical Extraction
mknbi recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]