avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Resend 2 [patch] improved multisubdir code and explic


From: Alexander Stohr
Subject: Re: [avr-libc-dev] Resend 2 [patch] improved multisubdir code and explicit machine type specification
Date: Mon, 24 May 2004 20:57:55 +0200 (MEST)

trying CC, plain text version and attachment now.

i am just sending via GMX, no specialoptions,
and it worked nice for other cases towards savannah.
i have no idea what the reason for the strip off might be.

-Alex.


diff -Nur avr-libc-snapshot-2004-05-19.orig/configure.in
avr-libc-snapshot-2004-05-19/configure.in
--- avr-libc-snapshot-2004-05-19.orig/configure.in      2004-05-15
06:13:53.000000000 +0200
+++ avr-libc-snapshot-2004-05-19/configure.in   2004-05-19
19:47:22.000000000 +0200
@@ -326,23 +326,26 @@
 avrlib_asflags=''
 DOCSDIR=''
 if test -z "${with_multisubdir}"; then
-  dnl default build directory -> avr1 and avr2
-  avrlib_cflags="-mmcu=avr2 ${avrlib_opt_space}"
-  avrlib_asflags='-mmcu=avr2'
-  AVR_CRT_AT90='crts1200.o crts2313.o crts2323.o crts2333.o crts2343.o \\\
-                crts4414.o crts4433.o crts4434.o crts8515.o crts8535.o \\\
-                crtc8534.o'
-  AVR_CRT_TINY='crttn11.o crttn12.o crttn15.o crttn28.o crttn22.o
crttn26.o'
-  AVR_CRT_OTHER='crt86401.o'
-
-  dnl We only want to build the docs for the default target case and only
-  dnl if the user has passed "--enable-doc" to configure.
-  if test "$enable_doc" = "yes"; then
-       DOCSDIR='doc'
-  fi
-else
-  case $with_multisubdir in
-  avr3) avrlib_cflags=${avrlib_opt_speed}
+  with_multisubdir=avr2
+fi
+case $with_multisubdir in
+  avr[12])
+        dnl default build directory -> avr1 and avr2
+        avrlib_cflags="-mmcu=avr2 ${avrlib_opt_space}"
+        avrlib_asflags='-mmcu=avr2'
+        AVR_CRT_AT90='crts1200.o crts2313.o crts2323.o crts2333.o
crts2343.o \\\
+                      crts4414.o crts4433.o crts4434.o crts8515.o
crts8535.o \\\
+                      crtc8534.o'
+        AVR_CRT_TINY='crttn11.o crttn12.o crttn15.o crttn28.o crttn22.o
crttn26.o'
+        AVR_CRT_OTHER='crt86401.o'
+
+        dnl We only want to build the docs for the default target case and
only
+        dnl if the user has passed "--enable-doc" to configure.
+        if test "$enable_doc" = "yes"; then
+       DOCSDIR='doc'
+        fi
+  ;;
+  avr3) avrlib_cflags="-mmcu=avr3 ${avrlib_opt_speed}"
         avrlib_asflags='-mmcu=avr3'
         AVR_CRT_MEGA='crtm103.o'
         AVR_CRT_OTHER='crt43320.o crt43355.o crt76711.o'
@@ -352,7 +355,7 @@
         CHECK_AVR_DEVICE(attiny2313)
         CHECK_AVR_DEVICE(atmega48)
         CHECK_AVR_DEVICE(atmega88)
-        avrlib_cflags=${avrlib_opt_space}
+        avrlib_cflags="-mmcu=avr4 ${avrlib_opt_space}"
         avrlib_asflags='-mmcu=avr4'
         AVR_CRT_MEGA='crtm8.o crtm8515.o crtm8535.o'
         if test "x$HAS_atmega48" = "xyes"; then
@@ -371,7 +374,7 @@
   avr5)
         CHECK_AVR_DEVICE(atmega168)
         CHECK_AVR_DEVICE(at90can128)
-        avrlib_cflags=${avrlib_opt_speed}
+        avrlib_cflags="-mmcu=avr5 ${avrlib_opt_speed}"
         avrlib_asflags='-mmcu=avr5'
         AVR_CRT_MEGA='crtm161.o crtm162.o crtm163.o crtm169.o crtm323.o
crtm128.o crtm16.o crtm32.o crtm64.o'
         if test "x$HAS_atmega168" = "xyes"; then
@@ -384,8 +387,7 @@
   ;;
   *)    AC_MSG_ERROR(unexpected value '${with_multisubdir}' for
with_multisubdir)
   ;;
-  esac
-fi
+esac
 
 AVRLIB_CFLAGS="-g -Wall -W -Wstrict-prototypes ${avrlib_defines}
${avrlib_cflags}"
 AC_SUBST(AVRLIB_CFLAGS)


> On Mon, 24 May 2004, Alexander Stohr wrote:
> 
> > once again the patch, because
> > it did not arrive in the archive.
> > lets hope this will finally work now.
> 
> Didn't make it. :-(
> 
> How are you attaching this patch? The easiest way is to just send it as
> a plain-text attachment.
> 
> Try CC'ing me directly next time you send it.
> 
> ---
> Ted Roth
> PGP Key ID: 0x18F846E9
> Jabber ID: address@hidden
> 

-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

reply via email to

[Prev in Thread] Current Thread [Next in Thread]