Skip to content

Commit

Permalink
Makefile: Fix "fatal error: 'drv_types.h' file not found"
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRob0-X committed Dec 19, 2022
1 parent f79dffb commit fc96492
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ifeq ($(GCC_VER_49),1)
EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
endif

EXTRA_CFLAGS += -I$(src)/include
EXTRA_CFLAGS += -I$(srctree)/$(src)/include

EXTRA_LDFLAGS += --strip-debug

Expand Down Expand Up @@ -226,10 +226,11 @@ _HAL_INTFS_FILES := hal/hal_intf.o \
hal/led/hal_$(HCI_NAME)_led.o


EXTRA_CFLAGS += -I$(src)/platform
EXTRA_CFLAGS += -I$(srctree)/$(src)/platform
_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 #################################
ifeq ($(CONFIG_RTL8188E), y)
Expand Down

1 comment on commit fc96492

@JpvMaking
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same problem, no such file or directory: drv_types.h

Please sign in to comment.