From 2398c899d37acd18ba13304460d3248b3ada3e09 Mon Sep 17 00:00:00 2001 From: Riku Nomoto Date: Sat, 19 Dec 2020 20:35:59 +0900 Subject: 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 Change-Id: I9f3c7155a0f9656a916a2d6ba71371a4376b502b --- hal/security_hal/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hal/security_hal') diff --git a/hal/security_hal/Makefile b/hal/security_hal/Makefile index 23f33aa..7ff287f 100755 --- a/hal/security_hal/Makefile +++ b/hal/security_hal/Makefile @@ -22,8 +22,8 @@ HEADER := hal_api/security_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 := -- cgit 1.2.3-korg