Move the SM patches to buildroot rather than a seperate repo