Skip to content

Instantly share code, notes, and snippets.

@alprut
Created May 5, 2024 03:30
Show Gist options
  • Save alprut/a74788c28a17208e5544aebbcc3993be to your computer and use it in GitHub Desktop.
Save alprut/a74788c28a17208e5544aebbcc3993be to your computer and use it in GitHub Desktop.
.SUFFIXES: .ko
CFLAGS_MODULE += -DCONFIG_NET_FOU_IP_TUNNELS
obj-m:= fou.o sit.o ip_tunnel.o
all: fou.ko sit.ko ip_tunnel.ko
.c.ko:
make -C /lib/modules/`uname -r`/build M=/home/alprut/proj/tunnel/test CONFIG_IPV6=y CONFIG_NET_FOU_IP_TUNNELS=y modules
@alprut
Copy link
Author

alprut commented May 5, 2024

Add a Makefile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment