diff options
Diffstat (limited to 'kernel/Kbuild')
-rw-r--r-- | kernel/Kbuild | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/Kbuild b/kernel/Kbuild new file mode 100644 index 0000000..c7cb727 --- /dev/null +++ b/kernel/Kbuild @@ -0,0 +1,12 @@ +EXTRA_CFLAGS := -I$(M)/include \ + -DCONFIG_IP_NF_SET_MAX=$(IP_NF_SET_MAX) \ + -DCONFIG_IP_NF_SET_HASHSIZE=$(IP_NF_SET_HASHSIZE) + +obj-m += ip_set.o ipt_set.o ipt_SET.o +obj-m += ip_set_ipmap.o ip_set_macipmap.o ip_set_portmap.o +obj-m += ip_set_iphash.o ip_set_ipporthash.o ip_set_nethash.o +obj-m += ip_set_iptree.o ip_set_iptreemap.o + +# It's for me... +incdirs := $(M) $(M)/include/linux/netfilter_ipv4 +clean-files := $(foreach dir,$(incdirs),$(wildcard $(dir)/*~)) |