[PATCH 1/2] Most bsp.h: Switch to LIBBSP_ at CPU@_ at BSP_FAMILY@_H for guard

Joel Sherrill joel.sherrill at oarcorp.com
Thu Jul 16 16:21:24 UTC 2015


This was done by the following script run from libbsp:

find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b
do
  echo $b
  cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' `
  bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' `
  g="LIBBSP_${cpu}_${bsp}_BSP_H"
  # echo $g
  sed -e "s/ifndef _BSP_H/ifndef ${g}/" \
      -e "s/define _BSP_H/define ${g}/" \
  -i $b

done
---
 c/src/lib/libbsp/arm/csb336/include/bsp.h               | 4 ++--
 c/src/lib/libbsp/arm/csb337/include/bsp.h               | 4 ++--
 c/src/lib/libbsp/arm/edb7312/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/arm/gp32/include/bsp.h                 | 4 ++--
 c/src/lib/libbsp/arm/gumstix/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/arm/rtl22xx/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/arm/smdk2410/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/avr/avrtest/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/bfin/TLL6527M/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h          | 4 ++--
 c/src/lib/libbsp/bfin/eZKit533/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/h8300/h8sim/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/i386/pc386/include/bsp.h               | 4 ++--
 c/src/lib/libbsp/lm32/lm32_evr/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/lm32/milkymist/include/bsp.h           | 4 ++--
 c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/m32r/m32rsim/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/m68k/csb360/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/m68k/gen68302/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/m68k/gen68340/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/m68k/gen68360/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/m68k/idp/include/bsp.h                 | 4 ++--
 c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h        | 4 ++--
 c/src/lib/libbsp/m68k/mcf52235/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/m68k/mcf5235/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/m68k/mcf5329/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/m68k/mrm332/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/m68k/mvme136/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/m68k/mvme147/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/m68k/mvme147s/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/m68k/mvme162/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/m68k/mvme167/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/m68k/ods68302/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/m68k/uC5282/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/mips/csb350/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/mips/genmongoosev/include/bsp.h        | 4 ++--
 c/src/lib/libbsp/mips/hurricane/include/bsp.h           | 4 ++--
 c/src/lib/libbsp/mips/jmr3904/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/mips/malta/include/bsp.h               | 4 ++--
 c/src/lib/libbsp/mips/rbtx4925/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/mips/rbtx4938/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/moxie/moxiesim/include/bsp.h           | 4 ++--
 c/src/lib/libbsp/nios2/nios2_iss/include/bsp.h          | 4 ++--
 c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/powerpc/ep1a/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/powerpc/haleakala/include/bsp.h        | 4 ++--
 c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h           | 4 ++--
 c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h | 4 ++--
 c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h       | 4 ++--
 c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h         | 4 ++--
 c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h         | 4 ++--
 c/src/lib/libbsp/powerpc/psim/include/bsp.h             | 4 ++--
 c/src/lib/libbsp/powerpc/qemuppc/include/bsp.h          | 4 ++--
 c/src/lib/libbsp/powerpc/score603e/include/bsp.h        | 4 ++--
 c/src/lib/libbsp/powerpc/ss555/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/powerpc/tqm8xx/include/bsp.h           | 4 ++--
 c/src/lib/libbsp/powerpc/virtex/include/bsp.h           | 4 ++--
 c/src/lib/libbsp/powerpc/virtex4/include/bsp.h          | 4 ++--
 c/src/lib/libbsp/powerpc/virtex5/include/bsp.h          | 4 ++--
 c/src/lib/libbsp/sh/gensh1/include/bsp.h                | 4 ++--
 c/src/lib/libbsp/sh/gensh2/include/bsp.h                | 4 ++--
 c/src/lib/libbsp/sh/gensh4/include/bsp.h                | 4 ++--
 c/src/lib/libbsp/sh/shsim/include/bsp.h                 | 4 ++--
 c/src/lib/libbsp/sparc/erc32/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/sparc/leon2/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/sparc/leon3/include/bsp.h              | 4 ++--
 c/src/lib/libbsp/sparc64/niagara/include/bsp.h          | 4 ++--
 c/src/lib/libbsp/sparc64/usiii/include/bsp.h            | 4 ++--
 c/src/lib/libbsp/v850/gdbv850sim/include/bsp.h          | 4 ++--
 71 files changed, 142 insertions(+), 142 deletions(-)

