support framework & define

Signed-off-by: TZ <atian25@qq.com>