From 9e6613f8702df881526023403d33e342e6b428b6 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Tue, 15 Dec 2020 06:36:56 +0000 Subject: Fix build of ss-resourcemanager The ss-resourcemanager (and agl-service-ss-resourcemanager) requires to include the kernel header and it was planned that STAGING_KERNEL_BUILDDIR to be passed through KERNEL_HEADER_DIR vairable. However, from the latest recipe, it seems that another solution has been adopted that does not use KERNEL_HEADER_DIR and it is not defined. As a result, this undefined variable destroys the include paths, which causes the compilation error. Signed-off-by: Tadao Tanikawa Change-Id: Ifecc12bf5aa5ca5eaf9b51f99e1583d76ddb1908 --- service/system/resource_manager/client/Makefile | 1 - service/system/resource_manager/server/Makefile | 1 - 2 files changed, 2 deletions(-) (limited to 'service') diff --git a/service/system/resource_manager/client/Makefile b/service/system/resource_manager/client/Makefile index d0e1808..a2bde46 100755 --- a/service/system/resource_manager/client/Makefile +++ b/service/system/resource_manager/client/Makefile @@ -44,7 +44,6 @@ libresm_SRCS += resmgr_api_lib.c CPPFLAGS += -I./ CPPFLAGS += -I./include CPPFLAGS += -I../server/include -CPPFLAGS += -I$(KERNEL_HEADER_DIR) ######## add compile option ######## diff --git a/service/system/resource_manager/server/Makefile b/service/system/resource_manager/server/Makefile index 97ca9d9..cae9191 100755 --- a/service/system/resource_manager/server/Makefile +++ b/service/system/resource_manager/server/Makefile @@ -32,7 +32,6 @@ VPATH += ../client ######### add include path ############# CPPFLAGS += -I./include CPPFLAGS += -I../client -CPPFLAGS += -I$(KERNEL_HEADER_DIR) ######## add compile option ######## CPPFLAGS += -DFRAMEWORKUNIFIEDLOGOPTIONS=0x08 -- cgit 1.2.3-korg