remove ro and sr from Makefile

fix build error due to removing ro ad sr folder
ref: #1949 and #1950