Commit 97b0b6ca authored by Chen Gang's avatar Chen Gang Committed by Greg Kroah-Hartman

drivers: staging: rtl8188eu: use 'ccflags-y' instead of EXTRA_CFLAGS in Makefile

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: default avatarChen Gang <gang.chen@asianux.com>
Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b1ad55e6
EXTRA_CFLAGS += -I$(src)/include
r8188eu-y := \ r8188eu-y := \
core/rtw_ap.o \ core/rtw_ap.o \
core/rtw_br_ext.o \ core/rtw_br_ext.o \
...@@ -66,4 +64,4 @@ r8188eu-y := \ ...@@ -66,4 +64,4 @@ r8188eu-y := \
obj-$(CONFIG_R8188EU) := r8188eu.o obj-$(CONFIG_R8188EU) := r8188eu.o
ccflags-y += -D__CHECK_ENDIAN__ ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/include
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment