]> git.sur5r.net Git - openocd/commitdiff
change #include "embeddedice.h" to <target/embeddedice.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:45 +0000 (04:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:24:41 +0000 (04:24 -0800)
Changes from the flat namespace to heirarchical one.  Instead of writing:

#include "embeddedice.h"

the following form should be used.

#include <target/embeddedice.h>

The exception is from .c files in the same directory.

src/flash/nor/ecos.c
src/flash/nor/ocl.c
src/jtag/minidummy/minidummy.c
src/jtag/zy1000/zy1000.c
src/target/arm7tdmi.h
src/target/arm9tdmi.h

index f689e152353de48875753b5c4afb55eed42470e5..ca8f3f519b74941c5ee857269528b006db24161c 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #include "flash.h"
-#include "embeddedice.h"
+#include <target/embeddedice.h>
 #include "image.h"
 #include <target/algorithm.h>
 
index 388395f0533b3c66e3238675800fcbabce4bc28b..57d9efaaaa6f78f8e3bab54cd08ed410c751b8d5 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "ocl.h"
 #include "flash.h"
-#include "embeddedice.h"
+#include <target/embeddedice.h>
 
 
 struct ocl_priv
index 8ada5793c084668a89a3b00f2c2a81a62430aac4..e60e832e9c2423f7c85e65432e1066615267b9b3 100644 (file)
@@ -20,7 +20,7 @@
 #include "config.h"
 #endif
 
-#include "embeddedice.h"
+#include <target/embeddedice.h>
 #include <jtag/minidriver.h>
 #include <jtag/interface.h>
 
index ca70b2b2492f4cab4d379045d06b6117ff531ff2..5b6e4ea0f7e8653f304ae494a22a83094f7cbe93 100644 (file)
@@ -20,7 +20,7 @@
 #include "config.h"
 #endif
 
-#include "embeddedice.h"
+#include <target/embeddedice.h>
 #include <jtag/minidriver.h>
 #include <jtag/interface.h>
 #include "zy1000_version.h"
index b6bbe59a5f8c5d06112c17c8ca55feb12e920d90..ce771e2663a83fd8d4e22be42b83bb2e1d84c593 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef ARM7TDMI_H
 #define ARM7TDMI_H
 
-#include "embeddedice.h"
+#include <target/embeddedice.h>
 
 int arm7tdmi_init_arch_info(struct target *target,
                struct arm7_9_common *arm7_9, struct jtag_tap *tap);
index aff9fc5f41aa0af9e91c89d95680f995674051fc..ea436900806839bf4a6e13282b4e43ca9637f81d 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef ARM9TDMI_H
 #define ARM9TDMI_H
 
-#include "embeddedice.h"
+#include <target/embeddedice.h>
 
 int arm9tdmi_init_target(struct command_context *cmd_ctx,
                struct target *target);