blob: 1736b61f3647f526199edfd4a52f73df8a771f42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
obj-m = upb.o
upb-objs = \
../../upb/upb.o \
../../upb/bytestream.o \
../../upb/def.o \
../../upb/handlers.o \
../../upb/table.o \
../../upb/refcount.o \
../../upb/msg.o \
KVERSION = $(shell uname -r)
ccflags-y := -I$(PWD) -I$(PWD)/../.. -Wno-declaration-after-statement -std=gnu99
all:
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
|