> it should use ifeq from Makefile instead of bash, but I don't want to modify too much code since I already modified 62 files , we can file a follow-up bug for it.

I agree we should try to land without changing too much