# kbuild trick to avoid linker error. Can be omitted if a module is built.obj-:= dummy.ohostprogs-$(CONFIG_SECCOMP):= bpf-fancy dropperbpf-fancy-objs:= bpf-fancy.o bpf-helper.oHOSTCFLAGS_bpf-fancy.o+=-I$(objtree)/usr/includeHOSTCFLAGS_bpf-fancy.o+=-idirafter$(objtree)/includeHOSTCFLAGS_bpf-helper.o+=-I$(objtree)/usr/includeHOSTCFLAGS_bpf-helper.o+=-idirafter$(objtree)/includeHOSTCFLAGS_dropper.o+=-I$(objtree)/usr/includeHOSTCFLAGS_dropper.o+=-idirafter$(objtree)/includedropper-objs:= dropper.o# bpf-direct.c is x86-only.ifeq($(SRCARCH),x86)# List of programs to buildhostprogs-$(CONFIG_SECCOMP)+= bpf-directbpf-direct-objs:= bpf-direct.oendifHOSTCFLAGS_bpf-direct.o+=-I$(objtree)/usr/includeHOSTCFLAGS_bpf-direct.o+=-idirafter$(objtree)/include# Try to match the kernel target.ifeq($(CONFIG_64BIT),)HOSTCFLAGS_bpf-direct.o+=-m32HOSTCFLAGS_dropper.o+=-m32HOSTCFLAGS_bpf-helper.o+=-m32HOSTCFLAGS_bpf-fancy.o+=-m32HOSTLOADLIBES_bpf-direct+=-m32HOSTLOADLIBES_bpf-fancy+=-m32HOSTLOADLIBES_dropper+=-m32endif# Tell kbuild to always build the programsalways:=$(hostprogs-y)