mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
cd42570fa9
-std=gnu89 is specified by the top Makefile. Adding it in a driver Makefile is redundant. A driver should avoid specifying the optimization flag. -O2, -O3, or -Os is passed by the top Makefile based on the CONFIG_CC_OPTIMIZE_FOR_* option. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20200104162136.19170-3-masahiroy@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
941 B
Makefile
26 lines
941 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
NIC_SELECT = RTL8192U
|
|
|
|
ccflags-y += -DCONFIG_FORCE_HARD_FLOAT=y
|
|
ccflags-y += -DJACKSON_NEW_8187 -DJACKSON_NEW_RX
|
|
ccflags-y += -DTHOMAS_BEACON -DTHOMAS_TASKLET -DTHOMAS_SKB -DTHOMAS_TURBO
|
|
|
|
r8192u_usb-y := r8192U_core.o r8180_93cx6.o r8192U_wx.o \
|
|
r8190_rtl8256.o r819xU_phy.o r819xU_firmware.o \
|
|
r819xU_cmdpkt.o r8192U_dm.o r819xU_firmware_img.o \
|
|
ieee80211/ieee80211_crypt.o \
|
|
ieee80211/ieee80211_crypt_tkip.o \
|
|
ieee80211/ieee80211_crypt_ccmp.o \
|
|
ieee80211/ieee80211_crypt_wep.o \
|
|
ieee80211/ieee80211_rx.o \
|
|
ieee80211/ieee80211_softmac.o \
|
|
ieee80211/ieee80211_tx.o \
|
|
ieee80211/ieee80211_wx.o \
|
|
ieee80211/ieee80211_module.o \
|
|
ieee80211/ieee80211_softmac_wx.o \
|
|
ieee80211/rtl819x_HTProc.o \
|
|
ieee80211/rtl819x_TSProc.o \
|
|
ieee80211/rtl819x_BAProc.o \
|
|
ieee80211/dot11d.o
|
|
|
|
obj-$(CONFIG_RTL8192U) += r8192u_usb.o
|