change #include "../hello.h" to "hello.h"
Before we can -I the top-level src/ directory alone, references to "hello.h" must be updated. This is an internal header, so it does not need angle brackets.__archive__
parent
12499f97fd
commit
f7bd1e8f3a
|
@ -21,6 +21,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
#include <flash/nand.h>
|
#include <flash/nand.h>
|
||||||
|
#include "hello.h"
|
||||||
|
|
||||||
|
|
||||||
static int nonce_nand_command(struct nand_device *nand, uint8_t command)
|
static int nonce_nand_command(struct nand_device *nand, uint8_t command)
|
||||||
|
@ -68,6 +69,7 @@ static int nonce_nand_init(struct nand_device *nand)
|
||||||
struct nand_flash_controller nonce_nand_controller =
|
struct nand_flash_controller nonce_nand_controller =
|
||||||
{
|
{
|
||||||
.name = "nonce",
|
.name = "nonce",
|
||||||
|
.commands = hello_command_handlers,
|
||||||
.nand_device_command = &nonce_nand_device_command,
|
.nand_device_command = &nonce_nand_device_command,
|
||||||
.init = &nonce_nand_init,
|
.init = &nonce_nand_init,
|
||||||
.reset = &nonce_nand_reset,
|
.reset = &nonce_nand_reset,
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#include <flash/flash.h>
|
#include <flash/flash.h>
|
||||||
#include <target/image.h>
|
#include <target/image.h>
|
||||||
#include "../hello.h"
|
#include "hello.h"
|
||||||
|
|
||||||
|
|
||||||
struct faux_flash_bank
|
struct faux_flash_bank
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#include <jtag/interface.h>
|
#include <jtag/interface.h>
|
||||||
#include "bitbang.h"
|
#include "bitbang.h"
|
||||||
#include "../hello.h"
|
#include "hello.h"
|
||||||
|
|
||||||
|
|
||||||
/* my private tap controller state, which tracks state for calling code */
|
/* my private tap controller state, which tracks state for calling code */
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
#include "target_type.h"
|
#include "target_type.h"
|
||||||
#include <helper/log.h>
|
#include <helper/log.h>
|
||||||
#include "../hello.h"
|
#include "hello.h"
|
||||||
|
|
||||||
static const struct command_registration testee_command_handlers[] = {
|
static const struct command_registration testee_command_handlers[] = {
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue