Makefile (c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2) Makefile (5f2fb52fac15a8a8e10ce020dd532504a8abfc4e)
1# SPDX-License-Identifier: GPL-2.0
2ifndef CROSS_COMPILE
1# SPDX-License-Identifier: GPL-2.0
2ifndef CROSS_COMPILE
3hostprogs-y := bpf-fancy dropper bpf-direct user-trap
3hostprogs := bpf-fancy dropper bpf-direct user-trap
4
5HOSTCFLAGS_bpf-fancy.o += -I$(objtree)/usr/include
6HOSTCFLAGS_bpf-fancy.o += -idirafter $(objtree)/include
7HOSTCFLAGS_bpf-helper.o += -I$(objtree)/usr/include
8HOSTCFLAGS_bpf-helper.o += -idirafter $(objtree)/include
9bpf-fancy-objs := bpf-fancy.o bpf-helper.o
10
11HOSTCFLAGS_dropper.o += -I$(objtree)/usr/include

--- 23 unchanged lines hidden (view full) ---

35HOSTCFLAGS_bpf-helper.o += $(MFLAG)
36HOSTCFLAGS_bpf-fancy.o += $(MFLAG)
37HOSTCFLAGS_user-trap.o += $(MFLAG)
38HOSTLDLIBS_bpf-direct += $(MFLAG)
39HOSTLDLIBS_bpf-fancy += $(MFLAG)
40HOSTLDLIBS_dropper += $(MFLAG)
41HOSTLDLIBS_user-trap += $(MFLAG)
42endif
4
5HOSTCFLAGS_bpf-fancy.o += -I$(objtree)/usr/include
6HOSTCFLAGS_bpf-fancy.o += -idirafter $(objtree)/include
7HOSTCFLAGS_bpf-helper.o += -I$(objtree)/usr/include
8HOSTCFLAGS_bpf-helper.o += -idirafter $(objtree)/include
9bpf-fancy-objs := bpf-fancy.o bpf-helper.o
10
11HOSTCFLAGS_dropper.o += -I$(objtree)/usr/include

--- 23 unchanged lines hidden (view full) ---

35HOSTCFLAGS_bpf-helper.o += $(MFLAG)
36HOSTCFLAGS_bpf-fancy.o += $(MFLAG)
37HOSTCFLAGS_user-trap.o += $(MFLAG)
38HOSTLDLIBS_bpf-direct += $(MFLAG)
39HOSTLDLIBS_bpf-fancy += $(MFLAG)
40HOSTLDLIBS_dropper += $(MFLAG)
41HOSTLDLIBS_user-trap += $(MFLAG)
42endif
43always := $(hostprogs-y)
43always-y := $(hostprogs)
44endif
44endif