loki: Standardize ifeq logic among makefiles

* Also resolve a typo.

Change-Id: Ic32740db8a9216751b5735ad472a7fcc48e6a738
2 files changed