diff --git a/c/src/lib/libbsp/arm/csb336/include/bsp.h b/c/src/lib/libbsp/arm/csb336/include/bsp.h
index c9ce435..ec79476 100644
--- a/c/src/lib/libbsp/arm/csb336/include/bsp.h
+++ b/c/src/lib/libbsp/arm/csb336/include/bsp.h
@@ -16,8 +16,8 @@
  *  found in the file LICENSE in this distribution or at
  *  http://www.rtems.org/license/LICENSE.
 */
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_ARM_CSB336_BSP_H
+#define LIBBSP_ARM_CSB336_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/arm/csb337/include/bsp.h b/c/src/lib/libbsp/arm/csb337/include/bsp.h
index 7374adf..7f9d3c6 100644
--- a/c/src/lib/libbsp/arm/csb337/include/bsp.h
+++ b/c/src/lib/libbsp/arm/csb337/include/bsp.h
@@ -16,8 +16,8 @@
  *  found in the file LICENSE in this distribution or at
  *  http://www.rtems.org/license/LICENSE.
  */
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_ARM_CSB337_BSP_H
+#define LIBBSP_ARM_CSB337_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/arm/edb7312/include/bsp.h b/c/src/lib/libbsp/arm/edb7312/include/bsp.h
index 33a6030..47a1755 100644
--- a/c/src/lib/libbsp/arm/edb7312/include/bsp.h
+++ b/c/src/lib/libbsp/arm/edb7312/include/bsp.h
@@ -13,8 +13,8 @@
  *  found in the file LICENSE in this distribution or at
  *  http://www.rtems.org/license/LICENSE.
 */
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_ARM_EDB7312_BSP_H
+#define LIBBSP_ARM_EDB7312_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h b/c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h
index 3160418..be69b6c 100644
--- a/c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h
+++ b/c/src/lib/libbsp/arm/gdbarmsim/include/bsp.h
@@ -15,8 +15,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_ARM_GDBARMSIM_BSP_H
+#define LIBBSP_ARM_GDBARMSIM_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/arm/gp32/include/bsp.h b/c/src/lib/libbsp/arm/gp32/include/bsp.h
index 4e1439a..7c8903f 100644
--- a/c/src/lib/libbsp/arm/gp32/include/bsp.h
+++ b/c/src/lib/libbsp/arm/gp32/include/bsp.h
@@ -13,8 +13,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_ARM_GP32_BSP_H
+#define LIBBSP_ARM_GP32_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/arm/gumstix/include/bsp.h b/c/src/lib/libbsp/arm/gumstix/include/bsp.h
index 80525a7..fb21e13 100644
--- a/c/src/lib/libbsp/arm/gumstix/include/bsp.h
+++ b/c/src/lib/libbsp/arm/gumstix/include/bsp.h
@@ -12,8 +12,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_ARM_GUMSTIX_BSP_H
+#define LIBBSP_ARM_GUMSTIX_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/arm/rtl22xx/include/bsp.h b/c/src/lib/libbsp/arm/rtl22xx/include/bsp.h
index be38c8e..51ed025 100644
--- a/c/src/lib/libbsp/arm/rtl22xx/include/bsp.h
+++ b/c/src/lib/libbsp/arm/rtl22xx/include/bsp.h
@@ -13,8 +13,8 @@
  *  found in the file LICENSE in this distribution or at
  *  http://www.rtems.org/license/LICENSE.
 */
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_ARM_RTL22XX_BSP_H
+#define LIBBSP_ARM_RTL22XX_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/arm/smdk2410/include/bsp.h b/c/src/lib/libbsp/arm/smdk2410/include/bsp.h
index 932e323..d85e7b8 100644
--- a/c/src/lib/libbsp/arm/smdk2410/include/bsp.h
+++ b/c/src/lib/libbsp/arm/smdk2410/include/bsp.h
@@ -15,8 +15,8 @@
 +--------------------------------------------------------------------------*/
 
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_ARM_SMDK2410_BSP_H
+#define LIBBSP_ARM_SMDK2410_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/avr/avrtest/include/bsp.h b/c/src/lib/libbsp/avr/avrtest/include/bsp.h
index b64d59c..1a16139 100644
--- a/c/src/lib/libbsp/avr/avrtest/include/bsp.h
+++ b/c/src/lib/libbsp/avr/avrtest/include/bsp.h
@@ -11,8 +11,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_AVR_AVRTEST_BSP_H
+#define LIBBSP_AVR_AVRTEST_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/bfin/TLL6527M/include/bsp.h b/c/src/lib/libbsp/bfin/TLL6527M/include/bsp.h
index e9063a2..a8c4eb8 100644
--- a/c/src/lib/libbsp/bfin/TLL6527M/include/bsp.h
+++ b/c/src/lib/libbsp/bfin/TLL6527M/include/bsp.h
@@ -14,8 +14,8 @@
  * http://www.rtems.org/license
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_BFIN_TLL6527M_BSP_H
+#define LIBBSP_BFIN_TLL6527M_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h b/c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h
index 578918d..93f43e8 100644
--- a/c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h
+++ b/c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h
@@ -12,8 +12,8 @@
  */
 
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_BFIN_BF537STAMP_BSP_H
+#define LIBBSP_BFIN_BF537STAMP_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/bfin/eZKit533/include/bsp.h b/c/src/lib/libbsp/bfin/eZKit533/include/bsp.h
index b654d2d..9265f0e 100644
--- a/c/src/lib/libbsp/bfin/eZKit533/include/bsp.h
+++ b/c/src/lib/libbsp/bfin/eZKit533/include/bsp.h
@@ -18,8 +18,8 @@
  */
 
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_BFIN_EZKIT533_BSP_H
+#define LIBBSP_BFIN_EZKIT533_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/h8300/h8sim/include/bsp.h b/c/src/lib/libbsp/h8300/h8sim/include/bsp.h
index f219179..6c45dc6 100644
--- a/c/src/lib/libbsp/h8300/h8sim/include/bsp.h
+++ b/c/src/lib/libbsp/h8300/h8sim/include/bsp.h
@@ -18,8 +18,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_H8300_H8SIM_BSP_H
+#define LIBBSP_H8300_H8SIM_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h b/c/src/lib/libbsp/i386/pc386/include/bsp.h
index f537eb6..5a82ac2 100644
--- a/c/src/lib/libbsp/i386/pc386/include/bsp.h
+++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h
@@ -44,8 +44,8 @@
 | **************************************************************************
 +--------------------------------------------------------------------------*/
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_I386_PC386_BSP_H
+#define LIBBSP_I386_PC386_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/lm32/lm32_evr/include/bsp.h b/c/src/lib/libbsp/lm32/lm32_evr/include/bsp.h
index facfc2d..bee40d6 100644
--- a/c/src/lib/libbsp/lm32/lm32_evr/include/bsp.h
+++ b/c/src/lib/libbsp/lm32/lm32_evr/include/bsp.h
@@ -18,8 +18,8 @@
  *  Micro-Research Finland Oy
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_LM32_LM32_EVR_BSP_H
+#define LIBBSP_LM32_LM32_EVR_BSP_H
 
 #include <stdint.h>
 #include <bspopts.h>
