summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-10 20:50:57 +0000
committerfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-10 20:50:57 +0000
commit2836627a98e90c1b25899262444abce86b76d547 (patch)
treed59da5e6cd3f0c72f310534e7716a3424f22d8a9
parentec4d35b6af78e57056981f1716d2f47969f4cf36 (diff)
Merged revisions 2147 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4 ........ r2147 | file | 2007-02-10 15:43:18 -0500 (Sat, 10 Feb 2007) | 2 lines Only attempt to install firmware to the hotplug directories if any was selected. ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2149 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--firmware/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index f0b318b..9d4efaf 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -78,12 +78,14 @@ object-build: $(FIRMWARE) $(OBJECT_FILES)
# 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: