# Use make M=dir to specify directory of external module to build # Old syntax make ... SUBDIRS=$PWD is still supported # Setting the environment variable KBUILD_EXTMOD take precedence ifdef SUBDIRS
KBUILD_EXTMOD ?= $(SUBDIRS) endif ifdef M //如果没有定义或赋值M,此处M未定义(undefined)