[PATCH] drivers: staging: rtl8188eu: use 'ccflags-y' instead of EXTRA_CFLAGS in Makefile
Chen Gang
gang.chen at asianux.com
Wed Oct 23 08:52:21 UTC 2013
If command line use EXTRA_CFLAGS (e.g. "EXTRA_CFLAGS=-mmedium-calls"
for arc architecture, with allmodconfig), it can not pass compiling,
the related error:
drivers/staging/rtl8188eu/core/rtw_ap.c:22:27: fatal error: osdep_service.h: No such file or directory
Signed-off-by: Chen Gang <gang.chen at asianux.com>
---
drivers/staging/rtl8188eu/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/rtl8188eu/Makefile b/drivers/staging/rtl8188eu/Makefile
index 1639a45..385fce1 100644
--- a/drivers/staging/rtl8188eu/Makefile
+++ b/drivers/staging/rtl8188eu/Makefile
@@ -1,4 +1,4 @@
-EXTRA_CFLAGS += -I$(src)/include
+ccflags-y += -I$(src)/include
r8188eu-y := \
core/rtw_ap.o \
--
1.7.7.6
More information about the devel
mailing list