aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8723au/Makefile
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2014-05-21 09:38:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-23 16:27:50 +0900
commitf3c9d6409be5ec1d8925be2f04daaa0f6a9ff3bb (patch)
treebeb462ed810b0cddaeabfea3859a669143ccd014 /drivers/staging/rtl8723au/Makefile
parenta402b8003ca35ce51d29bf24a93f9e7c099edb83 (diff)
staging: rtl8723au: Don't compile rtw_ap.c when CONFIG_8723AU_AP_MODE=n
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au/Makefile')
-rw-r--r--drivers/staging/rtl8723au/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723au/Makefile b/drivers/staging/rtl8723au/Makefile
index f0615d666d91..a6316af94b79 100644
--- a/drivers/staging/rtl8723au/Makefile
+++ b/drivers/staging/rtl8723au/Makefile
@@ -1,5 +1,4 @@
r8723au-y := \
- core/rtw_ap.o \
core/rtw_cmd.o \
core/rtw_efuse.o \
core/rtw_ioctl_set.o \
@@ -50,6 +49,7 @@ r8723au-y := \
os_dep/xmit_linux.o
r8723au-$(CONFIG_8723AU_BT_COEXIST) += hal/rtl8723a_bt-coexist.o
+r8723au-$(CONFIG_8723AU_AP_MODE) += core/rtw_ap.o
obj-$(CONFIG_R8723AU) := r8723au.o