From 4930848febecd66a1c4b0737954a3c98984e9ea6 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 4 Nov 2019 15:29:27 -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 | 12 ++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4b77209..32de1b9 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,7 @@ CONFIG_WOWLAN = 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/HalHWImg8188E_MAC.o \ @@ -145,7 +146,10 @@ obj-$(CONFIG_RTL8188EU) := 8188eu.o endif -all: modules +all: test modules + +test: + @if [ ! -e ./.git ] ; then echo $(MSG); exit 1; fi; modules: $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules diff --git a/README.md b/README.md index 14fbcc5..784919a 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,21 @@ IMPORTANT - PLEASE READ: +Beginning on Novemger 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 provate address will be ignored!! +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 here. If you downloaded the source in zip form, then you need to -get an entirely new source file. That is why using git, which downloads only the changed -lines, is recommended. +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 =========