Makefile: Fix "fatal error: 'drv_types.h' file not found"

This commit is contained in:
MrRob0-X 2022-12-19 15:14:43 +02:00
parent 450db78f7b
commit b1d911b688

View File

@ -20,7 +20,7 @@ EXTRA_CFLAGS += -Wno-vla -g
#EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later #EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
#endif #endif
EXTRA_CFLAGS += -I$(src)/include EXTRA_CFLAGS += -I$(srctee)/$(src)/include
EXTRA_LDFLAGS += --strip-all -O3 EXTRA_LDFLAGS += --strip-all -O3
########################## WIFI IC ############################ ########################## WIFI IC ############################
@ -230,10 +230,11 @@ _HAL_INTFS_FILES := hal/hal_intf.o \
hal/led/hal_$(HCI_NAME)_led.o hal/led/hal_$(HCI_NAME)_led.o
EXTRA_CFLAGS += -I$(src)/platform EXTRA_CFLAGS += -I$(srctee)/$(src)/platform
_PLATFORM_FILES := platform/platform_ops.o _PLATFORM_FILES := platform/platform_ops.o
EXTRA_CFLAGS += -I$(src)/hal/btc EXTRA_CFLAGS += -I$(srctree)/$(src)/hal/btc
EXTRA_CFLAGS += -I$(srctree)/$(src)/hal/phydm
########### HAL_RTL8188E ################################# ########### HAL_RTL8188E #################################
ifeq ($(CONFIG_RTL8188E), y) ifeq ($(CONFIG_RTL8188E), y)