Support to compile host c sources and enhence to compile target c sources.

N/A

Signed-off-by: liminghao <liminghao@xiaomi.com>