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/power_hal/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hal/power_hal') diff --git a/hal/power_hal/Makefile b/hal/power_hal/Makefile index db0c281..e2aa118 100755 --- a/hal/power_hal/Makefile +++ b/hal/power_hal/Makefile @@ -21,8 +21,8 @@ HEADER := hal_api/power_hal.h ######### include paths/files ################### 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 @@ -31,7 +31,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 := /usr/lib/basesystem -- cgit 1.2.3-korg