cmd_eeprom: Move conditional compilation to Makefile