enable shellcheck

Fix shellcheck issues in gen_makefile and enable.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I24e6290c21cd6afd02385609d96e93522fd53380
2 files changed