make xxx Is a directory. Stop.

转自:make xxx Is a directory. Stop. 的原因

make xxx Is a directory. Stop. 的原因

编译内核时候的一个错误提示

make: ***    arm/kernel.git/arch/arm: Is a directory.  Stop.

这个错误是由在Makefile的

ARCH ?= $(SUBARCH)

这行的后面多了一个空格造成的。

在编辑Makefile时候,每行结尾,一定要确认没有空格,直接是换行。

原文地址:https://www.cnblogs.com/amanlikethis/p/3665455.html