Fix build of ss-resourcemanager 06/25806/3
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Tue, 15 Dec 2020 06:36:56 +0000 (06:36 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 15 Dec 2020 11:54:40 +0000 (11:54 +0000)
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 <tanikawa.tadao@jp.panasonic.com>
Change-Id: Ifecc12bf5aa5ca5eaf9b51f99e1583d76ddb1908

service/system/resource_manager/client/Makefile
service/system/resource_manager/server/Makefile

index d0e1808..a2bde46 100755 (executable)
@@ -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 ########
 
index 97ca9d9..cae9191 100755 (executable)
@@ -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