build: add mkimage tool and support to search host depencence libraries.

N/A

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