From 047861455613982f071ed5a75434dc040e7e1e69 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Sat, 10 Nov 2018 07:38:53 +0000 Subject: [PATCH] openvswitch: fix building intree datapath module unconditionally Fixes f2bf8d3 ("openvswitch: provide in-tree kmod builds") Closes openwrt/packages#7360 Signed-off-by: Yousong Zhou --- net/openvswitch/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)