From 6a92f7313008d01f6a12d4d2a8f5f92d043ca29e Mon Sep 17 00:00:00 2001 From: Riku Nomoto Date: Wed, 2 Dec 2020 11:28:51 +0900 Subject: [PATCH] Changed autoconf.h ref to /kernel-build-artifacts By not copying autoconf.h to usr/include/linux and not using it, changed from linux/autoconf.h to generated/autoconf.h https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/25647/1/meta-oem-production-readiness/meta-agl-basesystem/recipes-core/agl-basefiles/agl-basefiles_1.0.0.bb#33 Bug-AGL: SPEC-3670 Signed-off-by: Riku Nomoto Change-Id: I694147d0427c43a2fc96b26304f5bf60d23de914 --- agl-basefiles/agldd/moduleid.h | 2 +- module/kernel-module-evklib/agldd/moduleid.h | 2 +- service/system/resource_manager/client/Makefile | 1 + service/system/resource_manager/server/Makefile | 1 + stub/communication_subcpu/client/Makefile | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/agl-basefiles/agldd/moduleid.h b/agl-basefiles/agldd/moduleid.h index b18c1a1..248fadc 100644 --- a/agl-basefiles/agldd/moduleid.h +++ b/agl-basefiles/agldd/moduleid.h @@ -14,7 +14,7 @@ * limitations under the License. */ -#include +#include #ifndef _AGLDD_MODULEID_H_ #define _AGLDD_MODULEID_H_ diff --git a/module/kernel-module-evklib/agldd/moduleid.h b/module/kernel-module-evklib/agldd/moduleid.h index b18c1a1..248fadc 100755 --- a/module/kernel-module-evklib/agldd/moduleid.h +++ b/module/kernel-module-evklib/agldd/moduleid.h @@ -14,7 +14,7 @@ * limitations under the License. */ -#include +#include #ifndef _AGLDD_MODULEID_H_ #define _AGLDD_MODULEID_H_ diff --git a/service/system/resource_manager/client/Makefile b/service/system/resource_manager/client/Makefile index a2bde46..d0e1808 100755 --- a/service/system/resource_manager/client/Makefile +++ b/service/system/resource_manager/client/Makefile @@ -44,6 +44,7 @@ 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 cae9191..97ca9d9 100755 --- a/service/system/resource_manager/server/Makefile +++ b/service/system/resource_manager/server/Makefile @@ -32,6 +32,7 @@ VPATH += ../client ######### add include path ############# CPPFLAGS += -I./include CPPFLAGS += -I../client +CPPFLAGS += -I$(KERNEL_HEADER_DIR) ######## add compile option ######## CPPFLAGS += -DFRAMEWORKUNIFIEDLOGOPTIONS=0x08 diff --git a/stub/communication_subcpu/client/Makefile b/stub/communication_subcpu/client/Makefile index b232f9c..884076a 100755 --- a/stub/communication_subcpu/client/Makefile +++ b/stub/communication_subcpu/client/Makefile @@ -30,6 +30,7 @@ VPATH += include/stub ######### add include path ############# CPPFLAGS += -I./include CPPFLAGS += -I./include/$(COMPONENT_NAME) +CPPFLAGS += -I$(KERNEL_HEADER_DIR) ######### add compile option ############# -- 2.16.6