[chibios] update makefile rules