rtl8188eu: Modify Makefile to not overwrite firmware if it exists

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-12-03 10:07:49 -06:00
parent 91938194fd
commit b093e6ca86

View file

@ -149,10 +149,10 @@ strip:
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded $(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
install: install:
install -p -m 644 8188eu.ko $(MODDESTDIR) install -p -D -m 644 8188eu.ko $(MODDESTDIR)/8188eu.ko
/sbin/depmod -a ${KVER} /sbin/depmod -a ${KVER}
mkdir -p /lib/firmware/rtlwifi mkdir -p /lib/firmware/rtlwifi
cp rtl8188eufw.bin /lib/firmware/rtlwifi/. cp -n rtl8188eufw.bin /lib/firmware/rtlwifi/.
uninstall: uninstall:
rm -f $(MODDESTDIR)/8188eu.ko rm -f $(MODDESTDIR)/8188eu.ko