Merge "Add /file_contexts.bin only to devices which need it"
diff --git a/core/Makefile b/core/Makefile
index b0a03b5..cf0aa4a 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -835,7 +835,7 @@
 endif
 endif
 
-SELINUX_FC := $(TARGET_ROOT_OUT)/file_contexts.bin
+SELINUX_FC := $(call intermediates-dir-for,ETC,file_contexts.bin)/file_contexts.bin
 INTERNAL_USERIMAGES_DEPS += $(SELINUX_FC)
 
 INTERNAL_USERIMAGES_DEPS += $(BLK_ALLOC_TO_BASE_FS)