summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4f9e43a..9ed154f 100644
--- a/Makefile
+++ b/Makefile
@@ -125,7 +125,7 @@ ifeq ($(strip $(foreach var,clean distclean dist-clean update,$(findstring $(var
endif
endif
-MODULES:=pciradio tor2 torisa wcfxo wct1xxp wctdm wctdm24xxp wcte11xp wcusb zaptel ztd-eth ztd-loc ztdummy ztdynamic zttranscode
+MODULES:=pciradio tor2 torisa wcfxo wct1xxp wctdm wcte11xp wcusb zaptel ztd-eth ztd-loc ztdummy ztdynamic zttranscode
MODULES:=$(filter-out $(MENUSELECT_MODULES),$(MODULES))
MODULE_ALIASES=wcfxs wctdm8xxp wct2xxp
@@ -160,6 +160,11 @@ obj-m+=xpp/
MODULES+=xpp
endif
+ifeq ($(findstring wctdm24xxp,$(MENUSELECT_MODULES)),)
+obj-m+=wctdm24xxp/
+MODULES+=wctdm24xxp
+endif
+
# Set this to override hotplug firmware loading and revert to classic header
#HOTPLUG_FIRMWARE=no
ifeq ($(HOTPLUG_FIRMWARE),yes)
@@ -220,8 +225,6 @@ wcfxsusb.o: wcfxsusb.h
wctdm.o: wctdm.h
-wctdm24xxp.o: wctdm.h
-
pciradio.o: radfw.h
ztdummy.o: ztdummy.h