From: Masahiro Yamada Date: Wed, 16 Jul 2014 07:12:20 +0000 (+0900) Subject: kbuild: fix a bug of C++ host program handling X-Git-Tag: omap-for-v3.17/fixes-against-rc2~61^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb950c17de09ed04be1ed2c451ba207e3b0a29b;p=pandora-kernel.git kbuild: fix a bug of C++ host program handling The comment claims: C++ executables compiled from at least one .cc file and zero or more .c files But C++ executables with zero .c file fail in build. For example, assume we have a Makefile like this: hostprogs-y := foo foo-cxxobjs := bar.o In this case, foo is treated as host-csingle and Kbuild tries to search non-existing foo.c source. Signed-off-by: Masahiro Yamada Signed-off-by: Michal Marek --- Reading git-diff-tree failed