add sm502 gdium and loongson2f to Makefile