summaryrefslogtreecommitdiffstats
path: root/hal/positioning_hal/Makefile
diff options
context:
space:
mode:
authorRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-12-19 20:35:59 +0900
committerRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-12-20 16:58:59 +0000
commit2398c899d37acd18ba13304460d3248b3ada3e09 (patch)
tree214f06fb2acd00656d91a6cba48f8f3ee4768e8d /hal/positioning_hal/Makefile
parent9ad7db2494675c110a7b3a4607ccde3a7e4f6c3c (diff)
Changed to not use SDKTARGETSYSROOT.
Yocto sets the recipe-sysroot directory as the sysroot. Therefore, there is no need to define the path of the recipe-sysroot using SDKTARGETSYSROOT in the recipe. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I9f3c7155a0f9656a916a2d6ba71371a4376b502b
Diffstat (limited to 'hal/positioning_hal/Makefile')
-rwxr-xr-xhal/positioning_hal/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/hal/positioning_hal/Makefile b/hal/positioning_hal/Makefile
index 1886055..9366766 100755
--- a/hal/positioning_hal/Makefile
+++ b/hal/positioning_hal/Makefile
@@ -25,8 +25,8 @@ CXXFLAGS += -I./inc/Common
CXXFLAGS += -I./inc/GpsCommon
CXXFLAGS += -I./inc/LineSensDrv
CXXFLAGS += -I./hal_api/
-CXXFLAGS += -I$(SDKTARGETSYSROOT)/usr/include/basesystem
-CXXFLAGS += -include $(SDKTARGETSYSROOT)/usr/include/basesystem/agl_types_deprecated.h
+CXXFLAGS += -I=/usr/include/basesystem
+CXXFLAGS += -include agl_types_deprecated.h
######### compile options #######################
@@ -37,7 +37,7 @@ CXXFLAGS += -DLINUX -D__CWORD71__VEHICLE_ -D__CWORD71_
LDFLAGS += -shared
LDFLAGS += -Wl,--no-as-needed
LDFLAGS += -Wl,--no-undefined
-LDFLAGS += -L$(SDKTARGETSYSROOT)/usr/lib/basesystem
+LDFLAGS += -L=/usr/lib/basesystem
RPATH := /usr/lib