The firmware is already installed in /lib/firmware/rtlwifi, no need to
install it also in /lib/firmware.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Now there is a specific target to install the firmware, use it everywhere.
Note: this does not change the behaviour if INSTALL_MOD_PATH is undefined.
Otherwise the firmware is now installed under the INSTALL_MOD_PATH prefix.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
When installing using the modules_install target, the firmware is not
installed. Add an ad-hoc target that just installs the firmware into
$(INSTALL_MOD_PATH)/lib/firmware/rtlwifi/.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Allows to cleanly install the module in the standard way, as suggested by
Documentation/kbuild/modules.txt in the kernel sources.
This is needed when installing from within a build system (such as Buildroot)
that implement depmod on its own, and does not need the blacklist and other
fixups that are implemented by the 'install' target.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
When using a CROSS_COMPILE value that contains a whitespace, such as
"ccache arm-linux-", building fails because only the first word is passed down
to the kernel Makefile as CROSS_COMPILE. Successive words are interpreted as
targets.
Fix by quoting CROSS_COMPILE.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
As originally submitted, this driver acquired its firmware from data
statements embedded in the source code. This information has been extracted
into a binary file that has been accepted into the linux-firmware git
repo as commit ffc47f1 entitled "rtlwifi: Add new firmware files for
rtl8188eu". This patch switches the driver to use this file, and deletes
the firmware data from the source.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
The other parameters are CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER,
CONFIG_SET_SCAN_DENY_TIMER, CONFIG_DRV_ISSUE_PROV_REQ, and
RTW_USE_CFG80211_STA_EVENT. None of these are defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
The vendor code includes some code that is needed for RTL8182CU, RTL8192DU,
RTL8711, RTL8712, and RTL8723AU. This dead code is removed.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>