How can I add a new target for tvm?

If I want to add a new target for tvm, which will generate C source-code cross-compiled by my local g++ compiler into a .so ,what should I do?

cross ref Will TVM suppurt GCC as an optional CPU compiler?