Modify kernel module generation methord from --share to -r.