Disable factory ramdisk if build with mm/mmm

Because factory ramdisk build depends on the global view of all modules.

Change-Id: I51de434e7800ac6e55b0eeca9394361e5e14cd55
This commit is contained in:
Ying Wang 2011-12-21 16:20:12 -08:00
parent c16dbcd8c8
commit 9d5e83d331
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@
# limitations under the License.
#
ifneq (,$(ONE_SHOT_MAKEFILE))
# PRODUCT_FACTORY_RAMDISK_MODULES consists of "<module_name>:<install_path>[:<install_path>...]" tuples.
# <install_path> is relative to TARGET_FACTORY_RAMDISK_OUT.
# We can have multiple <install_path>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