diff --git a/c/src/lib/libbsp/lm32/milkymist/include/bsp.h b/c/src/lib/libbsp/lm32/milkymist/include/bsp.h
index f802ff5..3813a03 100644
--- a/c/src/lib/libbsp/lm32/milkymist/include/bsp.h
+++ b/c/src/lib/libbsp/lm32/milkymist/include/bsp.h
@@ -17,8 +17,8 @@
  *  COPYRIGHT (c) 2011 Sebastien Bourdeauducq
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_LM32_MILKYMIST_BSP_H
+#define LIBBSP_LM32_MILKYMIST_BSP_H
 
 #include <stdint.h>
 #include <bspopts.h>
diff --git a/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h b/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h
index 6c1509e..2889808 100644
--- a/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h
+++ b/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h
@@ -19,8 +19,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M32C_M32CBSP_BSP_H
+#define LIBBSP_M32C_M32CBSP_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h b/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h
index 26074f6..1a30ce6 100644
--- a/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h
+++ b/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h
@@ -19,8 +19,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M32R_M32RSIM_BSP_H
+#define LIBBSP_M32R_M32RSIM_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/csb360/include/bsp.h b/c/src/lib/libbsp/m68k/csb360/include/bsp.h
index 12b2c90..7217d16 100644
--- a/c/src/lib/libbsp/m68k/csb360/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/csb360/include/bsp.h
@@ -23,8 +23,8 @@
  * http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_CSB360_BSP_H
