aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorYasushi SHOJI <yashi@spacecubics.com>2021-08-29 18:18:01 +0900
committerAntonio Borneo <borneo.antonio@gmail.com>2021-10-02 13:18:15 +0000
commit05752557dd0dcab76250ab12377d59435b74204d (patch)
tree52944824e93ab48977e7bb8f14e32337b63ac897 /Makefile.am
parente4872054108a3a18dc651b45dea679696e14ee7f (diff)
downloadriscv-openocd-05752557dd0dcab76250ab12377d59435b74204d.zip
riscv-openocd-05752557dd0dcab76250ab12377d59435b74204d.tar.gz
riscv-openocd-05752557dd0dcab76250ab12377d59435b74204d.tar.bz2
helper: Remove src/helper from include dirs
The header files under src/helper/ can currently be included with either #include <bits.h> or #include <helper/bits.h> This is because we specify both "src/" and "src/helper/" directories as include directories. Some files name under "src/helper/", such as types.h, log.h, and util.h are too generic and could be ambiguous depending on the search path. This commit remove "src/helper/" from our include dir and make C files include explicitly. Change-Id: I38fc9b96ba01a513d4a72757d40007e21b502f25 Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6507 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3858093..7e5e229 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,7 +36,6 @@ AM_CFLAGS = $(GCC_WARNINGS)
AM_CPPFLAGS = $(HOST_CPPFLAGS)\
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
- -I$(top_srcdir)/src/helper \
-DPKGDATADIR=\"$(pkgdatadir)\" \
-DBINDIR=\"$(bindir)\"