diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-27 15:03:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-27 15:03:09 +0000 |
commit | febaa8a41119a3c1034e5ac973cb1d4fbf662237 (patch) | |
tree | 6756192efccc7de55391c6eac73724dee77820c1 /cpukit/score/cpu/avr | |
parent | 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-febaa8a41119a3c1034e5ac973cb1d4fbf662237.tar.bz2 |
2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.S: Add include of config.h
Diffstat (limited to 'cpukit/score/cpu/avr')
-rw-r--r-- | cpukit/score/cpu/avr/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/avr/cpu.c | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/avr/cpu_asm.S | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog index 083f877604..462ae172ca 100644 --- a/cpukit/score/cpu/avr/ChangeLog +++ b/cpukit/score/cpu/avr/ChangeLog @@ -1,3 +1,7 @@ +2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com> + + * cpu.c, cpu_asm.S: Add include of config.h + 2009-12-02 Ralf Corsépius <ralf.corsepius@rtems.org> * rtems/score/avr.h: Add avr6. diff --git a/cpukit/score/cpu/avr/cpu.c b/cpukit/score/cpu/avr/cpu.c index eaaf1dc91f..38b1c3553b 100644 --- a/cpukit/score/cpu/avr/cpu.c +++ b/cpukit/score/cpu/avr/cpu.c @@ -12,6 +12,10 @@ * $Id$ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <rtems/system.h> #include <rtems/score/isr.h> #include <rtems/score/wkspace.h> diff --git a/cpukit/score/cpu/avr/cpu_asm.S b/cpukit/score/cpu/avr/cpu_asm.S index a31caa3e83..cb62347f9b 100644 --- a/cpukit/score/cpu/avr/cpu_asm.S +++ b/cpukit/score/cpu/avr/cpu_asm.S @@ -21,6 +21,11 @@ * and cpu.h should not be included in a "real" cpu_asm file. An * implementation in assembly should include "cpu_asm.h> */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <avr/io.h> #include <avr/sfr_defs.h> #include <rtems/asm.h> |