Skip to content

Commit

Permalink
com.webos.service.{ai,camera,contextintentmgr,tts}, g-camera-pipeline…
Browse files Browse the repository at this point in the history
…: don't append to COMPATIBLE_MACHINE

:Release Notes:
The append will append the value to the overriden variable, which isn't
what these COMPATIBLE_MACHINE restrictions should do here.

:Detailed Notes:
See bitbake -e output:
  # $COMPATIBLE_MACHINE [5 operations]
  #   set oe-core/meta/conf/documentation.conf:112
  #     [doc] "A regular expression that resolves to one or more target machines with which a recipe is compatible."
  #   set meta-webos/recipes-webos/com.webos.service.ai/com.webos.service.ai.bb:12
  #     "^raspberrypi3$"
  #   _append meta-webos/recipes-webos/com.webos.service.ai/com.webos.service.ai.bb:16
  #     "|^raspberrypi4$"
  #   override[raspberrypi3-64]:set meta-webos/recipes-webos/com.webos.service.ai/com.webos.service.ai.bb:13
  #     "^$"
  #   override[raspberrypi4-64]:set meta-webos/recipes-webos/com.webos.service.ai/com.webos.service.ai.bb:17
  #     "^$"
  # pre-expansion value:
  #   "^$|^raspberrypi4$"
  COMPATIBLE_MACHINE="^\$|^raspberrypi4\$"

Fixes:
ERROR: Nothing PROVIDES 'libgoogleassistant' (but meta-webos/recipes-webos/com.webos.service.ai/com.webos.service.ai.bb DEPENDS on or otherwise requires it)
libgoogleassistant was skipped: incompatible with machine raspberrypi4-64 (not in COMPATIBLE_MACHINE)
ERROR: Nothing RPROVIDES 'com.webos.service.ai' (but meta-webos/recipes-webos/com.webos.service.ai/com.webos.service.ai.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'com.webos.service.ai'
NOTE: Runtime target 'com.webos.service.ai' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['com.webos.service.ai']
ERROR: Nothing RPROVIDES 'com.webos.service.ai-dev' (but meta-webos/recipes-webos/com.webos.service.ai/com.webos.service.ai.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'com.webos.service.ai-dev'
NOTE: Runtime target 'com.webos.service.ai-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['com.webos.service.ai-dev']

:Testing Performed:

:QA Notes:

:Issues Addressed:
[PLAT-101120] CCC: Blacklist failing recipes

Change-Id: I4f04261b43402e9e3081b30269cf01a08fa93fa2
  • Loading branch information
shr-project committed Feb 25, 2020
1 parent 2529f34 commit c4f1bdd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2019 LG Electronics, Inc.
# Copyright (c) 2018-2020 LG Electronics, Inc.

SUMMARY = "Ai service for voice/face/gesture recognition"
AUTHOR = "Kyungjik Min <[email protected]>"
Expand All @@ -9,11 +9,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
DEPENDS = "glib-2.0 luna-service2 json-c pmloglib libgoogleassistant"

# libgoogleassistant contains prebuilt binaries useful only on raspberrypi3
COMPATIBLE_MACHINE = "^raspberrypi3$"
COMPATIBLE_MACHINE = "^raspberrypi3$|^raspberrypi4$"
COMPATIBLE_MACHINE_raspberrypi3-64 = "^$"

# Build for raspberrypi4
COMPATIBLE_MACHINE_append = "|^raspberrypi4$"
COMPATIBLE_MACHINE_raspberrypi4-64 = "^$"

WEBOS_VERSION = "1.0.0-6_34af70c0f579ecea63d0e430183e0a20c47953d7"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019 LG Electronics, Inc.
# Copyright (c) 2019-2020 LG Electronics, Inc.

SUMMARY = "Camera service framework to control camera devices"
AUTHOR = "Gururaj Patil"
Expand All @@ -23,13 +23,7 @@ inherit webos_daemon
SRC_URI = "${WEBOSOSE_GIT_REPO_COMPLETE}"
S = "${WORKDIR}/git"

COMPATIBLE_MACHINE = "^raspberrypi3$"

# Build for raspberrypi4
COMPATIBLE_MACHINE_append = "|^raspberrypi4$"

# Build for qemux86
COMPATIBLE_MACHINE_append = "|^qemux86$"
COMPATIBLE_MACHINE = "^raspberrypi3$|^raspberrypi4$|^qemux86$"

FILES_${PN} += "${libdir}/*.so"
FILES_SOLIBSDEV = ""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2019 LG Electronics, Inc.
# Copyright (c) 2018-2020 LG Electronics, Inc.

SUMMARY = "Node-red based context intent manager (CIM)"
AUTHOR = "Tirthadeep Roy <[email protected]>"
Expand All @@ -8,11 +8,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7ca

DEPENDS = "nodejs-module-node-red"

COMPATIBLE_MACHINE = "^raspberrypi3$"
COMPATIBLE_MACHINE = "^raspberrypi3$|^raspberrypi4$"
COMPATIBLE_MACHINE_raspberrypi3-64 = "^$"

# Build for raspberrypi4
COMPATIBLE_MACHINE_append = "|^raspberrypi4$"
COMPATIBLE_MACHINE_raspberrypi4-64 = "^$"

WEBOS_VERSION = "1.0.0-10_e9a95ccce0f12254dd762b7ad552cf0f569ba02a"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2019 LG Electronics, Inc.
# Copyright (c) 2018-2020 LG Electronics, Inc.

SUMMARY = "webOS text to speech service"
SECTION = "webos/base"
Expand All @@ -8,11 +8,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7ca

DEPENDS = "glib-2.0 luna-service2 libpbnjson pmloglib json-c pulseaudio googleapis grpc"

COMPATIBLE_MACHINE = "^raspberrypi3$"
COMPATIBLE_MACHINE = "^raspberrypi3$|^raspberrypi4$"
COMPATIBLE_MACHINE_raspberrypi3-64 = "^$"

# Build for raspberrypi4
COMPATIBLE_MACHINE_append = "|^raspberrypi4$"
COMPATIBLE_MACHINE_raspberrypi4-64 = "^$"

WEBOS_VERSION = "1.0.0-8_37f76248398c1ba14d961812879a589a9edfdb27"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019 LG Electronics, Inc.
# Copyright (c) 2020 LG Electronics, Inc.

SUMMARY = "g-camera-pipeline is a player which uses GStreamer"
AUTHOR = "Praveen P <[email protected]>"
Expand All @@ -25,10 +25,8 @@ SRC_URI = "${WEBOSOSE_GIT_REPO_COMPLETE}"
S = "${WORKDIR}/git/"

# See the restrictions in CMakeLists.txt
COMPATIBLE_MACHINE = "^raspberrypi3$"
COMPATIBLE_MACHINE = "^raspberrypi3$|^raspberrypi4$"

# Build for raspberrypi4
COMPATIBLE_MACHINE_append = "|^raspberrypi4$"
# From http://gpro.lge.com/251819
SRC_URI += "file://0001-Add-raspberrypi4-and-raspberrypi4-64-targets.patch"

Expand Down

0 comments on commit c4f1bdd

Please sign in to comment.