mirror of
https://gitee.com/open-loongarch/linux-5.10.git
synced 2026-10-28 05:57:12 +08:00
1.add 2k300_gongkong board support 2.update dht11 driver 3.support EC200A-CN 4G model 4.goodix:reset: reset timing fixing 5.other bugs fix
26 lines
977 B
Makefile
26 lines
977 B
Makefile
# LS CAN FD ip core Linux driver Makefile
|
|
|
|
# Invoked make without parameters for native build for current running kernel
|
|
# Set KERNEL_VERSION variable to compile for specific installed kernel version
|
|
# Exact location of Linux kernel build tree can be chosen by KDIR variable
|
|
# If you build for different CPU architecture than native and you do not
|
|
# use GNUmakefile trick to set CROSS_COMPILE and ARCH then set these to
|
|
# matching values else you do not screw only LS CAN FD build but even
|
|
# base kernel build
|
|
|
|
quiet_cmd_build_lscanfd_dma = GEN $@
|
|
cmd_build_lscanfd_dma = cp $(obj)/lscanfd_dma.o_shipped $@
|
|
|
|
quiet_cmd_build_lscanfd_platform = GEN $@
|
|
cmd_build_lscanfd_platform = cp $(obj)/lscanfd_platform.o_shipped $@
|
|
|
|
$(obj)/lscanfd_dma.o: FORCE
|
|
$(call if_changed,build_lscanfd_dma)
|
|
|
|
$(obj)/lscanfd_platform.o: FORCE
|
|
$(call if_changed,build_lscanfd_platform)
|
|
|
|
obj-$(CONFIG_CAN_LSCANFD) := lscanfd_dma.o
|
|
obj-$(CONFIG_CAN_LSCANFD_PLATFORM) += lscanfd_platform.o
|
|
|