From d40f33b6176bc1c936da3e6e9095a9cd05986b8d Mon Sep 17 00:00:00 2001 From: IamCOD3X Date: Fri, 7 Jun 2024 16:39:55 +0530 Subject: [PATCH] Adding Flags to fix errors like 'drv_types.h' not found --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f95ff1..ae1eaf3 100755 --- a/Makefile +++ b/Makefile @@ -1,10 +1,19 @@ +EXTRA_CFLAGS += -I$(srctree)/$(src)/include +EXTRA_CFLAGS += -I$(srctree)/$(src)/hal/phydm +EXTRA_CFLAGS += -I$(srctree)/$(src)/core/crypto +EXTRA_CFLAGS += -I$(srctree)/$(src)/platform +EXTRA_CFLAGS += -I$(srctree)/$(src)/os_dep +EXTRA_CFLAGS += -I$(srctree)/$(src)/tools +EXTRA_CFLAGS += -I$(srctree)/$(src)/android +EXTRA_CFLAGS += -I$(srctree)/$(src)/core + EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS) -fno-pie EXTRA_CFLAGS += -O3 EXTRA_CFLAGS += -Wno-unused-variable EXTRA_CFLAGS += -Wno-unused-value EXTRA_CFLAGS += -Wno-unused-label EXTRA_CFLAGS += -Wno-unused-parameter -#EXTRA_CFLAGS += -Wno-unused-function +EXTRA_CFLAGS += -Wno-unused-function #EXTRA_CFLAGS += -Wno-implicit-fallthrough EXTRA_CFLAGS += -Wno-cast-function-type EXTRA_CFLAGS += -Wno-missing-declarations