dey-examples: generalize using platform family

https://jira.digi.com/browse/DEL-1105

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2014-07-16 12:27:08 +02:00
parent b4a589e196
commit d664364858
26 changed files with 15 additions and 15 deletions

View File

@ -26,4 +26,4 @@ do_install() {
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccardimx28js|ccimx51js|ccimx53js)"
COMPATIBLE_MACHINE = "(ccardimx28|ccimx5)"

View File

@ -14,7 +14,7 @@ SRC_URI = "file://opengles"
S = "${WORKDIR}/opengles"
EXTRA_OEMAKE = ""
EXTRA_OEMAKE_mx6 = "EGL_FLAVOUR=${@base_conditional('HAVE_GUI', '1' , 'x11', 'fb', d)}"
EXTRA_OEMAKE_ccimx6 = "EGL_FLAVOUR=${@base_conditional('HAVE_GUI', '1' , 'x11', 'fb', d)}"
do_install () {
oe_runmake DEST_DIR="${D}" install
@ -23,9 +23,9 @@ do_install () {
FILES_${PN} = "/opt/${PN}"
FILES_${PN}-dbg += "/opt/${PN}/.debug"
RDEPENDS_${PN}_mx5 = "lib2dz160-mx51 lib2dz430-mx51"
RDEPENDS_${PN}_mx6 = "libopenvg-mx6"
RDEPENDS_${PN}_ccimx5 = "lib2dz160-mx51 lib2dz430-mx51"
RDEPENDS_${PN}_ccimx6 = "libopenvg-mx6"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccimx51js|ccimx53js|ccimx6adpt|ccimx6sbc)"
COMPATIBLE_MACHINE = "(ccimx5|ccimx6)"

View File

@ -49,4 +49,4 @@ do_install() {
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccimx51js|ccimx53js)"
COMPATIBLE_MACHINE = "(ccimx5)"

View File

@ -16,7 +16,7 @@ python do_warning_spidev() {
}
# Warn the user in case we cannot enable spidev in the device tree
python do_warning_spidev_mxs() {
python do_warning_spidev_ccardimx28() {
if d.getVar('HAVE_GUI', True) and not d.getVar('IS_KERNEL_2X', True):
bb.warn("SPIDEV conflicts with touchscreen so it was not enabled in the device tree")
}

View File

@ -9,11 +9,11 @@ DEPENDS = "virtual/kernel"
PR = "${DISTRO}.r0"
RDEPENDS_${PN}_mx5 = "kernel-module-mt9v111-camera"
RDEPENDS_${PN}_ccimx5 = "kernel-module-mt9v111-camera"
SRC_URI = "file://v4l2_test"
INCLUDE_PATH = "-I${STAGING_KERNEL_DIR}/include"
INCLUDE_PATH_mx6 = "-I${STAGING_KERNEL_DIR}/arch/arm/include -I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"
INCLUDE_PATH_ccimx6 = "-I${STAGING_KERNEL_DIR}/arch/arm/include -I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"
S = "${WORKDIR}/v4l2_test"

View File

@ -22,33 +22,33 @@ RDEPENDS_${PN} = "\
dey-examples-watchdog \
"
RDEPENDS_${PN}_append_mxs = "\
RDEPENDS_${PN}_append_ccardimx28 = "\
${@base_contains("MACHINE_FEATURES", "bluetooth", "dey-examples-bt", "", d)} \
${@base_contains("MACHINE_FEATURES", "bluetooth", "dey-examples-btconfig", "", d)} \
dey-examples-can \
${@base_contains("MACHINE_FEATURES", "bluetooth", "dey-examples-hdp", "", d)} \
"
RDEPENDS_${PN}_append_mx5 = "\
RDEPENDS_${PN}_append_ccimx5 = "\
${@base_contains("MACHINE_FEATURES", "accelerometer", "dey-examples-accelerometer", "", d)} \
${@base_contains("MACHINE_FEATURES", "accel-graphics", "dey-examples-opengles", "", d)} \
dey-examples-sahara \
dey-examples-v4l2 \
"
RDEPENDS_${PN}_append_ccimx51js = "\
RDEPENDS_${PN}_append_ccimx51 = "\
dey-examples-battery \
"
RDEPENDS_${PN}_append_ccimx53js = "\
RDEPENDS_${PN}_append_ccimx53 = "\
dey-examples-can \
"
RDEPENDS_${PN}_append_mx6 = "\
RDEPENDS_${PN}_append_ccimx6 = "\
dey-examples-can \
${@base_contains("MACHINE_FEATURES", "accel-graphics", "dey-examples-opengles", "", d)} \
dey-examples-v4l2 \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccardimx28js|ccimx51js|ccimx53js|ccimx6adpt|ccimx6sbc)"
COMPATIBLE_MACHINE = "(ccardimx28|ccimx5|ccimx6)"