[zaptel-commits] file: branch 1.4 r2147 - /branches/1.4/firmware/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Sat Feb 10 13:43:19 MST 2007


Author: file
Date: Sat Feb 10 14:43:18 2007
New Revision: 2147

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2147
Log:
Only attempt to install firmware to the hotplug directories if any was selected.

Modified:
    branches/1.4/firmware/Makefile

Modified: branches/1.4/firmware/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.4/firmware/Makefile?view=diff&rev=2147&r1=2146&r2=2147
==============================================================================
--- branches/1.4/firmware/Makefile (original)
+++ branches/1.4/firmware/Makefile Sat Feb 10 14:43:18 2007
@@ -78,12 +78,14 @@
 
 # Install all downloaded firmware images for hotplug usage and build headers for inclusion
 hotplug-install: $(FIRMWARE)
+ifneq (,$(FIRMWARE))
 	if [ -d $(INSTALL_PREFIX)/usr/lib/hotplug/firmware ]; then \
 		$(INSTALL) -m 644 zaptel-fw-*.bin $(INSTALL_PREFIX)/usr/lib/hotplug/firmware; \
 	fi
 	if [ -d $(INSTALL_PREFIX)/lib/firmware ]; then \
 		$(INSTALL) -m 644 zaptel-fw-*.bin $(INSTALL_PREFIX)/lib/firmware; \
 	fi
+endif
 
 # Uninstall any installed zaptel firmware images from hotplug firmware directories
 hotplug-uninstall:



More information about the zaptel-commits mailing list