mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
Option for PR 1902
This commit is contained in:
parent
f9dbf1e34d
commit
c6b6f2b6a7
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -65,7 +65,13 @@ ifneq (,$(INSTALLSIMFW))
|
||||||
endif
|
endif
|
||||||
ifeq ($(platform),Linux)
|
ifeq ($(platform),Linux)
|
||||||
$(Q)$(INSTALLSUDO) $(MKDIR) $(DESTDIR)$(UDEV_PREFIX)
|
$(Q)$(INSTALLSUDO) $(MKDIR) $(DESTDIR)$(UDEV_PREFIX)
|
||||||
$(Q)$(INSTALLSUDO) $(CP) driver/77-pm3-usb-device-blacklist.rules $(DESTDIR)$(UDEV_PREFIX)/77-pm3-usb-device-blacklist.rules
|
# If user is running ArchLinux, use group 'uucp'
|
||||||
|
# Else, use group 'dialout'
|
||||||
|
ifneq ($(wildcard /etc/arch-release),)
|
||||||
|
$(Q)$(INSTALLSUDO) $(CP) driver/77-pm3-usb-device-blacklist-uucp.rules $(DESTDIR)$(UDEV_PREFIX)/77-pm3-usb-device-blacklist.rules
|
||||||
|
else
|
||||||
|
$(Q)$(INSTALLSUDO) $(CP) driver/77-pm3-usb-device-blacklist-dialout.rules $(DESTDIR)$(UDEV_PREFIX)/77-pm3-usb-device-blacklist.rules
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
uninstall: common/uninstall
|
uninstall: common/uninstall
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue