Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 6c7c8088 authored by Robert Nelson's avatar Robert Nelson
Browse files

iot: add the sgx library for a test


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 52c69afe
No related merge requests found
......@@ -165,6 +165,16 @@ repo_rcnee_pkg_list=" \
wireguard-tools \
"
repo_rcnee_sgx="enable"
repo_rcnee_sgx_pkg_list=" \
libdrm-common \
libdrm-omap1 \
libdrm2 \
libwayland-client0 \
libwayland-server0 \
ti-libgbm2 \
"
##
##nodejs: https://github.com/nodesource/distributions
## make sure to add: apt-transport-https
......
......@@ -143,6 +143,13 @@ check_defines () {
include=$(echo ${repo_rcnee_pkg_list} | sed 's/,/ /g' | sed 's/\t/,/g')
deb_additional_pkgs="${deb_additional_pkgs} ${include}"
fi
if [ "x${repo_rcnee_sgx}" = "xenable" ] ; then
if [ ! "x${repo_rcnee_sgx_pkg_list}" = "x" ] ; then
include=$(echo ${repo_rcnee_sgx_pkg_list} | sed 's/,/ /g' | sed 's/\t/,/g')
deb_additional_pkgs="${deb_additional_pkgs} ${include}"
fi
fi
fi
}
......@@ -1205,6 +1212,13 @@ if [ "x${include_firmware}" = "xenable" ] ; then
fi
fi
if [ "x${repo_rcnee_sgx}" = "xenable" ] ; then
sudo mkdir -p "${tempdir}/opt/sgx/"
sudo wget --directory-prefix="${tempdir}/opt/sgx/" http://repos.rcn-ee.net/debian/pool/main/t/ti-sgx-ti33x-ddk-um/ti-sgx-ti33x-ddk-um_1.14.3699939-git20171201.0-0rcnee9~stretch+20190328_armhf.deb
wfile="${tempdir}/opt/sgx/status"
sudo sh -c "echo 'not_installed' >> ${wfile}"
fi
if [ -n "${early_chroot_script}" -a -r "${DIR}/target/chroot/${early_chroot_script}" ] ; then
report_size
echo "Calling early_chroot_script script: ${early_chroot_script}"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment