linuxOS_D21X/source/linux-5.10/drivers/input/touchscreen/gt911/mk
2024-11-29 16:13:46 +08:00

12 lines
347 B
Plaintext

obj-m := gt911.o #要生成的模块名
gt911-objs := ts.o init-input.o
KERNEL_DIR := ../../../../linux-4.9.138
PWD := $(shell pwd)
default:
make -C $(KERNEL_DIR) M=$(PWD) ARCH=arm CROSS_COMPILE=/home/sharedir/X5/arm-toolchain/ext-toolchain/bin/arm-linux-gnueabi- modules
clean:
make -C $(KERNEL_DIR) SUBDIRS=$(PWD) clean