From 8a85ada630a68ac0d2be5fb505fa9c8a39beec9f Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 4 Nov 2019 15:47:42 -0600 Subject: [PATCH] rtl8188eu: Update README.md and Makefile 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 --- Makefile | 6 +++++- README.md | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c813f6e..0d9f5f9 100755 --- a/Makefile +++ b/Makefile @@ -27,6 +27,7 @@ CONFIG_DRVEXT_MODULE = n export TopDIR ?= $(shell pwd) +MSG="Directory .git does not exist indicating that you downloaded the source as a zip file. Only the 'git clone' method is now supported." OUTSRC_FILES := hal/odm_debug.o \ hal/odm_interface.o\ @@ -147,7 +148,10 @@ else export CONFIG_RTL8188EU = m -all: modules +all: test modules + +test: + @if [ ! -e ./.git ] ; then echo $(MSG); exit 1; fi; modules: $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KERNEL_SRC) M=$(shell pwd) modules diff --git a/README.md b/README.md index 58fbc94..08581f6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,22 @@ +IMPORTANT - PLEASE READ: + +Beginning on November 4, 2019, I will NO LONGER support people that have downloaded the source +as a zip file. Using git has much more flexibility. In addition, there is much less liklihood +that a user will contact me with a problem that is ALREADY fixed. + +If your system says that /lib/modules/...../build does not exist, you have not +installed the kernel headers, you have done it incorrectly, or you are not running +the kernel for which the headers have been installed. The necessary steps are +dependent on which distro you are using. Creating a new issue and asking at +GitHub will not be productive. + +Unsolicited E-mail sent to my private address will be ignored!! + +If a build fails that previously worked, perform a 'git pull' and retry before +reporting a problem. As noted, if you had downloaded the source in zip form, then you would +need to get an entirely new source file. That is why using git, which downloads only the changed +lines, is required. + rtl8188eu =========