Skip to contentSkip to conversation

Arm host configure tweaks

PATCH New Paul Brook 1 participant 1 message Mar 9, 2005 Kbuild

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

PATCH 1/1 Arm host configure tweaks

The attached patch contains a couple of tweaks to the configure for arm hosts.

-fno-omit-frame-pointer forces gcc to generate the standard prologue/epilogue as required by dyngen. I think this was the default for older GCCs.

It also relaxes the patterns used to recognise arm hosts. In particular 'uname -m' reports "armv5tel" under qemu :-)

Paul

Index: Makefile.target
===================================================================
RCS file: /cvsroot/qemu/qemu/Makefile.target,v
retrieving revision 1.59

Makefile.target +1 -1
diff -u -p -r1.59 Makefile.target
@@ -188,7 +188,7 @@ OP_CFLAGS=$(CFLAGS)
 endif
 
 ifeq ($(ARCH),arm)
-OP_CFLAGS=$(CFLAGS) -mno-sched-prolog
+OP_CFLAGS=$(CFLAGS) -mno-sched-prolog -fno-omit-frame-pointer
 LDFLAGS+=-Wl,-T,$(SRC_PATH)/arm.ld
 endif
 

Index: configure
===================================================================
RCS file: /cvsroot/qemu/qemu/configure,v
retrieving revision 1.59

configure +2 -2
diff -u -p -r1.59 configure
@@ -32,10 +32,10 @@ case "$cpu" in
   i386|i486|i586|i686|i86pc|BePC)
     cpu="i386"
   ;;
-  armv4b)
+  armv*b)
     cpu="armv4b"
   ;;
-  armv4l)
+  armv*l)
     cpu="armv4l"
   ;;
   alpha)