Use make macros to reduce this file to a one-liner

All device makefiles are named as TARGET_PRODUCT.mk.  Use that to our
advantage to replace the long, boring, error-prone ifeq/endif ladder.

Change-Id: If10eee6f527a6b2b54dc8dfb44dee15236441003