diff options
author | 2020-12-19 20:35:59 +0900 | |
---|---|---|
committer | 2020-12-20 16:58:59 +0000 | |
commit | 2398c899d37acd18ba13304460d3248b3ada3e09 (patch) | |
tree | 214f06fb2acd00656d91a6cba48f8f3ee4768e8d /hal/soc_temperature_hal | |
parent | 9ad7db2494675c110a7b3a4607ccde3a7e4f6c3c (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/soc_temperature_hal')
-rwxr-xr-x | hal/soc_temperature_hal/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hal/soc_temperature_hal/Makefile b/hal/soc_temperature_hal/Makefile index 01da538..602297e 100755 --- a/hal/soc_temperature_hal/Makefile +++ b/hal/soc_temperature_hal/Makefile @@ -22,8 +22,8 @@ HEADER := hal_api/soc_temperature_hal.h ######### include paths/files ################### CXXFLAGS += -I./inc/ 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 ####################### CXXFLAGS += -Wall -fPIC @@ -32,7 +32,7 @@ CXXFLAGS += -Wall -fPIC LDFLAGS += -shared LDFLAGS += -Wl,--no-as-needed LDFLAGS += -Wl,--no-undefined -LDFLAGS += -L$(SDKTARGETSYSROOT)/usr/lib/basesystem +LDFLAGS += -L=/usr/lib/basesystem RPATH := |