summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-09-08 23:49:43 +0000
committerfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-09-08 23:49:43 +0000
commitebffdceebe9a9de3e2e8f2f3211f526a2715b964 (patch)
treefef8f0ef8761f88aa7542421a253f26d508deeeb /Makefile
parent3c7f3296b9918e0bc9013debe506c8d91edb4416 (diff)
Move CONFIG_FW_LOADER check to Makefile (reported internally by Spiceland)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1444 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f8704ba..db980bc 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ ifeq ($(BUILDVER),linux26)
DYNFS=yes
UDEVRULES=yes
endif
- HOTPLUG_FIRMWARE:=yes
+ HOTPLUG_FIRMWARE:=$(shell if grep CONFIG_FW_LOADER $(KINCLUDES)/linux/autoconf.h | grep -q undef; then echo "no"; else echo "yes"; fi)
endif
CHKCONFIG:=$(shell sh -c 'type -p chkconfig' 2> /dev/null)