Bug#433158: madwifi-source: fails to build on MIPS32 CPU
Aurelien Jarno
aurel32 at debian.org
Sun Jul 15 15:12:59 UTC 2007
On Mon, Jul 16, 2007 at 12:20:47AM +1000, Kel Modderman wrote:
> Hi,
>
> On Mon, 16 Jul 2007 12:14:37 am Aurelien Jarno wrote:
> > Yes, I think it is a good idea. Please find below the same patch signed
> > off.
>
> Is it the same though? ;-)
>
> In initial mail the patch also removed -EL / -EB from COPTS. The patch below
> only removes the -mips1 flag.
>
> Thanks for signing-off on the small fix, and please do clarify which version
> is correct (i think your initial patch was correct, but want to be sure).
Oops you are right, the latest patch I sent was my first version, so
without the -EL/-EB stuff. Sorry. Please find a correct one below, this
time against upstream CVS.
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
Index: hal/public/mips1-be-elf.inc
===================================================================
RCS file: /cvsroot/madwifi/madwifi/hal/public/mips1-be-elf.inc,v
retrieving revision 1.2
diff -u -d -p -r1.2 mips1-be-elf.inc
--- hal/public/mips1-be-elf.inc 22 Feb 2005 14:17:26 -0000 1.2
+++ hal/public/mips1-be-elf.inc 15 Jul 2007 14:49:09 -0000
@@ -63,5 +63,5 @@ NM= ${TOOLPREFIX}nm
LDOPTS= -EB
COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
-COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips1 -Wa,--trap \
+COPTS+= -G 0 -mno-abicalls -fno-pic -Wa,--trap \
-fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
Index: hal/public/mips1-le-elf.inc
===================================================================
RCS file: /cvsroot/madwifi/madwifi/hal/public/mips1-le-elf.inc,v
retrieving revision 1.2
diff -u -d -p -r1.2 mips1-le-elf.inc
--- hal/public/mips1-le-elf.inc 22 Feb 2005 14:17:26 -0000 1.2
+++ hal/public/mips1-le-elf.inc 15 Jul 2007 14:49:09 -0000
@@ -63,5 +63,5 @@ NM= ${TOOLPREFIX}nm
LDOPTS= -EL
COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
-COPTS+= -G 0 -EL -mno-abicalls -fno-pic -mips1 -Wa,--trap \
+COPTS+= -G 0 -mno-abicalls -fno-pic -Wa,--trap \
-fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32 at debian.org | aurelien at aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
More information about the Pkg-madwifi-maintainers
mailing list