support autoexport..

Signed-off-by: JerrieLau <jerrietm@gmail.com>