From c5f9cc125907a638304fc6d872e4f6af5e4baf82 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 28 Oct 2013 11:17:48 -0300 Subject: [PATCH] atusb/fw/: let include path find board.h instead of using ../board.h --- atusb/fw/Makefile | 2 +- atusb/fw/usb/usb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atusb/fw/Makefile b/atusb/fw/Makefile index 76b5b7f..653cc56 100644 --- a/atusb/fw/Makefile +++ b/atusb/fw/Makefile @@ -37,7 +37,7 @@ BOOT_OBJS = boot.o board.o sernum.o spi.o flash.o dfu.o \ vpath %.c usb/ -CFLAGS += -Iinclude -Iusb +CFLAGS += -Iinclude -Iusb -I. # ----- Verbosity control ----------------------------------------------------- diff --git a/atusb/fw/usb/usb.c b/atusb/fw/usb/usb.c index 54dd2cd..f0fe51a 100644 --- a/atusb/fw/usb/usb.c +++ b/atusb/fw/usb/usb.c @@ -20,7 +20,7 @@ #include #include "usb.h" -#include "../board.h" +#include "board.h" #ifndef NULL