We should include factory ramdisk if one shot makefile is NOT defined.

Change-Id: I92c7f26d13a05c4306c22b2e9e513cdd22e839ce
diff --git a/core/tasks/factory_ramdisk.mk b/core/tasks/factory_ramdisk.mk
index 82b28ac..ecfc4d0 100644
--- a/core/tasks/factory_ramdisk.mk
+++ b/core/tasks/factory_ramdisk.mk
@@ -14,7 +14,7 @@
 # limitations under the License.
 #
 
-ifneq (,$(ONE_SHOT_MAKEFILE))
+ifeq (,$(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.