Patchwork config.gcc: Add newlib-stdint.h for bfin/lm32*rtems

login
register
mail settings
Submitter Ralf Corsepius
Date Oct. 9, 2010, 9:37 a.m.
Message ID <4CB037CF.9090102@rtems.org>
Download mbox | patch
Permalink /patch/67317/
State New
Headers show

Comments

Ralf Corsepius - Oct. 9, 2010, 9:37 a.m.
Hi,

config.gcc missed to newlib-stdint.h to tm_file for bfin*rtems and 
lm32*rtems.

I have applied the patch below to trunk and gcc-4_5-branch.

Ralf
2010-10-09  Ralf Cors├ępius <ralf.corsepius@rtems.org>

	* config.gcc (bfin*-rtems*): Add newlib-stdint.h.
	* config.gcc (lm32*-rtems*): Add newlib-stdint.h.

Patch

Index: config.gcc
===================================================================
--- config.gcc	(revision 165215)
+++ config.gcc	(working copy)
@@ -908,7 +908,7 @@ 
 	use_collect2=no
 	;;
 bfin*-rtems*)
-	tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h"
+	tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h newlib-stdint.h"
 	tmake_file="bfin/t-bfin t-rtems bfin/t-rtems"
 	;;
 bfin*-*)
@@ -1592,7 +1592,7 @@ 
 	tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
         ;;
 lm32-*-rtems*)
-	tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h"
+	tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h"
 	tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
 	tmake_file="${tmake_file} t-rtems"
          ;;