From 2836627a98e90c1b25899262444abce86b76d547 Mon Sep 17 00:00:00 2001 From: file Date: Sat, 10 Feb 2007 20:50:57 +0000 Subject: 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 --- firmware/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/Makefile') 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: -- cgit v1.2.3