am 99505268: am 20b970e2: Merge "Issue warning when "make snod" with dexpreopt enabled."

* commit '9950526875f3b71c764a6d39623842e3c26416db':
  Issue warning when "make snod" with dexpreopt enabled.
diff --git a/core/Makefile b/core/Makefile
index 8d4278d..71140fd 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -829,6 +829,12 @@
 	$(call build-systemimage-target,$(INSTALLED_SYSTEMIMAGE))
 	$(hide) $(call assert-max-image-size,$(INSTALLED_SYSTEMIMAGE),$(BOARD_SYSTEMIMAGE_PARTITION_SIZE),yaffs)
 
+ifneq (,$(filter systemimage-nodeps snod, $(MAKECMDGOALS)))
+ifeq (true,$(WITH_DEXPREOPT))
+$(warning Warning: with dexpreopt enabled, you may need a full rebuild.)
+endif
+endif
+
 #######
 ## system tarball
 define build-systemtarball-target