Disable EC generation when no support

Change-Id: I1d03afa0a37cfa2779e1264aaf16052c6539640f