mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-28 23:23:40 +00:00
rtl8188eu: Makefile improvements
- install target should create destination directory, if not found. - some people don't want to install the firmware binary by default, e.g. someone who already installed the linux-firmware package from its Linux distribution. Signed-off-by: Rafael G. Martins <rafael@rafaelmartins.eng.br>
This commit is contained in:
parent
91938194fd
commit
d93524fd02
2 changed files with 7 additions and 4 deletions
7
Makefile
7
Makefile
|
@ -149,10 +149,11 @@ 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/.
|
||||
|
||||
install_firmware:
|
||||
install -p -D -m 644 rtl8188eufw.bin /lib/firmware/rtlwifi/rtl8188eufw.bin
|
||||
|
||||
uninstall:
|
||||
rm -f $(MODDESTDIR)/8188eu.ko
|
||||
|
|
|
@ -17,6 +17,8 @@ consult your distro.
|
|||
|
||||
> sudo make install
|
||||
|
||||
> sudo make install_firmware
|
||||
|
||||
Submitting Issues
|
||||
---------
|
||||
|
||||
|
@ -24,5 +26,5 @@ Frequently asked Questions
|
|||
---------
|
||||
|
||||
### The network manager says: "Device is not ready"!
|
||||
Make sure you copied the firmware (rtl8188eufw.bin) to /lib/firmware/rtlwifi/
|
||||
Make sure you ran `sudo make install_firmware`
|
||||
|
||||
|
|
Loading…
Reference in a new issue