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:21:42 -0800 |
commit | 9d5e83d331a3bb39da65e7e376ed779a0fc28d21 (patch) | |
tree | 81de34c9f5bcb4b5caeb40c1ce48a1aefbaa3b19 | |
parent | c16dbcd8c8518fe19a87c5ec71866e0336a2cf5d (diff) | |
download | build-9d5e83d331a3bb39da65e7e376ed779a0fc28d21.zip build-9d5e83d331a3bb39da65e7e376ed779a0fc28d21.tar.gz build-9d5e83d331a3bb39da65e7e376ed779a0fc28d21.tar.bz2 |
Disable factory ramdisk if build with mm/mmm
Because factory ramdisk build depends on the global view of all modules.
Change-Id: I51de434e7800ac6e55b0eeca9394361e5e14cd55
-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 |