#@TYPE: Machine
-#@NAME: Motorola EZX A780
-#@DESCRIPTION: Machine configuration for the Motorola GSM phone A780
+#@NAME: Motorola EZX A780, Motorola EZX E680, Motorola EZX E680i
+#@DESCRIPTION: Machine configuration for the Motorola GSM phones A780, E680, and E680i
-include conf/machine/include/motorola-ezx.conf
+require conf/machine/include/motorola-ezx.conf
TARGET_ARCH = "arm"
IPKG_EXTRA_ARCHS = "armv4 armv5te"
ROOT_FLASH_SIZE = "24"
-# EXTRA_IMAGEDEPENDS += "ezx-updater"
+EXTRA_IMAGEDEPENDS += "ezx-boot-over-usb-native"
# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
include conf/machine/include/tune-xscale.conf
-#@TYPE: Machine
-#@NAME: Motorola EZX E680
-#@DESCRIPTION: Machine configuration for the Motorola GSM phone E680
-
-require conf/machine/a780.conf
-
+WARNING:="${@bb.fatal('\n*\n*\n* Sorry, There is no dedicated configuration for the Motorola EZX E680,\n* because \
+of the similarities between A780 and E680-clamshell series. Use MACHINE = \"a780\".\n*\n*\n')}"
# choose the proper kernel for this hardware
-PREFERRED_PROVIDER_virtual/kernel = "linux-ezx"
+PREFERRED_PROVIDER_virtual/kernel = "ezx-kernels"
# we don't need support for kernel 2.4
MODUTILS = "26"
# build tar.gz for SD/MMC/Transflash and jffs2 for later when we have mtd
IMAGE_FSTYPES = "tar.gz jffs2"
-BOOTSTRAP_EXTRA_DEPENDS += "ezx-boot-usb-native"
-
-BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils apm irda-utils udev-utils ppp ppp-dialin module-init-tools ezx-gpiotool"
+BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils apm irda-utils udev-utils ppp ppp-dialin module-init-tools"
#
# disable all modules until we have something that boots...