Remove sdm845-userdebug build target

Remove the common sdm845-userdebug build target.
Move the common device configs to device-common.mk and
{beryllium,enchilada}/device.mk file.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/enchilada/device.mk b/enchilada/device.mk
index 1454d29..9b87fee 100644
--- a/enchilada/device.mk
+++ b/enchilada/device.mk
@@ -14,11 +14,15 @@
 # limitations under the License.
 #
 
+PRODUCT_COPY_FILES := \
+    $(LOCAL_PATH)/fstab.ramdisk:$(TARGET_COPY_OUT_RAMDISK)/fstab.enchilada \
+    $(LOCAL_PATH)/fstab.ramdisk:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.enchilada \
+    device/generic/sdm845/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.enchilada.rc \
+    device/generic/sdm845/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.enchilada.usb.rc \
+    device/generic/sdm845/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/enchilada.kl
+
 # Build generic Audio HAL
-PRODUCT_PACKAGES := audio.primary.$(TARGET_DEVICE)
+PRODUCT_PACKAGES := audio.primary.enchilada
 
 # Build generic lights HAL
-PRODUCT_PACKAGES += lights.$(TARGET_DEVICE)
-
-RAMDISK_FSTAB_TARGET := $(LOCAL_PATH)/fstab.ramdisk
-$(call inherit-product, device/generic/sdm845/sdm845/device.mk)
+PRODUCT_PACKAGES += lights.enchilada