diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -127,11 +127,11 @@ LIBTONEZONE_SO:=libtonezone.so LIBTONEZONE_SO_MAJOR_VER:=1 LIBTONEZONE_SO_MINOR_VER:=0 -ifneq ($(findstring xpp_usb,$(MENUSELECT_MODULES)),) - BUILD_XPP=yes - MENUSELECT_MODULES:=$(filter-out xpp_usb,$(MENUSELECT_MODULES)) +ifeq ($(findstring xpp_usb,$(MENUSELECT_MODULES)),) + BUILD_XPP:=yes endif -MODULES:=$(MENUSELECT_MODULES) +MODULES:=pciradio tor2 torisa wcfxo wct1xxp wct4xxp wctdm wctdm24xxp wcte11xp wcusb zaptel ztd-eth ztd-loc ztdummy ztdynamic zttranscode +MODULES:=$(filter-out $(MENUSELECT_MODULES),$(MODULES)) MODULESO:=$(MODULES:%=%.o) MODULESKO:=$(MODULES:%=%.ko) @@ -161,9 +161,10 @@ ifneq (,$(shell [ 0$(SUBLEVEL) -ge 10 ] && [ "$(ARCH)" = 'i386' ] && [ "x$(BUILD obj-m+=xpp/ endif -BINS:=$(MENUSELECT_UTILS) -UTILS:=$(filter-out zttool fxstest ztcfg,$(MENUSELECT_UTILS)) +BINS:=fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest zttool +UTILS:=$(filter-out zttool fxstest ztcfg,$(BINS)) UTILSO:=$(UTILS:%=%.o) +BINS:=$(filter-out $(MENUSELECT_UTILS),$(BINS)) all: menuselect.makeopts @$(MAKE) _all |