From b093e6ca8671130b1d5d9e52c00558b03dc6c7d3 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 3 Dec 2013 10:07:49 -0600 Subject: [PATCH] rtl8188eu: Modify Makefile to not overwrite firmware if it exists Signed-off-by: Larry Finger --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4b9783d..7828d11 100644 --- a/Makefile +++ b/Makefile @@ -149,10 +149,10 @@ strip: $(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded install: - install -p -m 644 8188eu.ko $(MODDESTDIR) + install -p -D -m 644 8188eu.ko $(MODDESTDIR)/8188eu.ko /sbin/depmod -a ${KVER} mkdir -p /lib/firmware/rtlwifi - cp rtl8188eufw.bin /lib/firmware/rtlwifi/. + cp -n rtl8188eufw.bin /lib/firmware/rtlwifi/. uninstall: rm -f $(MODDESTDIR)/8188eu.ko