Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.466 kb
ifeq ($(KERNELRELEASE),)
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
.PHONY: build clean
build:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
gcc ioctl_test.c -o ioctl_test
gcc output_packets.c -o output_packets -lpcap
clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c
rm -rf ioctl_test output_packets
else
$(info Building with KERNELRELEASE = ${KERNELRELEASE})
obj-m := khial.o
khial-objs := khial_main.o khial_ethtool.o
endif
Jump to Line
Something went wrong with that request. Please try again.