diff --git a/Makefile b/Makefile index 69585ae..8f82626 100755 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ EXTRA_CFLAGS += -Wno-vla -g #EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later #endif -EXTRA_CFLAGS += -I$(src)/include +EXTRA_CFLAGS += -I$(srctee)/$(src)/include EXTRA_LDFLAGS += --strip-all -O3 ########################## WIFI IC ############################ @@ -230,10 +230,11 @@ _HAL_INTFS_FILES := hal/hal_intf.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 -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)