Update makefile and reltool for v2.2.2
back to master branch