+#define LIBBSP_M68K_CSB360_BSP_H
 
 #include <mcf5272/mcf5272.h>
 
diff --git a/c/src/lib/libbsp/m68k/gen68302/include/bsp.h b/c/src/lib/libbsp/m68k/gen68302/include/bsp.h
index 5e86dfe..3cf37f6 100644
--- a/c/src/lib/libbsp/m68k/gen68302/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68302/include/bsp.h
@@ -15,8 +15,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_GEN68302_BSP_H
+#define LIBBSP_M68K_GEN68302_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/gen68340/include/bsp.h b/c/src/lib/libbsp/m68k/gen68340/include/bsp.h
index 4f789d2..44dafbd 100644
--- a/c/src/lib/libbsp/m68k/gen68340/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68340/include/bsp.h
@@ -23,8 +23,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_GEN68340_BSP_H
+#define LIBBSP_M68K_GEN68340_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
index a6c6254..67babe6 100644
--- a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
@@ -28,8 +28,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_GEN68360_BSP_H
+#define LIBBSP_M68K_GEN68360_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/idp/include/bsp.h b/c/src/lib/libbsp/m68k/idp/include/bsp.h
index e3c6a0d..c7ed372 100644
--- a/c/src/lib/libbsp/m68k/idp/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/idp/include/bsp.h
@@ -7,8 +7,8 @@
  *  IO definitions.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_IDP_BSP_H
+#define LIBBSP_M68K_IDP_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
index df45a53..a9cb868 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
@@ -11,8 +11,8 @@
  * http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MCF5206ELITE_BSP_H
+#define LIBBSP_M68K_MCF5206ELITE_BSP_H
 
 #include "mcf5206/mcf5206e.h"
 
diff --git a/c/src/lib/libbsp/m68k/mcf52235/include/bsp.h b/c/src/lib/libbsp/m68k/mcf52235/include/bsp.h
index f8073bc..8ef203f 100644
--- a/c/src/lib/libbsp/m68k/mcf52235/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf52235/include/bsp.h
@@ -2,8 +2,8 @@
  *  mcf52235 BSP header file
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MCF52235_BSP_H
+#define LIBBSP_M68K_MCF52235_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h
index 2d71dff..42fe654 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h
@@ -4,8 +4,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
  
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MCF5225X_BSP_H
+#define LIBBSP_M68K_MCF5225X_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mcf5235/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5235/include/bsp.h
index 38eb68b..a0c4d5c 100644
--- a/c/src/lib/libbsp/m68k/mcf5235/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5235/include/bsp.h
@@ -2,8 +2,8 @@
  *  mcf5235 BSP header file
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MCF5235_BSP_H
+#define LIBBSP_M68K_MCF5235_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mcf5329/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5329/include/bsp.h
index 706583b..59b9961 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5329/include/bsp.h
@@ -2,8 +2,8 @@
  *  mcf52235 BSP header file
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MCF5329_BSP_H
+#define LIBBSP_M68K_MCF5329_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mrm332/include/bsp.h b/c/src/lib/libbsp/m68k/mrm332/include/bsp.h
index 54f7ae3..a2f6e67 100644
--- a/c/src/lib/libbsp/m68k/mrm332/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mrm332/include/bsp.h
@@ -12,8 +12,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MRM332_BSP_H
+#define LIBBSP_M68K_MRM332_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mvme136/include/bsp.h b/c/src/lib/libbsp/m68k/mvme136/include/bsp.h
index d99b878..3ea2101 100644
--- a/c/src/lib/libbsp/m68k/mvme136/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme136/include/bsp.h
@@ -11,8 +11,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MVME136_BSP_H
+#define LIBBSP_M68K_MVME136_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mvme147/include/bsp.h b/c/src/lib/libbsp/m68k/mvme147/include/bsp.h
index 33c86d5..8fde255 100644
--- a/c/src/lib/libbsp/m68k/mvme147/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme147/include/bsp.h
@@ -14,8 +14,8 @@
  *  May 1996
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MVME147_BSP_H
+#define LIBBSP_M68K_MVME147_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mvme147s/include/bsp.h b/c/src/lib/libbsp/m68k/mvme147s/include/bsp.h
index 71bd56b..7f95697 100644
--- a/c/src/lib/libbsp/m68k/mvme147s/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme147s/include/bsp.h
@@ -14,8 +14,8 @@
  *  May 1996
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MVME147S_BSP_H
+#define LIBBSP_M68K_MVME147S_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mvme162/include/bsp.h b/c/src/lib/libbsp/m68k/mvme162/include/bsp.h
index c0d370f..e16f48e 100644
--- a/c/src/lib/libbsp/m68k/mvme162/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme162/include/bsp.h
@@ -18,8 +18,8 @@
  *  RTEMS above.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MVME162_BSP_H
