build: xpp -- remove legacy usb-hotplug
authorOron Peled <oron.peled@xorcom.com>
Mon, 8 Dec 2014 15:24:50 +0000 (10:24 -0500)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 19 May 2015 11:29:20 +0000 (14:29 +0300)
Hotplug is the system that predated udev. No longer supported anywhere
sane.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

xpp/Makefile
xpp/xpp_fxloader.usermap [deleted file]

index 12909f2..8584dcc 100644 (file)
@@ -29,7 +29,6 @@ INSTALL_DATA  = $(INSTALL) -m 644
 SBINDIR                = $(prefix)/sbin
 DATADIR                = $(datadir)/dahdi
 MANDIR         = $(mandir)/man8
-HOTPLUG_USB_DIR        = $(sysconfdir)/hotplug/usb
 PERLLIBDIR     := $(shell eval `perl -V:sitelib`; echo "$$sitelib")
 PERL_DIRS      := $(shell cd perl_modules; find * -name '[A-Z]*' -type d| xargs)
 PERL_MODS_PAT  := *.pm $(PERL_DIRS:%=%/*.pm)
@@ -130,10 +129,6 @@ install: all
        $(INSTALL_DATA) xpp.rules $(DESTDIR)$(udevrulesdir)/
        $(INSTALL) -d $(DESTDIR)$(MANDIR)
        $(INSTALL_DATA) $(MAN_INSTALL) $(DESTDIR)$(MANDIR)/
-       $(INSTALL) -d $(DESTDIR)$(HOTPLUG_USB_DIR)
-       $(INSTALL_DATA) xpp_fxloader.usermap $(DESTDIR)$(HOTPLUG_USB_DIR)/
-       # for backward compatibility and for hotplug users:
-       ln -sf $(DATADIR)/xpp_fxloader $(DESTDIR)$(HOTPLUG_USB_DIR)/
 ifneq  (,$(PERLLIBDIR))
        $(INSTALL) -d $(DESTDIR)$(PERLLIBDIR)
        for i in $(PERL_DIRS); \
diff --git a/xpp/xpp_fxloader.usermap b/xpp/xpp_fxloader.usermap
deleted file mode 100644 (file)
index 8c14b72..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# module       match_flags     idVendor        idProduct       bcdDevice_lo    bcdDevice_hi    bDeviceClass    bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass      bInterfaceProtocol      driver_info
-xpp_fxloader   0x0003          0x04b4          0x8613          0x0000          0x0000          0x00            0x00            0x00            0x00            0x00                    0x00                    0x0
-xpp_fxloader   0x0003          0xe4e4          0x1130          0x0000          0x0000          0x00            0x00            0x00            0x00            0x00                    0x00                    0x0
-xpp_fxloader   0x0003          0xe4e4          0x1131          0x0000          0x0000          0x00            0x00            0x00            0x00            0x00                    0x00                    0x0
-xpp_fxloader   0x0003          0xe4e4          0x1140          0x0000          0x0000          0x00            0x00            0x00            0x00            0x00                    0x00                    0x0
-xpp_fxloader   0x0003          0xe4e4          0x1141          0x0000          0x0000          0x00            0x00            0x00            0x00            0x00                    0x00                    0x0
-xpp_fxloader   0x0003          0xe4e4          0x1150          0x0000          0x0000          0x00            0x00            0x00            0x00            0x00                    0x00                    0x0
-xpp_fxloader   0x0003          0xe4e4          0x1151          0x0000          0x0000          0x00            0x00            0x00            0x00            0x00                    0x00                    0x0
-xpp_fxloader   0x0003          0xe4e4          0x1160          0x0000          0x0000          0x00            0x00            0x00            0x00            0x00                    0x00                    0x0
-xpp_fxloader   0x0003          0xe4e4          0x1161          0x0000          0x0000          0x00            0x00            0x00            0x00            0x00                    0x00                    0x0