btrfs: check page->mapping when loading free space cache
[linux/fpc-iii.git] / net / bpfilter / Makefile
blobaa945ab5b655893e4f9e409b1a2b010bfcaa47f3
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the Linux BPFILTER layer.
6 hostprogs-y := bpfilter_umh
7 bpfilter_umh-objs := main.o
8 KBUILD_HOSTCFLAGS += -I $(srctree)/tools/include/ -I $(srctree)/tools/include/uapi
9 HOSTCC := $(CC)
11 ifeq ($(CONFIG_BPFILTER_UMH), y)
12 # builtin bpfilter_umh should be compiled with -static
13 # since rootfs isn't mounted at the time of __init
14 # function is called and do_execv won't find elf interpreter
15 KBUILD_HOSTLDFLAGS += -static
16 endif
18 $(obj)/bpfilter_umh_blob.o: $(obj)/bpfilter_umh
20 obj-$(CONFIG_BPFILTER_UMH) += bpfilter.o
21 bpfilter-objs += bpfilter_kern.o bpfilter_umh_blob.o