+#define LIBBSP_M68K_MVME162_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/mvme167/include/bsp.h b/c/src/lib/libbsp/m68k/mvme167/include/bsp.h
index b15462c..c9e449d 100644
--- a/c/src/lib/libbsp/m68k/mvme167/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme167/include/bsp.h
@@ -19,8 +19,8 @@
  *  Copyright (c) 1998, National Research Council of Canada
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_MVME167_BSP_H
+#define LIBBSP_M68K_MVME167_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
index fa4daab..357963c 100644
--- a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
@@ -12,8 +12,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_ODS68302_BSP_H
+#define LIBBSP_M68K_ODS68302_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/m68k/uC5282/include/bsp.h b/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
index 3e646be..0503811 100644
--- a/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
@@ -11,8 +11,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_M68K_UC5282_BSP_H
+#define LIBBSP_M68K_UC5282_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/mips/csb350/include/bsp.h b/c/src/lib/libbsp/mips/csb350/include/bsp.h
index aeffce3..b29df7c 100644
--- a/c/src/lib/libbsp/mips/csb350/include/bsp.h
+++ b/c/src/lib/libbsp/mips/csb350/include/bsp.h
@@ -14,8 +14,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_MIPS_CSB350_BSP_H
+#define LIBBSP_MIPS_CSB350_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h b/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h
index a55162b..ba0738c 100644
--- a/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h
+++ b/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h
@@ -14,8 +14,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_MIPS_GENMONGOOSEV_BSP_H
+#define LIBBSP_MIPS_GENMONGOOSEV_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/mips/hurricane/include/bsp.h b/c/src/lib/libbsp/mips/hurricane/include/bsp.h
index 5b4dab1..4246905 100644
--- a/c/src/lib/libbsp/mips/hurricane/include/bsp.h
+++ b/c/src/lib/libbsp/mips/hurricane/include/bsp.h
@@ -11,8 +11,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_MIPS_HURRICANE_BSP_H
+#define LIBBSP_MIPS_HURRICANE_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/mips/jmr3904/include/bsp.h b/c/src/lib/libbsp/mips/jmr3904/include/bsp.h
index 3af8cca..e1771b6 100644
--- a/c/src/lib/libbsp/mips/jmr3904/include/bsp.h
+++ b/c/src/lib/libbsp/mips/jmr3904/include/bsp.h
@@ -14,8 +14,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_MIPS_JMR3904_BSP_H
+#define LIBBSP_MIPS_JMR3904_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/mips/malta/include/bsp.h b/c/src/lib/libbsp/mips/malta/include/bsp.h
index e99804c..28063b8 100644
--- a/c/src/lib/libbsp/mips/malta/include/bsp.h
+++ b/c/src/lib/libbsp/mips/malta/include/bsp.h
@@ -14,8 +14,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_MIPS_MALTA_BSP_H
+#define LIBBSP_MIPS_MALTA_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h b/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h
index 58bdb58..8fd766d 100644
--- a/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h
+++ b/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h
@@ -13,8 +13,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_MIPS_RBTX4925_BSP_H
+#define LIBBSP_MIPS_RBTX4925_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h b/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h
index 090df01..a0c5e11 100644
--- a/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h
+++ b/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h
@@ -13,8 +13,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_MIPS_RBTX4938_BSP_H
+#define LIBBSP_MIPS_RBTX4938_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/moxie/moxiesim/include/bsp.h b/c/src/lib/libbsp/moxie/moxiesim/include/bsp.h
index 0bca5f0..7ccc072 100644
--- a/c/src/lib/libbsp/moxie/moxiesim/include/bsp.h
+++ b/c/src/lib/libbsp/moxie/moxiesim/include/bsp.h
@@ -12,8 +12,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_MOXIE_MOXIESIM_BSP_H
+#define LIBBSP_MOXIE_MOXIESIM_BSP_H
 
 #include <bspopts.h>
 
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/include/bsp.h b/c/src/lib/libbsp/nios2/nios2_iss/include/bsp.h
index c87009d..cfc591a 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/include/bsp.h
+++ b/c/src/lib/libbsp/nios2/nios2_iss/include/bsp.h
@@ -12,8 +12,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_NIOS2_NIOS2_ISS_BSP_H
+#define LIBBSP_NIOS2_NIOS2_ISS_BSP_H
 
 #include <stdint.h>
 #include <bspopts.h>
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h b/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
index 33620f8..53cc5d5 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
@@ -14,8 +14,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_NO_CPU_NO_BSP_BSP_H
+#define LIBBSP_NO_CPU_NO_BSP_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/powerpc/ep1a/include/bsp.h b/c/src/lib/libbsp/powerpc/ep1a/include/bsp.h
index cdd3cff..d989785 100644
--- a/c/src/lib/libbsp/powerpc/ep1a/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/ep1a/include/bsp.h
@@ -7,8 +7,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_EP1A_BSP_H
+#define LIBBSP_POWERPC_EP1A_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h b/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h
index e5fc4ce..8bd92da 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h
@@ -42,8 +42,8 @@
  *
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_HALEAKALA_BSP_H
+#define LIBBSP_POWERPC_HALEAKALA_BSP_H
 
 #include <bspopts.h>
 
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h b/c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h
index e726624..eeafa10 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h
@@ -12,8 +12,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_MBX8XX_BSP_H
+#define LIBBSP_POWERPC_MBX8XX_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h b/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h
index 975b5a3..0439e87 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h
@@ -4,8 +4,8 @@
  *  found in the file LICENSE in this distribution or at
  *  http://www.rtems.org/license/LICENSE.
  */
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_MOTOROLA_POWERPC_BSP_H
+#define LIBBSP_POWERPC_MOTOROLA_POWERPC_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h b/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h
index 422817b..6771345 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h
@@ -11,8 +11,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_MPC8260ADS_BSP_H
+#define LIBBSP_POWERPC_MPC8260ADS_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h
index eb92150..a6a6976 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h
@@ -15,8 +15,8 @@
  *
  *  Adapted for the mvme3100 BSP by T. Straumann, 2007.
  */
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_MVME3100_BSP_H
+#define LIBBSP_POWERPC_MVME3100_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h b/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h
index ad22495..3a65ce2 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h
@@ -8,8 +8,8 @@
  *  (C) S. Kate Feng 2003-2007 : Modified it to support the mvme5500 BSP.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_MVME5500_BSP_H
