Disable factory ramdisk if build with mm/mmm

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

Change-Id: I5b35821cd287b70702191f3c30be6735d3339544
This commit is contained in:
Ying Wang 2011-12-21 16:20:12 -08:00
parent 931a099a4c
commit 9f0e3c9658
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