target: mdm9640: Change target to 9640

Renaming files to add support for mdm9640

Change-Id: If9bd2d7d6e7182782c919c46b6492bf2a62e8387
diff --git a/project/mdm9640.mk b/project/mdm9640.mk
new file mode 100644
index 0000000..c8381c3
--- /dev/null
+++ b/project/mdm9640.mk
@@ -0,0 +1,46 @@
+# top level project rules for the mdm9640 project
+#
+LOCAL_DIR := $(GET_LOCAL_DIR)
+
+TARGET := mdm9640
+
+ifeq ($(TARGET_BUILD_VARIANT),user)
+DEBUG := 0
+else
+DEBUG := 1
+endif
+
+ENABLE_USB30_SUPPORT := 1
+ENABLE_SDHCI_SUPPORT := 1
+ENABLE_BOOT_CONFIG_SUPPORT := 1
+
+MODULES += app/aboot
+
+#DEFINES += WITH_DEBUG_DCC=1
+DEFINES += WITH_DEBUG_UART=1
+#DEFINES += WITH_DEBUG_FBCON=1
+DEFINES += DEVICE_TREE=1
+DEFINES += SPMI_CORE_V2=1
+DEFINES += BAM_V170=1
+DEFINES += USE_BOOTDEV_CMDLINE=1
+DEFINES += USE_MDM_BOOT_CFG=1
+DEFINES += USE_TARGET_HS200_CAPS=1
+
+ifeq ($(ENABLE_USB30_SUPPORT),1)
+DEFINES += USB30_SUPPORT=1
+endif
+
+ifeq ($(ENABLE_SDHCI_SUPPORT),1)
+DEFINES += MMC_SDHCI_SUPPORT=1
+endif
+
+#disable Thumb mode for the codesourcery/arm-2011.03 toolchain
+ENABLE_THUMB := false
+
+#Override linker for mdm targets
+LD := $(TOOLCHAIN_PREFIX)ld.bfd
+
+ENABLE_SMD_SUPPORT := 1
+ifeq ($(ENABLE_SMD_SUPPORT),1)
+DEFINES += SMD_SUPPORT=1
+endif