From 9d5e83d331a3bb39da65e7e376ed779a0fc28d21 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 21 Dec 2011 16:20:12 -0800 Subject: [PATCH] Disable factory ramdisk if build with mm/mmm Because factory ramdisk build depends on the global view of all modules. Change-Id: I51de434e7800ac6e55b0eeca9394361e5e14cd55 --- core/tasks/factory_ramdisk.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/tasks/factory_ramdisk.mk b/core/tasks/factory_ramdisk.mk index a8cc7ebb6..82b28ac9d 100644 --- a/core/tasks/factory_ramdisk.mk +++ b/core/tasks/factory_ramdisk.mk @@ -14,6 +14,8 @@ # limitations under the License. # +ifneq (,$(ONE_SHOT_MAKEFILE)) + # PRODUCT_FACTORY_RAMDISK_MODULES consists of ":[:...]" tuples. # is relative to TARGET_FACTORY_RAMDISK_OUT. # We can have multiple s because multiple modules may have the same name. @@ -67,3 +69,5 @@ $(INSTALLED_FACTORY_RAMDISK_TARGET) : $(MKBOOTFS) \ $(hide) $(MKBOOTFS) $(TARGET_FACTORY_RAMDISK_OUT) | $(MINIGZIP) > $@ endif + +endif # ONE_SHOT_MAKEFILE