+#define LIBBSP_POWERPC_MVME5500_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/powerpc/psim/include/bsp.h b/c/src/lib/libbsp/powerpc/psim/include/bsp.h
index 2164800..0fac3b0 100644
--- a/c/src/lib/libbsp/powerpc/psim/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/psim/include/bsp.h
@@ -27,8 +27,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_PSIM_BSP_H
+#define LIBBSP_POWERPC_PSIM_BSP_H
 
 #include <bspopts.h>
 
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/include/bsp.h b/c/src/lib/libbsp/powerpc/qemuppc/include/bsp.h
index 4a2bda9..14b600b 100644
--- a/c/src/lib/libbsp/powerpc/qemuppc/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/qemuppc/include/bsp.h
@@ -12,8 +12,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_QEMUPPC_BSP_H
+#define LIBBSP_POWERPC_QEMUPPC_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/powerpc/score603e/include/bsp.h b/c/src/lib/libbsp/powerpc/score603e/include/bsp.h
index a98b5fb..0b6eb28 100644
--- a/c/src/lib/libbsp/powerpc/score603e/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/score603e/include/bsp.h
@@ -11,8 +11,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_SCORE603E_BSP_H
+#define LIBBSP_POWERPC_SCORE603E_BSP_H
 
 #define BSP_ZERO_WORKSPACE_AUTOMATICALLY TRUE
 
