mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-15 20:43:49 +07:00
Support Orange Pi Zero3
This commit is contained in:
10
external/packages/bsp/common/usr/src/hello/Makefile
vendored
Executable file
10
external/packages/bsp/common/usr/src/hello/Makefile
vendored
Executable 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
|
||||
Reference in New Issue
Block a user