Skip to content
Snippets Groups Projects
Commit c5f40128 authored by Pete Tucker's avatar Pete Tucker
Browse files

Revert "Add meta-iot-cloud to Yocto build"

This reverts commit 75fa3769.
parent e13533cd
No related branches found
No related tags found
No related merge requests found
#Override meta-iot-cloud recipes' get_jdk_home phython function to ensure the
#function selects the opensdk rather than the openjre directory. Also add
#missing RDEPENDS
def get_jdk_home(d):
jdk_home = d.getVar("STAGING_LIBDIR", True)
jdk_home += "/jvm/"
if os.path.exists(jdk_home):
for child in os.listdir(jdk_home):
if "openjdk" in str(child):
test_path = os.path.join(jdk_home, child)
if os.path.isdir(test_path):
jdk_home = test_path
break
return jdk_home
#Extra line needed to make meta-iot-cloud/recipes-devtools/nodejs/nodejs-shared_
#6.10.3.bb build properly under poky.
DISABLE_STATIC=""
#need to remove license warning during Yocto build
LICENSE = "LGPL-2.1"
#AFAICT, poky installs either ld-linux.so.3 or ld-linux-armhf.so in /lib
#depending on whether hardware floating point is enabled or not. At the
#moment, the Vesta images are build using soft fp, so ld-linux.so.3 is
#included in the RFS, and during the build, all components accessing this
#library are linked to use ld-linux.so.3 rather than ld-linux-armhf.so.
#Unfortunately, Google's node-red contribution for their cloud service includes
#a pre-compiled binary that is dynamically linked to ld-linux-armhf.so. To
#get around this problem, it is necessary to intall a symbolic link in /lib
#that redirects ld-linux-armhf.so to ld-linux.so.3. Since ld-linux-armhf.so
#and ld-linux.so.3 support the same API, I presume this will not cause any
#runtime issues, other than perhaps slower than desired performance of the
#google node-red components.
do_install() {
install -d ${D}/lib
ln -sfT /lib/ld-linux.so.3 ${D}/lib/ld-linux-armhf.so
}
FILES_${PN} += " \
/lib/ld-linux-armhf.so \
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment