ccflags-y := -O3 | |
ccflags-y += -D'pr_fmt(fmt)=KBUILD_MODNAME ": " fmt' | |
ccflags-$(CONFIG_WIREGUARD_DEBUG) += -DDEBUG | |
wireguard-y := main.o | |
wireguard-y += noise.o | |
wireguard-y += device.o | |
wireguard-y += peer.o | |
wireguard-y += timers.o | |
wireguard-y += queueing.o | |
wireguard-y += send.o | |
wireguard-y += receive.o | |
wireguard-y += socket.o | |
wireguard-y += peerlookup.o | |
wireguard-y += allowedips.o | |
wireguard-y += ratelimiter.o | |
wireguard-y += cookie.o | |
wireguard-y += netlink.o | |
obj-$(CONFIG_WIREGUARD) := wireguard.o |