Support Orange Pi Zero3

This commit is contained in:
orangepi-xunlong
2023-02-16 19:46:49 +08:00
parent 8499305fe0
commit 5b98978bd1
89 changed files with 56014 additions and 901 deletions

View File

@@ -0,0 +1,10 @@
ifneq ($(KERNELRELEASE),)
obj-m:=hello.o
else
KDIR :=/lib/modules/$(shell uname -r)/build
PWD :=$(shell pwd)
all:
make -C $(KDIR) M=$(PWD) modules
clean:
rm -f *.ko *.o *.mod.o *.mod *.symvers *.cmd *.mod.c *.order
endif