checking build system type... Invalid configuration `make': machine `make-unknown' not recognized
手动执行./configure没有问题,makefile中执行./configure有上面这个提示,原因:语法问题,末层没有分号 ; 以及一行换多行的斜杠 \
另外makefile多行的这种,尽量不要注释#加斜杠\
问题2:
make: Entering directory
../../linux/Makefile:239: Extraneous text after `else' directive
../../linux/Makefile:243: *** only one `else' per conditional. Stop.
查看239行内容为:else ifeq
解决过程:
查看make --version 看到make 版本是3.80,不支持这种语法。
到gnu上下载make-3.81.tar.gz
tar -xf make-3.81.tar.gz
cd make-3.81
./configure (没有执行权限则chmod u+x configure)
make
make install (如果提示某文件缺少执行权限按提示加上权限,如chmod a+x config/install-sh)
再次查询make --version