diff options
author | Ying Wang <wangying@google.com> | 2011-12-21 16:20:12 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2011-12-21 16:24:30 -0800 |
commit | 9f0e3c9658f124d96e7a9927e96eb0bbdaca7425 (patch) | |
tree | 2f13f73c3d5eeea5a2069f4c2fb560a275d4137d /core/tasks | |
parent | 931a099a4c56a1efadbc341ed6f8740c15f1aa75 (diff) | |
download | build-9f0e3c9658f124d96e7a9927e96eb0bbdaca7425.zip build-9f0e3c9658f124d96e7a9927e96eb0bbdaca7425.tar.gz build-9f0e3c9658f124d96e7a9927e96eb0bbdaca7425.tar.bz2 |
Disable factory ramdisk if build with mm/mmm
Because factory ramdisk build depends on the global view of all modules.
Change-Id: I5b35821cd287b70702191f3c30be6735d3339544
Diffstat (limited to 'core/tasks')
-rw-r--r-- | core/tasks/factory_ramdisk.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/tasks/factory_ramdisk.mk b/core/tasks/factory_ramdisk.mk index a8cc7eb..82b28ac 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 "<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 |