Statistics
| Branch: | Tag: | Revision:

mininet / util / sch_htb-ofbuf / Makefile @ b97c0392

History | View | Annotate | Download (483 Bytes)

1
obj-m = sch_htb.o
2
KVERSION = $(shell uname -r)
3
all:
4
	        make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
5
install:
6
		test -e /lib/modules/$(KVERSION)/kernel/net/sched/sch_htb.ko.bak || mv /lib/modules/$(KVERSION)/kernel/net/sched/sch_htb.ko /lib/modules/$(KVERSION)/kernel/net/sched/sch_htb.ko.bak
7
		cp sch_htb.ko /lib/modules/$(KVERSION)/kernel/net/sched/sch_htb.ko
8
		rmmod sch_htb
9
		modprobe sch_htb
10
clean:
11
	        make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean