3.6.10 and 2.6.30.1 ruby compile OK.
refactor build error rectifilers
use unused var
Merge branch 'topic/21_porting' into v1-devel
change echo  > -> echo -n >