#@TYPE: Machine
#@NAME: h1940
#@DESCRIPTION: Machine configuration for the HP iPAQ h1930 and h1940

IPKG_ARCHS = "all arm h3900 ${MACHINE}"
TARGET_ARCH = arm
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-h1940"
PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
BOOTSTRAP_EXTRA_DEPENDS = "udev virtual/kernel modutils-collateral module-init-tools"
BOOTSTRAP_EXTRA_RDEPENDS = "udev kernel kernel-modules modutils-collateral module-init-tools"

HANDHELD_MODULES = "fat vfat nfs \
bluetooth rfcomm bnep l2cap hci_uart \
irda irlan irtty ircomm ircomm-tty \
"

BOOTSTRAP_EXTRA_DEPENDS += "apmd wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz scap network-suspend-scripts"
BOOTSTRAP_EXTRA_RDEPENDS +=  "apm apmd network-suspend-scripts"
BOOTSTRAP_EXTRA_RRECOMMENDS += "wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz scap ${@linux_module_packages('${HANDHELD_MODULES}', d)}"

INHERIT += "linux_modules"