mirror of
https://github.com/aircrack-ng/rtl8188eus.git
synced 2026-01-12 00:51:32 +00:00
Makefile: set check for two way path's
this will avoid error when building standalone or in kernel versions like 5.4
This commit is contained in:
8
Makefile
8
Makefile
@@ -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$(srctree)/$(src)/include
|
||||
EXTRA_CFLAGS += -I$(src)/include -I$(srctree)/$(src)/include
|
||||
|
||||
EXTRA_LDFLAGS += --strip-debug
|
||||
|
||||
@@ -226,11 +226,11 @@ _HAL_INTFS_FILES := hal/hal_intf.o \
|
||||
hal/led/hal_$(HCI_NAME)_led.o
|
||||
|
||||
|
||||
EXTRA_CFLAGS += -I$(srctree)/$(src)/platform
|
||||
EXTRA_CFLAGS += -I$(src)/platform -I$(srctree)/$(src)/platform
|
||||
_PLATFORM_FILES := platform/platform_ops.o
|
||||
|
||||
EXTRA_CFLAGS += -I$(srctree)/$(src)/hal/btc
|
||||
EXTRA_CFLAGS += -I$(srctree)/$(src)/hal/phydm
|
||||
EXTRA_CFLAGS += -I$(src)/hal/btc -I$(srctree)/$(src)/hal/btc
|
||||
EXTRA_CFLAGS += -I$(src)/hal/phydm -I$(srctree)/$(src)/hal/phydm
|
||||
|
||||
########### HAL_RTL8188E #################################
|
||||
ifeq ($(CONFIG_RTL8188E), y)
|
||||
|
||||
Reference in New Issue
Block a user