ccardimx28js removal: simplify dey-examples

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2017-08-02 10:54:24 +02:00
parent 58480d6dff
commit be58e0c849
6 changed files with 11 additions and 29 deletions

View File

@ -1,4 +1,4 @@
# Copyright (C) 2013,2017 Digi International.
# Copyright (C) 2013-2017, Digi International Inc.
SUMMARY = "DEY examples: application to transfer data over bluetooth"
SECTION = "examples"
@ -22,4 +22,4 @@ do_install() {
install -m 0755 bt_test ${D}${bindir}
}
COMPATIBLE_MACHINE = "(ccardimx28|ccimx6$|ccimx6ul)"
COMPATIBLE_MACHINE = "(ccimx6$|ccimx6ul)"

View File

@ -1,4 +1,4 @@
# Copyright (C) 2013,2017 Digi International.
# Copyright (C) 2013-2017, Digi International Inc.
SUMMARY = "DEY examples: application to perform low level bluetooth"
SECTION = "examples"
@ -22,4 +22,4 @@ do_install() {
install -m 0755 btconfig ${D}${bindir}
}
COMPATIBLE_MACHINE = "(ccardimx28|ccimx6$|ccimx6ul)"
COMPATIBLE_MACHINE = "(ccimx6$|ccimx6ul)"

View File

@ -1,4 +1,4 @@
# Copyright (C) 2013,2017 Digi International.
# Copyright (C) 2013-2017, Digi International Inc.
SUMMARY = "DEY examples: CAN bus test application"
SECTION = "examples"
@ -18,4 +18,4 @@ do_install() {
install -m 0755 can_test ${D}${bindir}
}
COMPATIBLE_MACHINE = "(ccardimx28|ccimx6$|ccimx6ul)"
COMPATIBLE_MACHINE = "(ccimx6$|ccimx6ul)"

View File

@ -1,4 +1,4 @@
# Copyright (C) 2013 Digi International.
# Copyright (C) 2013-2017, Digi International Inc.
SUMMARY = "DEY examples: bluetooth health profile test application"
SECTION = "examples"
@ -16,4 +16,4 @@ do_install() {
RDEPENDS_${PN} = "python3 python3-argparse python3-crypt python3-dbus python3-pygobject"
COMPATIBLE_MACHINE = "(ccardimx28|ccimx6$|ccimx6ul)"
COMPATIBLE_MACHINE = "(ccimx6$|ccimx6ul)"

View File

@ -1,4 +1,4 @@
# Copyright (C) 2013,2017 Digi International.
# Copyright (C) 2013-2017, Digi International Inc.
SUMMARY = "DEY examples: SPI device driver test application"
SECTION = "examples"
@ -9,17 +9,6 @@ SRC_URI = "file://spidev_test"
S = "${WORKDIR}/spidev_test"
python do_warning_spidev() {
pass
}
# Warn the user in case we cannot enable spidev in the device tree
python do_warning_spidev_ccardimx28() {
if d.getVar('HAVE_GUI', True):
bb.warn("SPIDEV conflicts with touchscreen so it was not enabled in the device tree")
}
addtask warning_spidev before do_compile
do_compile() {
${CC} -O2 -Wall ${LDFLAGS} spidev_test.c -o spidev_test
}

View File

@ -1,4 +1,4 @@
# Copyright (C) 2013-2017 Digi International.
# Copyright (C) 2013-2017, Digi International Inc.
SUMMARY = "DEY examples packagegroup"
@ -16,13 +16,6 @@ RDEPENDS_${PN} = "\
dey-examples-watchdog \
"
RDEPENDS_${PN}_append_ccardimx28 = "\
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "dey-examples-bt", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "dey-examples-btconfig", "", d)} \
dey-examples-can \
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "dey-examples-hdp", "", d)} \
"
RDEPENDS_${PN}_append_ccimx6 = "\
awsiotsdk-demo \
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "dey-examples-bt", "", d)} \
@ -46,4 +39,4 @@ RDEPENDS_${PN}_append_ccimx6ul = "\
dey-examples-tamper \
"
COMPATIBLE_MACHINE = "(ccardimx28|ccimx6$|ccimx6ul)"
COMPATIBLE_MACHINE = "(ccimx6$|ccimx6ul)"