#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## bluez5_utils-5.62: target install ##########"
cd /media/seagate_500G/rk3308_linux5.10/buildroot
touch /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.stamp_installed
if [ -r /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.files-list-target.txt ]; then cd /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/target; cat /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.files-list-target.txt | xargs md5sum /dev/null > /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.md5 2>/dev/null || true; cd -; fi
PATH="/media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/host/bin:/media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"  /usr/bin/make -j5 DESTDIR=/media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/target install -C /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/
/usr/bin/install -m 0755 -D package/bluez5_utils/S40bluetooth /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/target/etc/init.d/S40bluetooth
/usr/bin/install -D -m 0755 /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/attrib/gatttool /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/target/usr/bin/gatttool
rm -f -rf  /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/target/share/info/dir
if test -n "" ; then rm -f -f  ; fi
cd /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/target; find . \( -type f -o -type l \) -cnewer /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.stamp_installed | tee /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.files-list-target.txt | tar --no-recursion --ignore-failed-read -cf /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/bluez5_utils-5.62.tar -T -; true;
cd /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/target; if [ -r /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.md5 ]; then md5sum -c /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.md5 2>&1 | grep "FAILED$" | cut -d':' -f1 > /media/seagate_500G/rk3308_linux5.10/buildroot/output/rockchip_rk3308_b_release/build/bluez5_utils-5.62/.files-list-target-update.txt; fi
