[zaptel-commits] file: branch file/zaptel-firmware r1866 - /team/file/zaptel-firmware/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Jan 18 23:50:30 MST 2007


Author: file
Date: Fri Jan 19 00:50:30 2007
New Revision: 1866

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1866
Log:
Finally... install firmware images in the install target if hotplug is enabled.

Modified:
    team/file/zaptel-firmware/Makefile

Modified: team/file/zaptel-firmware/Makefile
URL: http://svn.digium.com/view/zaptel/team/file/zaptel-firmware/Makefile?view=diff&rev=1866&r1=1865&r2=1866
==============================================================================
--- team/file/zaptel-firmware/Makefile (original)
+++ team/file/zaptel-firmware/Makefile Fri Jan 19 00:50:30 2007
@@ -372,7 +372,10 @@
   endif
 endif
 
-install: all devices firmware install-libs install-include
+install: all devices install-libs install-include
+ifeq ($(HOTPLUG_FIRMWARE),yes)
+	$(MAKE) -C firmware hotplug-install
+endif
 	if [ -f ztcfg ]; then \
 		$(INSTALL) -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg; \
 	fi
@@ -435,9 +438,6 @@
 	rm -f $(INSTALL_PREFIX)/usr/include/tonezone.h
 
 install-udev: devices
-
-firmware:
-	@$(MAKE) -C firmware install
 
 config:
 	if [ -d $(INSTALL_PREFIX)/etc/rc.d/init.d ]; then \



More information about the zaptel-commits mailing list