sharkcz / rpms / gnuradio

Forked from rpms/gnuradio 3 years ago
Clone
Blob Blame History Raw
diff -up gnuradio-3.4.0/config/usrp_sdcc.m4.orig gnuradio-3.4.0/config/usrp_sdcc.m4
--- gnuradio-3.4.0/config/usrp_sdcc.m4.orig	2011-06-12 05:54:36.000000000 +0200
+++ gnuradio-3.4.0/config/usrp_sdcc.m4	2011-06-27 16:17:42.001053649 +0200
@@ -21,7 +21,7 @@ AC_DEFUN([USRP_SDCC],
 [
 	sdccok=yes
 	AC_CHECK_PROG(XCC, sdcc, sdcc -mmcs51 --no-xinit-opt,no)
-	AC_CHECK_PROG(XAS, asx8051, asx8051 -plosgff,no)
+	AC_CHECK_PROG(XAS, sdas8051, sdas8051 -plosgff,no)
 
 	if test "$XCC" = "no" -o "$XAS" = "no" ; then
 		AC_MSG_RESULT([USRP requires sdcc version 2. sdcc not found. See http://sdcc.sf.net])
diff -up gnuradio-3.4.0/usrp/firmware/lib/delay.c.orig gnuradio-3.4.0/usrp/firmware/lib/delay.c
--- gnuradio-3.4.0/usrp/firmware/lib/delay.c.orig	2011-06-12 05:54:36.000000000 +0200
+++ gnuradio-3.4.0/usrp/firmware/lib/delay.c	2011-06-28 09:31:11.361044713 +0200
@@ -24,7 +24,7 @@
  * Delay approximately 1 microsecond (including overhead in udelay).
  */
 static void
-udelay1 (void) _naked
+udelay1 (void) __naked
 {
   _asm				; lcall that got us here took 4 bus cycles
 	ret			; 4 bus cycles
@@ -51,7 +51,7 @@ udelay (unsigned char usecs)
  * but explains the factor of 4 problem below).
  */
 static void
-mdelay1 (void) _naked
+mdelay1 (void) __naked
 {
   _asm
 	mov	dptr,#(-1200 & 0xffff)
diff -up gnuradio-3.4.0/usrp/firmware/src/common/fpga_load.c.orig gnuradio-3.4.0/usrp/firmware/src/common/fpga_load.c
--- gnuradio-3.4.0/usrp/firmware/src/common/fpga_load.c.orig	2011-06-12 05:54:36.000000000 +0200
+++ gnuradio-3.4.0/usrp/firmware/src/common/fpga_load.c	2011-06-28 09:32:03.222101208 +0200
@@ -89,7 +89,7 @@ clock_out_config_byte (unsigned char bit
 #else
 
 static void 
-clock_out_config_byte (unsigned char bits) _naked
+clock_out_config_byte (unsigned char bits) __naked
 {
     _asm
 	mov	a, dpl
diff -up gnuradio-3.4.0/usrp/firmware/src/usrp2/spi.c.orig gnuradio-3.4.0/usrp/firmware/src/usrp2/spi.c
--- gnuradio-3.4.0/usrp/firmware/src/usrp2/spi.c.orig	2011-06-28 09:31:40.754340711 +0200
+++ gnuradio-3.4.0/usrp/firmware/src/usrp2/spi.c	2011-06-28 09:31:27.800820713 +0200
@@ -320,7 +320,7 @@ read_byte_msb (void)
 }
 #else
 static unsigned char
-read_byte_msb (void) _naked
+read_byte_msb (void) __naked
 {
   _asm
 	clr	a