Skip to content

Commit

Permalink
sgx: pretty up
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <[email protected]>
  • Loading branch information
RobertCNelson committed Jun 4, 2015
1 parent 1c043c9 commit 7ed87e9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions sgx_create_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ build_sgx_modules () {

installing_sgx_modules () {
echo "-----------------------------"
echo "Installing es$2 modules"
echo "-----------------------------"
# echo "Installing es$2 modules"
# echo "-----------------------------"
cd "${DIR}/ignore/ti-sdk-pvr/Graphics_SDK/"

DESTDIR="${DIR}/deploy/$2"
Expand All @@ -198,9 +198,9 @@ installing_sgx_modules () {
mkdir -p ${DESTDIR}/etc/init.d/ || true
mkdir -p ${DESTDIR}/opt/ || true

mkdir -p ${DESTDIR}/opt/gfxmodules/gfx_rel_es$2 || true
cp -v "${DIR}"/ignore/ti-sdk-pvr/Graphics_SDK/gfx_rel_es$2/*.ko ${DESTDIR}/opt/gfxmodules/gfx_rel_es$2 || true
echo "-----------------------------"
# mkdir -p ${DESTDIR}/opt/gfxmodules/gfx_rel_es$2 || true
# cp -v "${DIR}"/ignore/ti-sdk-pvr/Graphics_SDK/gfx_rel_es$2/*.ko ${DESTDIR}/opt/gfxmodules/gfx_rel_es$2 || true
# echo "-----------------------------"

INSTALL_HOME="${DIR}/ignore/SDK_BIN/"
GRAPHICS_INSTALL_DIR="${INSTALL_HOME}Graphics_SDK_setuplinux_${sdk_version}"
Expand All @@ -224,6 +224,10 @@ installing_sgx_modules () {
cd ${DESTDIR}/
tar czf ${DIR}/deploy/GFX_${SDK}_es${2}.tar.gz *
cd "${DIR}/ignore/ti-sdk-pvr/Graphics_SDK/"

echo "-----------------------------"
echo "GFX archive: deploy/GFX_${SDK}_es${2}.tar.gz"
echo "-----------------------------"
}

if [ ! -f ${DIR}/system.sh ] ; then
Expand Down

0 comments on commit 7ed87e9

Please sign in to comment.