Changes from the flat namespace to heirarchical one. Instead of writing: #include "jtag.h" the following form should be used. #include <jtag/jtag.h> The exception is from .c files in the same directory.tags/v0.4.0-rc1
@@ -22,7 +22,7 @@ | |||||
#endif | #endif | ||||
#include <helper/types.h> | #include <helper/types.h> | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
#include <helper/ioutil.h> | #include <helper/ioutil.h> | ||||
#include <helper/configuration.h> | #include <helper/configuration.h> | ||||
#include "xsvf.h" | #include "xsvf.h" | ||||
@@ -24,7 +24,7 @@ | |||||
#define STR9XPEC_H | #define STR9XPEC_H | ||||
#include "flash.h" | #include "flash.h" | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
struct str9xpec_flash_controller | struct str9xpec_flash_controller | ||||
{ | { | ||||
@@ -26,7 +26,7 @@ | |||||
#ifndef JTAG_COMMANDS_H | #ifndef JTAG_COMMANDS_H | ||||
#define JTAG_COMMANDS_H | #define JTAG_COMMANDS_H | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
/** | /** | ||||
* The inferred type of a scan_command_s structure, indicating whether | * The inferred type of a scan_command_s structure, indicating whether | ||||
@@ -26,7 +26,7 @@ | |||||
#ifndef OPENOCD_JTAG_INTERFACE_H | #ifndef OPENOCD_JTAG_INTERFACE_H | ||||
#define OPENOCD_JTAG_INTERFACE_H | #define OPENOCD_JTAG_INTERFACE_H | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
/* @file | /* @file | ||||
* The "Cable Helper API" is what the cable drivers can use to help | * The "Cable Helper API" is what the cable drivers can use to help | ||||
@@ -29,7 +29,7 @@ | |||||
#endif | #endif | ||||
#include "openocd.h" | #include "openocd.h" | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
#include <helper/ioutil.h> | #include <helper/ioutil.h> | ||||
#include <helper/configuration.h> | #include <helper/configuration.h> | ||||
#include "xsvf.h" | #include "xsvf.h" | ||||
@@ -20,7 +20,7 @@ | |||||
#ifndef VIRTEX2_H | #ifndef VIRTEX2_H | ||||
#define VIRTEX2_H | #define VIRTEX2_H | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
struct virtex2_pld_device | struct virtex2_pld_device | ||||
{ | { | ||||
@@ -34,7 +34,7 @@ | |||||
#include "flash.h" | #include "flash.h" | ||||
#include "gdb_server.h" | #include "gdb_server.h" | ||||
#include "image.h" | #include "image.h" | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
#if 0 | #if 0 | ||||
@@ -31,7 +31,7 @@ | |||||
#include "config.h" | #include "config.h" | ||||
#endif | #endif | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
#include "svf.h" | #include "svf.h" | ||||
#include <helper/time_support.h> | #include <helper/time_support.h> | ||||
@@ -20,7 +20,7 @@ | |||||
#ifndef SVF_H | #ifndef SVF_H | ||||
#define SVF_H | #define SVF_H | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
int svf_register_commands(struct command_context *cmd_ctx); | int svf_register_commands(struct command_context *cmd_ctx); | ||||
@@ -23,7 +23,7 @@ | |||||
#include "armv4_5.h" /* REVISIT to become arm.h */ | #include "armv4_5.h" /* REVISIT to become arm.h */ | ||||
#include "arm_dpm.h" | #include "arm_dpm.h" | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
#include "register.h" | #include "register.h" | ||||
#include "breakpoints.h" | #include "breakpoints.h" | ||||
#include "target_type.h" | #include "target_type.h" | ||||
@@ -23,7 +23,7 @@ | |||||
#ifndef ARM_JTAG | #ifndef ARM_JTAG | ||||
#define ARM_JTAG | #define ARM_JTAG | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
struct arm_jtag | struct arm_jtag | ||||
{ | { | ||||
@@ -20,7 +20,7 @@ | |||||
#ifndef AVRT_H | #ifndef AVRT_H | ||||
#define AVRT_H | #define AVRT_H | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
struct mcu_jtag | struct mcu_jtag | ||||
{ | { | ||||
@@ -23,7 +23,7 @@ | |||||
#ifndef MIPS_EJTAG | #ifndef MIPS_EJTAG | ||||
#define MIPS_EJTAG | #define MIPS_EJTAG | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
/* tap instructions */ | /* tap instructions */ | ||||
#define EJTAG_INST_IDCODE 0x01 | #define EJTAG_INST_IDCODE 0x01 | ||||
@@ -41,7 +41,7 @@ | |||||
#include "register.h" | #include "register.h" | ||||
#include "trace.h" | #include "trace.h" | ||||
#include "image.h" | #include "image.h" | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
static int target_array2mem(Jim_Interp *interp, struct target *target, int argc, Jim_Obj *const *argv); | static int target_array2mem(Jim_Interp *interp, struct target *target, int argc, Jim_Obj *const *argv); | ||||
@@ -41,7 +41,7 @@ | |||||
#endif | #endif | ||||
#include "xsvf.h" | #include "xsvf.h" | ||||
#include "jtag.h" | |||||
#include <jtag/jtag.h> | |||||
#include "svf.h" | #include "svf.h" | ||||