openvswitch: fix building intree datapath module unconditionally
authorYousong Zhou <yszhou4tech@gmail.com>
Sat, 10 Nov 2018 07:38:53 +0000 (07:38 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Sat, 10 Nov 2018 07:41:14 +0000 (07:41 +0000)
Fixes f2bf8d3 ("openvswitch: provide in-tree kmod builds")

Closes openwrt/packages#7360

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/openvswitch/Makefile

index 276ca0423d21026aebcaa088fc5e283dc5210f8b..1a0f7672f8b5acaaca344bb2ca526dd438a95e4b 100644 (file)
@@ -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)