lkml.org 
[lkml]   [2005]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [HELP] netfilter Kconfig dependency nightmare
    Hi,

    On Sat, 17 Sep 2005, Harald Welte wrote:

    > If CONFIG_IP_NF_CONNTRACK_NETLINK is selected (M or Y), then
    > CONFIG_IP_NF_CONNTRACK conditionally adds some code that references
    > symbols from nfnetlink.ko (CONFIG_NETFILTER_NETLINK)
    >
    > So basically, enabling CONFIG_IP_NF_CONNTRACK_NETLINK creates a dependency
    > from CONFIG_IP_NF_CONNTRACK to CONFIG_NETFILTER_NETLINK. AFAIK, the syntax
    > doesn't allow somthing like
    >
    > tristate IP_NF_CONNTRACK
    > depends on NETFILTER_NETLINK if IP_NF_CONNTRACK_NETLINK!=n

    Since IP_NF_CONNTRACK_NETLINK is the one creating the dependency,
    something like this should work:

    config IP_NF_CONNTRACK_NETLINK
    depends on IP_NF_CONNTRACK && NETFILTER_NETLINK
    depends on IP_NF_CONNTRACK!=y || NETFILTER_NETLINK!=m

    IOW ct_nl depends on (ct && nl) unless (ct=y && nl=m).

    bye, Roman

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-09-17 14:21    [W:0.020 / U:61.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site