"make dist" should not try to package apps for embedded builds

Change-Id: Icbe522737f7b8a44c8a458b32678fe0472b94dff
diff --git a/core/main.mk b/core/main.mk
index d424b25..fd9ac10 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -852,6 +852,7 @@
   $(foreach f,$(INSTALLED_RADIOIMAGE_TARGET), \
     $(call dist-for-goals, droidcore, $(f)))
 
+  ifneq ($(ANDROID_BUILD_EMBEDDED),true)
   ifneq ($(TARGET_BUILD_PDK),true)
     $(call dist-for-goals, droidcore, \
       $(APPS_ZIP) \
@@ -859,6 +860,7 @@
       $(PACKAGE_STATS_FILE) \
     )
   endif
+  endif
 
   ifeq ($(EMMA_INSTRUMENT),true)
     $(EMMA_META_ZIP) : $(INSTALLED_SYSTEMIMAGE)