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