mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-23 22:02:04 +08:00
161005a0c1
date: 2025-11-19T19:10:11 master commit: a29fdbd02407d41ecbcc69d151bb4837bfba3cbc
15 lines
380 B
Makefile
15 lines
380 B
Makefile
obj-m += spidev_panda.o
|
|
|
|
KDIR := /lib/modules/$(shell uname -r)/build
|
|
PWD := $(shell pwd)
|
|
|
|
# GCC9 bug, apply kernel patch instead?
|
|
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0b999ae3614d09d97a1575936bcee884f912b10e
|
|
ccflags-y := -Wno-missing-attributes
|
|
|
|
default:
|
|
$(MAKE) -C $(KDIR) M=$(PWD) modules
|
|
|
|
clean:
|
|
$(MAKE) -C $(KDIR) M=$(PWD) clean
|