summaryrefslogtreecommitdiff
path: root/bindings/linux/Makefile
blob: e98aa3c3efcf37a09543381b24e72208d99bcbc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
obj-m = upb.o

upb-objs = \
  setjmp.o \
  ../../upb/upb.o \
  ../../upb/bytestream.o \
  ../../upb/def.o \
  ../../upb/handlers.o \
  ../../upb/table.o \
  ../../upb/refcount.o \
  ../../upb/msg.o \
  ../../upb/pb/decoder.o \
  ../../upb/pb/textprinter.o \
  ../../upb/pb/varint.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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback