转自 https://www.cnblogs.com/jiangzhaowei/p/7602334.html

 

ifeq ($(CONFIG_NVME_CUSE),y)
SYS_LIBS += -lfuse3
endif

ifeq ($(CONFIG_FUSE),y)
SYS_LIBS += -lfuse3
endif

可以改为:

ifneq ($(CONFIG_NVME_CUSE)$(CONFIG_FUSE),)
SYS_LIBS += -lfuse3
endif

相关文章: