This changes the `test` Makefile target conditional to pass for Sapling cloned repos.
I was building this locally and ran into this issue because I cloned the repo using Sapling (https://sapling-scm.com) which uses a `.sl` directory at the repo root as opposed to a `.git` directory, and as such got the error message about zip files. Getting around the message was just making an empty top level `.git` directory, but IMO it shouldn't show this error in the first place.
As of now, this would also fail with for Mercurial cloned repos (which uses a `.hg` directory). I thought of generalizing it to check for any hidden top level directory, but technically `.git` can be a can be a text file (see: https://git-scm.com/docs/gitrepository-layout)
Also, I opted to not change the message printed in the failure case to include this as it might cause more confusion than benefit.
If a kernel is being used that generates no drivers in the
/lib/modules/$(KVER)/kernel/drivers/net/wireless directory, the installation
will fail. The fix is to generate that directory if it is not present.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
I will no longer support the download of zip versions for the source.
whenever there is any change in the source, the user must redo the
entire download and unpacking. This sequence is a lot more complicated
that a simple 'git pull', thus the user skips that step and I have to
deal with complaints about a problem I have already fixed. Now, the
make operation will fail with an error.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Kernel is compiled as 'aarch64', but the kernel arch directory is 'arm64'.
The multiple calls to sed for modifying the output of 'uname -m' is now
consolidated into a single call with multiple commands.
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>