- FPM is a module since 3.0. Always build it and allow user choice to enable or disable it
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
# export WANT_PIM=1
# export WANT_OSPFAPI=1
# export WANT_TCP_ZEBRA=0
-# export WANT_FPM=0
# export WANT_BGP_VNC=0
# export WANT_CUMULUS_MODE=0
# export WANT_MULTIPATH=1
USE_OSPFAPI=--enable-ospfapi=no
endif
-ifeq ($(WANT_FPM), 1)
- USE_FPM=---enable-fpm
- ifneq ($(WANT_TCP_ZEBRA),1)
- $(warning "Zebra TCP interface enabled for FPM (requirement for FPM)")
- export WANT_TCP_ZEBRA=1
- endif
-else
- USE_FPM=--disable-fpm
-endif
-
ifeq ($(WANT_TCP_ZEBRA),1)
USE_TCP_ZEBRA=--enable-tcp-zebra
endif
$(USE_MULTIPATH) \
$(USE_LDP) \
$(USE_TCP_ZEBRA) \
- $(USE_FPM) \
+ --enable-fpm \
$(USE_FRR_USER) $(USE_FRR_GROUP) \
$(USE_FRR_VTY_GROUP) \
--enable-configfile-mask=0640 \
# export WANT_PIM=1
# export WANT_OSPFAPI=1
# export WANT_TCP_ZEBRA=0
-# export WANT_FPM=0
# export WANT_BGP_VNC=0
# export WANT_CUMULUS_MODE=0
# export WANT_MULTIPATH=1
USE_OSPFAPI=--enable-ospfapi=no
endif
-ifeq ($(WANT_FPM), 1)
- USE_FPM=---enable-fpm
- ifneq ($(WANT_TCP_ZEBRA),1)
- $(warning "Zebra TCP interface enabled for FPM (requirement for FPM)")
- export WANT_TCP_ZEBRA=1
- endif
-else
- USE_FPM=--disable-fpm
-endif
-
ifeq ($(WANT_TCP_ZEBRA),1)
USE_TCP_ZEBRA=--enable-tcp-zebra
endif
$(USE_MULTIPATH) \
$(USE_LDP) \
$(USE_TCP_ZEBRA) \
- $(USE_FPM) \
+ --enable-fpm \
$(USE_FRR_USER) $(USE_FRR_GROUP) \
$(USE_FRR_VTY_GROUP) \
--enable-configfile-mask=0640 \
# export WANT_PIM=1
# export WANT_OSPFAPI=1
# export WANT_TCP_ZEBRA=0
-# export WANT_FPM=0
# export WANT_BGP_VNC=0
# export WANT_CUMULUS_MODE=0
# export WANT_MULTIPATH=1
USE_OSPFAPI=--enable-ospfapi=no
endif
-ifeq ($(WANT_FPM), 1)
- USE_FPM=---enable-fpm
- ifneq ($(WANT_TCP_ZEBRA),1)
- $(warning "Zebra TCP interface enabled for FPM (requirement for FPM)")
- export WANT_TCP_ZEBRA=1
- endif
-else
- USE_FPM=--disable-fpm
-endif
-
ifeq ($(WANT_TCP_ZEBRA),1)
USE_TCP_ZEBRA=--enable-tcp-zebra
endif
$(USE_MULTIPATH) \
$(USE_LDP) \
$(USE_TCP_ZEBRA) \
- $(USE_FPM) \
+ --enable-fpm \
$(USE_FRR_USER) $(USE_FRR_GROUP) \
$(USE_FRR_VTY_GROUP) \
--enable-configfile-mask=0640 \