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

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Jan 18 23:48:06 MST 2007


Author: file
Date: Fri Jan 19 00:48:05 2007
New Revision: 1865

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1865
Log:
If we are building on the 2.6 kernel and hotplug firmware loading is enabled then create header files (only) before building the modules.

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=1865&r1=1864&r2=1865
==============================================================================
--- team/file/zaptel-firmware/Makefile (original)
+++ team/file/zaptel-firmware/Makefile Fri Jan 19 00:48:05 2007
@@ -195,6 +195,9 @@
 
 linux26: prereq
 	@if [ -z "$(KSRC)" -o ! -d "$(KSRC)" ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi
+ifeq ($(HOTPLUG_FIRMWARE),yes)
+	$(MAKE) -C firmware header-build
+endif
 	$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE) modules
 
 xpp: linux26



More information about the zaptel-commits mailing list