diff options
author | Riku Nomoto <riku_nomoto@mail.toyota.co.jp> | 2020-12-19 20:35:59 +0900 |
---|---|---|
committer | Riku Nomoto <riku_nomoto@mail.toyota.co.jp> | 2020-12-20 16:58:59 +0000 |
commit | 2398c899d37acd18ba13304460d3248b3ada3e09 (patch) | |
tree | 214f06fb2acd00656d91a6cba48f8f3ee4768e8d /hal/boot_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/boot_hal')
-rwxr-xr-x | hal/boot_hal/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hal/boot_hal/Makefile b/hal/boot_hal/Makefile index 03ae805..ddbb183 100755 --- a/hal/boot_hal/Makefile +++ b/hal/boot_hal/Makefile @@ -22,14 +22,14 @@ HEADER := hal_api/boot_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 ######### link options ########################## -LDFLAGS += -L$(SDKTARGETSYSROOT)/usr/lib/basesystem +LDFLAGS += -L=/usr/lib/basesystem LDFLAGS += -shared LDFLAGS += -Wl,--no-as-needed LDFLAGS += -Wl,--no-undefined |