Changes from the flat namespace to heirarchical one. Instead of writing: #include "target.h" the following form should be used. #include <target/target.h> The exception is from .c files in the same directory.tags/v0.4.0-rc1
@@ -26,7 +26,7 @@ | |||||
#ifndef FLASH_H | #ifndef FLASH_H | ||||
#define FLASH_H | #define FLASH_H | ||||
#include "target.h" | |||||
#include <target/target.h> | |||||
#include <helper/log.h> | #include <helper/log.h> | ||||
struct image; | struct image; | ||||
@@ -22,7 +22,7 @@ | |||||
#endif | #endif | ||||
#include "mflash.h" | #include "mflash.h" | ||||
#include "target.h" | |||||
#include <target/target.h> | |||||
#include <helper/time_support.h> | #include <helper/time_support.h> | ||||
#include <helper/fileio.h> | #include <helper/fileio.h> | ||||
#include <helper/log.h> | #include <helper/log.h> | ||||
@@ -36,7 +36,7 @@ | |||||
#endif | #endif | ||||
// @todo the inclusion of target.h here is a layering violation | // @todo the inclusion of target.h here is a layering violation | ||||
#include "target.h" | |||||
#include <target/target.h> | |||||
#include "command.h" | #include "command.h" | ||||
#include "configuration.h" | #include "configuration.h" | ||||
#include "log.h" | #include "log.h" | ||||
@@ -26,7 +26,7 @@ | |||||
#endif | #endif | ||||
#include "telnet_server.h" | #include "telnet_server.h" | ||||
#include "target.h" | |||||
#include <target/target.h> | |||||
#include <microhttpd.h> | #include <microhttpd.h> | ||||
#include <pthread.h> | #include <pthread.h> | ||||
@@ -28,7 +28,7 @@ | |||||
#endif | #endif | ||||
#include "server.h" | #include "server.h" | ||||
#include "target.h" | |||||
#include <target/target.h> | |||||
#include "openocd.h" | #include "openocd.h" | ||||
#include "tcl_server.h" | #include "tcl_server.h" | ||||
#include "telnet_server.h" | #include "telnet_server.h" | ||||
@@ -26,7 +26,7 @@ | |||||
#ifndef ARMV4_5_H | #ifndef ARMV4_5_H | ||||
#define ARMV4_5_H | #define ARMV4_5_H | ||||
#include "target.h" | |||||
#include <target/target.h> | |||||
#include <helper/command.h> | #include <helper/command.h> | ||||
@@ -23,7 +23,7 @@ | |||||
#ifndef MIPS32_H | #ifndef MIPS32_H | ||||
#define MIPS32_H | #define MIPS32_H | ||||
#include "target.h" | |||||
#include <target/target.h> | |||||
#include <target/mips32_pracc.h> | #include <target/mips32_pracc.h> | ||||