Fix include path.
This commit is contained in:
parent
07775772a7
commit
3431597f5a
5
Makefile
5
Makefile
@ -19,11 +19,10 @@ UNIT_TEST_SRC_DIR = test/unit
|
|||||||
UNIT_TEST_OBJ_DIR = $(OBJ_DIR)/$(UNIT_TEST_SRC_DIR)
|
UNIT_TEST_OBJ_DIR = $(OBJ_DIR)/$(UNIT_TEST_SRC_DIR)
|
||||||
|
|
||||||
PREFIX ?= /usr
|
PREFIX ?= /usr
|
||||||
LIB_INSTALL_DIR ?= $(PREFIX)/lib/gpio_ftdi
|
LIB_INSTALL_DIR ?= $(PREFIX)/lib/$(TARGET_FILE)
|
||||||
INC_INSTALL_DIR ?= $(PREFIX)/include/gpio_ftdi
|
INC_INSTALL_DIR ?= $(PREFIX)/include/lib$(TARGET_FILE)
|
||||||
|
|
||||||
INCLUDES := inc
|
INCLUDES := inc
|
||||||
INCLUDES += /usr/include/libftdi1
|
|
||||||
|
|
||||||
ifneq "$(findstring $(MAKECMDGOALS), build_unit_test exec_unit_test coverage)" ""
|
ifneq "$(findstring $(MAKECMDGOALS), build_unit_test exec_unit_test coverage)" ""
|
||||||
INCLUDES += test/inc
|
INCLUDES += test/inc
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef __FTDI_DEV_H__
|
#ifndef __FTDI_DEV_H__
|
||||||
#define __FTDI_DEV_H__
|
#define __FTDI_DEV_H__
|
||||||
|
|
||||||
#include <ftdi.h>
|
#include <libftdi1/ftdi.h>
|
||||||
|
|
||||||
struct ftdi_dev {
|
struct ftdi_dev {
|
||||||
struct ftdi_context *ftdi;
|
struct ftdi_context *ftdi;
|
||||||
|
Loading…
Reference in New Issue
Block a user