From: Yousong Zhou Date: Sat, 10 Nov 2018 07:38:53 +0000 (+0000) Subject: openvswitch: fix building intree datapath module unconditionally X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=047861455613982f071ed5a75434dc040e7e1e69;p=openwrt-packages.git openvswitch: fix building intree datapath module unconditionally Fixes f2bf8d3 ("openvswitch: provide in-tree kmod builds") Closes openwrt/packages#7360 Signed-off-by: Yousong Zhou --- diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile index 276ca0423..1a0f7672f 100644 --- a/net/openvswitch/Makefile +++ b/net/openvswitch/Makefile @@ -297,7 +297,7 @@ CONFIGURE_VARS += \ KARCH=$(LINUX_KARCH) \ ovs_intree_kmod_configs:=CONFIG_PACKAGE_kmod-openvswitch-intree -ovs_intree_kmod_enabled:=$(strip $(foreach c,$(ovs_intree_kmod_configs),$(c))) +ovs_intree_kmod_enabled:=$(strip $(foreach c,$(ovs_intree_kmod_configs),$($(c)))) PKG_CONFIG_DEPENDS+=$(ovs_intree_kmod_configs) ifneq ($(ovs_intree_kmod_enabled),) CONFIGURE_ARGS += --with-linux=$(LINUX_DIR)