build packages in target directory

N/A

Change-Id: I37ace1335dedfd383e72dafc0eb62a213e219459
Signed-off-by: liuhuahang <liuhuahang@zerus.co>