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

Change-Id: I711dbfb0d98a5e8a4d784d3ee6f3f9cfdc926209
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.