IPROUTE2_DEPENDENCIES += iptables
define IPROUTE2_WITH_IPTABLES
# Makefile is busted so it never passes IPT_LIB_DIR properly
- $(SED) "s/-DIPT/-DXT/" $(IPROUTE2_DIR)/tc/Makefile
+ $(SED) "s/-DIPT/-DXT/" $(@D)/tc/Makefile
endef
else
define IPROUTE2_WITH_IPTABLES
# em_ipset needs xtables, but configure misdetects it
- echo "TC_CONFIG_IPSET:=n" >>$(IPROUTE2_DIR)/Config
- echo "TC_CONFIG_XT:=n" >>$(IPROUTE2_DIR)/Config
+ echo "TC_CONFIG_IPSET:=n" >>$(@D)/Config
+ echo "TC_CONFIG_XT:=n" >>$(@D)/Config
endef
endif
IPROUTE2_DEPENDENCIES += berkeleydb
else
define IPROUTE2_DISABLE_ARPD
- echo "HAVE_BERKELEY_DB:=n" >> $(IPROUTE2_DIR)/Config
+ echo "HAVE_BERKELEY_DB:=n" >> $(@D)/Config
endef
endif