diff --git a/c/src/lib/libbsp/powerpc/ss555/include/bsp.h b/c/src/lib/libbsp/powerpc/ss555/include/bsp.h
index ce708b0..7a814a8 100644
--- a/c/src/lib/libbsp/powerpc/ss555/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/ss555/include/bsp.h
@@ -16,8 +16,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_SS555_BSP_H
+#define LIBBSP_POWERPC_SS555_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/include/bsp.h b/c/src/lib/libbsp/powerpc/tqm8xx/include/bsp.h
index fa404e4..51dc789 100644
--- a/c/src/lib/libbsp/powerpc/tqm8xx/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/tqm8xx/include/bsp.h
@@ -21,8 +21,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_TQM8XX_BSP_H
+#define LIBBSP_POWERPC_TQM8XX_BSP_H
 
 /*
  * indicate, that BSP is booted via TQMMon
diff --git a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h
index b4a47dc..ac91950 100644
--- a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h
@@ -38,8 +38,8 @@
  *
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_VIRTEX_BSP_H
+#define LIBBSP_POWERPC_VIRTEX_BSP_H
 
 #include <bspopts.h>
 
diff --git a/c/src/lib/libbsp/powerpc/virtex4/include/bsp.h b/c/src/lib/libbsp/powerpc/virtex4/include/bsp.h
index 3090bda..67215a0 100644
--- a/c/src/lib/libbsp/powerpc/virtex4/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/virtex4/include/bsp.h
@@ -39,8 +39,8 @@
  *
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_VIRTEX4_BSP_H
+#define LIBBSP_POWERPC_VIRTEX4_BSP_H
 
 #include <bspopts.h>
 
diff --git a/c/src/lib/libbsp/powerpc/virtex5/include/bsp.h b/c/src/lib/libbsp/powerpc/virtex5/include/bsp.h
index f690095..fc03cf1 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/virtex5/include/bsp.h
@@ -40,8 +40,8 @@
  *
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_POWERPC_VIRTEX5_BSP_H
+#define LIBBSP_POWERPC_VIRTEX5_BSP_H
 
 #include <bspopts.h>
 
diff --git a/c/src/lib/libbsp/sh/gensh1/include/bsp.h b/c/src/lib/libbsp/sh/gensh1/include/bsp.h
index 0b023eb..297e229 100644
--- a/c/src/lib/libbsp/sh/gensh1/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh1/include/bsp.h
@@ -22,8 +22,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_SH_GENSH1_BSP_H
+#define LIBBSP_SH_GENSH1_BSP_H
 
 #include <rtems.h>
 #include <rtems/clockdrv.h>
diff --git a/c/src/lib/libbsp/sh/gensh2/include/bsp.h b/c/src/lib/libbsp/sh/gensh2/include/bsp.h
index 6ab3510..1636124 100644
--- a/c/src/lib/libbsp/sh/gensh2/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh2/include/bsp.h
@@ -33,8 +33,8 @@
  *  by the authors or by TGA Technologies.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_SH_GENSH2_BSP_H
+#define LIBBSP_SH_GENSH2_BSP_H
 
 #include <rtems.h>
 #include <rtems/clockdrv.h>
diff --git a/c/src/lib/libbsp/sh/gensh4/include/bsp.h b/c/src/lib/libbsp/sh/gensh4/include/bsp.h
index 85f8f1a..5ef6d00 100644
--- a/c/src/lib/libbsp/sh/gensh4/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh4/include/bsp.h
@@ -37,8 +37,8 @@
  *  by the authors or by TGA Technologies.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_SH_GENSH4_BSP_H
+#define LIBBSP_SH_GENSH4_BSP_H
 
 #include <rtems.h>
 #include <rtems/clockdrv.h>
diff --git a/c/src/lib/libbsp/sh/shsim/include/bsp.h b/c/src/lib/libbsp/sh/shsim/include/bsp.h
index 6e606b4..65b55fa 100644
--- a/c/src/lib/libbsp/sh/shsim/include/bsp.h
+++ b/c/src/lib/libbsp/sh/shsim/include/bsp.h
@@ -21,8 +21,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_SH_SHSIM_BSP_H
+#define LIBBSP_SH_SHSIM_BSP_H
 
 #ifndef ASM
 
diff --git a/c/src/lib/libbsp/sparc/erc32/include/bsp.h b/c/src/lib/libbsp/sparc/erc32/include/bsp.h
index 1da2e76..942a873 100644
--- a/c/src/lib/libbsp/sparc/erc32/include/bsp.h
+++ b/c/src/lib/libbsp/sparc/erc32/include/bsp.h
@@ -22,8 +22,8 @@
  *  European Space Agency.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_SPARC_ERC32_BSP_H
+#define LIBBSP_SPARC_ERC32_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/sparc/leon2/include/bsp.h b/c/src/lib/libbsp/sparc/leon2/include/bsp.h
index 29e3169..09cf7f7 100644
--- a/c/src/lib/libbsp/sparc/leon2/include/bsp.h
+++ b/c/src/lib/libbsp/sparc/leon2/include/bsp.h
@@ -25,8 +25,8 @@
  *  European Space Agency.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_SPARC_LEON2_BSP_H
+#define LIBBSP_SPARC_LEON2_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/sparc/leon3/include/bsp.h b/c/src/lib/libbsp/sparc/leon3/include/bsp.h
index 13eafb5..5642e14 100644
--- a/c/src/lib/libbsp/sparc/leon3/include/bsp.h
+++ b/c/src/lib/libbsp/sparc/leon3/include/bsp.h
@@ -25,8 +25,8 @@
  *  European Space Agency.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_SPARC_LEON3_BSP_H
+#define LIBBSP_SPARC_LEON3_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/sparc64/niagara/include/bsp.h b/c/src/lib/libbsp/sparc64/niagara/include/bsp.h
index f28e769..0eb3130 100644
--- a/c/src/lib/libbsp/sparc64/niagara/include/bsp.h
+++ b/c/src/lib/libbsp/sparc64/niagara/include/bsp.h
@@ -9,8 +9,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_SPARC64_NIAGARA_BSP_H
+#define LIBBSP_SPARC64_NIAGARA_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/sparc64/usiii/include/bsp.h b/c/src/lib/libbsp/sparc64/usiii/include/bsp.h
index 733d2c8..3db442a 100644
--- a/c/src/lib/libbsp/sparc64/usiii/include/bsp.h
+++ b/c/src/lib/libbsp/sparc64/usiii/include/bsp.h
@@ -10,8 +10,8 @@
  *
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_SPARC64_USIII_BSP_H
+#define LIBBSP_SPARC64_USIII_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
diff --git a/c/src/lib/libbsp/v850/gdbv850sim/include/bsp.h b/c/src/lib/libbsp/v850/gdbv850sim/include/bsp.h
index c0e5acf..6942eef 100644
--- a/c/src/lib/libbsp/v850/gdbv850sim/include/bsp.h
+++ b/c/src/lib/libbsp/v850/gdbv850sim/include/bsp.h
@@ -12,8 +12,8 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#ifndef _BSP_H
-#define _BSP_H
+#ifndef LIBBSP_V850_GDBV850SIM_BSP_H
+#define LIBBSP_V850_GDBV850SIM_BSP_H
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
-- 
1.8.3.1



More information about the devel mailing list