summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-21 23:15:03 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-21 23:15:03 +0000
commit46ddb48dfc220b6082a4c07294f46bbd8b13a759 (patch)
treec9a31efc41941134a711a325f16db81a7f559867
parente365406efb7c4e1d5dd8fd69aab67b59c1b8dc43 (diff)
Fix my regression from r3706: Make sure HOTPLUG_FIRMWARE has effect on
the CFLAGS of kernel modules. Closes issue #11806 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3721 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--wct4xxp/Kbuild4
-rw-r--r--wctc4xxp/Kbuild4
-rw-r--r--wctdm24xxp/Kbuild4
-rw-r--r--wcte12xp/Kbuild4
4 files changed, 16 insertions, 0 deletions
diff --git a/wct4xxp/Kbuild b/wct4xxp/Kbuild
index 105ca73..e75a8ef 100644
--- a/wct4xxp/Kbuild
+++ b/wct4xxp/Kbuild
@@ -2,6 +2,10 @@ obj-m += wct4xxp.o
EXTRA_CFLAGS := -I$(src)/.. $(shell $(src)/../oct612x/octasic-helper cflags $(src)/../oct612x) -Wno-undef
+ifeq ($(HOTPLUG_FIRMWARE),yes)
+ EXTRA_CFLAGS+=-DHOTPLUG_FIRMWARE
+endif
+
wct4xxp-objs := base.o vpm450m.o $(shell $(src)/../oct612x/octasic-helper objects ../oct612x)
ifneq ($(HOTPLUG_FIRMWARE),yes)
diff --git a/wctc4xxp/Kbuild b/wctc4xxp/Kbuild
index f538494..3ffe8bf 100644
--- a/wctc4xxp/Kbuild
+++ b/wctc4xxp/Kbuild
@@ -2,6 +2,10 @@ obj-m += wctc4xxp.o
EXTRA_CFLAGS := -I$(src)/.. -Wno-undef -DSTANDALONE_ZAPATA
+ifeq ($(HOTPLUG_FIRMWARE),yes)
+ EXTRA_CFLAGS+=-DHOTPLUG_FIRMWARE
+endif
+
wctc4xxp-objs := base.o
ifneq ($(HOTPLUG_FIRMWARE),yes)
diff --git a/wctdm24xxp/Kbuild b/wctdm24xxp/Kbuild
index eff3490..69fe21b 100644
--- a/wctdm24xxp/Kbuild
+++ b/wctdm24xxp/Kbuild
@@ -2,6 +2,10 @@ obj-m += wctdm24xxp.o
EXTRA_CFLAGS := -I$(src)/.. -Wno-undef
+ifeq ($(HOTPLUG_FIRMWARE),yes)
+ EXTRA_CFLAGS+=-DHOTPLUG_FIRMWARE
+endif
+
wctdm24xxp-objs := base.o GpakCust.o GpakApi.o
ifneq ($(HOTPLUG_FIRMWARE),yes)
diff --git a/wcte12xp/Kbuild b/wcte12xp/Kbuild
index d930149..14d7494 100644
--- a/wcte12xp/Kbuild
+++ b/wcte12xp/Kbuild
@@ -2,6 +2,10 @@ obj-m += wcte12xp.o
EXTRA_CFLAGS := -I$(src)/.. -Wno-undef
+ifeq ($(HOTPLUG_FIRMWARE),yes)
+ EXTRA_CFLAGS+=-DHOTPLUG_FIRMWARE
+endif
+
wcte12xp-objs := base.o vpmadt032.o GpakApi.o
ifneq ($(HOTPLUG_FIRMWARE),yes)