github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/gadgets/trace/tcpdrop/tracer/dropreasongen/Makefile (about) 1 KERNEL_VERSION ?= v6.2 2 URL ?= https://raw.githubusercontent.com/torvalds/linux/$(KERNEL_VERSION)/include/net/dropreason.h 3 4 # If a new release of Linux adds new entries in dropreason.h, you can use this 5 # to update the copy in Inspektor Gadget. 6 .PHONY: download 7 download: 8 rm -f dropreason.h 9 curl -f --output dropreason.h $(URL) 10 (echo "// Downloaded from $(URL)" ; cat dropreason.h) | sponge dropreason.h