sdm845: fix makefile guard and alphabetize
Change-Id: Ifb0ba72d92b535d712b522f0db345cc4e9cdb35d
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/Android.mk b/Android.mk
index 32fa53c..c735535 100644
--- a/Android.mk
+++ b/Android.mk
@@ -20,7 +20,7 @@
# to only building on ARM if they include assembly. Individual makefiles
# are responsible for having their own logic, for fine-grained control.
-ifneq ($(filter enchilada beryllium sdm845, $(TARGET_BOARD_PLATFORM)),)
+ifneq ($(filter beryllium enchilada sdm845, $(TARGET_DEVICE)),)
LOCAL_PATH := $(call my-dir)