linux_driver/EmbedCharDev/1_SupportMoreDev/Makefile
2024-11-19 11:37:38 +08:00

15 lines
247 B
Makefile

KERNEL_DIR=../../../kernel/
ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu-
export ARCH CROSS_COMPILE
obj-m := 1_SupportMoreDev.o
all:
$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) modules
.PHONY:clean
clean:
$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) clean