Is there any way to make the build system to considers .cpp extension as C++
code as well ?
Just looking at the build system code in l4/mk/binary.inc -> Adding
BID_ALLOW_CPP_AS_CPLUSPLUS_FILE=y
to your Makefile should let you put .cpp files in SRC_CC.
Bjoern