summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-12-15 06:36:56 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-12-15 11:54:40 +0000
commit9e6613f8702df881526023403d33e342e6b428b6 (patch)
tree51b9bbd900dbf872b7a92371891ee4cf0d52924a
parent68bf50e67ed07520bd190632c9bd4125be31e9ed (diff)
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 <tanikawa.tadao@jp.panasonic.com> Change-Id: Ifecc12bf5aa5ca5eaf9b51f99e1583d76ddb1908
-rwxr-xr-xservice/system/resource_manager/client/Makefile1
-rwxr-xr-xservice/system/resource_manager/server/Makefile1
2 files changed, 0 insertions, 2 deletions
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