make xxx Is a directory. Stop. 的原因

编译内核时候的一个错误提示
make: ***    arm/kernel.git/arch/arm: Is a directory.  Stop.
这个错误是由在Makefile的 
ARCH ?= $(SUBARCH)
这行的后面多了一个空格造成的。
所以,在编辑Makefile时候,每行结尾,一定要确认没有空格,直接是换行。
转自:http://cornsea.blogspot.com/2009/02/make-xxx-is-directory-stop.html
原文地址:https://www.cnblogs.com/hnrainll/p/2086749.html