mirror of https://github.com/OpenIPC/composer.git
Update workplace scripts
parent
fc506ace20
commit
1eec042e02
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
LANG=C
|
||||||
|
BTIME="/tmp/btime"
|
||||||
|
RESULT="hi3518ev200_lite"
|
||||||
|
|
||||||
|
|
||||||
|
cd ../../openipc
|
||||||
|
pwd
|
||||||
|
|
||||||
|
|
||||||
|
echo "The start-stop times for build ${RESULT}" >${BTIME}
|
||||||
|
date >>${BTIME}
|
||||||
|
make BOARD=${RESULT} distclean
|
||||||
|
make BOARD=${RESULT} all
|
||||||
|
date >>${BTIME}
|
||||||
|
cat ${BTIME}
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd ../../openipc
|
||||||
|
pwd
|
||||||
|
|
||||||
|
|
||||||
|
rm -rf \
|
||||||
|
output/per-package/webrtc-audio-processing \
|
||||||
|
output/build/webrtc-audio-processing-*
|
||||||
|
|
||||||
|
BOARD=gk7205v200_ultimate_baresip make br-webrtc-audio-processing-{dirclean,rebuild}
|
||||||
|
|
||||||
|
|
||||||
|
rm -rf \
|
||||||
|
output/per-package/libre-openipc \
|
||||||
|
output/per-package/librem-openipc \
|
||||||
|
output/per-package/baresip-openipc \
|
||||||
|
output/build/libre-openipc-* \
|
||||||
|
output/build/librem-openipc-* \
|
||||||
|
output/build/baresip-openipc-*
|
||||||
|
|
||||||
|
BOARD=gk7205v200_ultimate_baresip make br-baresip-openipc-{dirclean,rebuild}
|
|
@ -4,6 +4,13 @@ cd ../../openipc
|
||||||
pwd
|
pwd
|
||||||
|
|
||||||
|
|
||||||
|
rm -rf \
|
||||||
|
output/per-package/alsa-utils \
|
||||||
|
output/build/alsa-utils-* \
|
||||||
|
|
||||||
|
BOARD=msc313e_lite_baresip make br-alsa-utils-{dirclean,rebuild}
|
||||||
|
|
||||||
|
|
||||||
rm -rf \
|
rm -rf \
|
||||||
output/per-package/libre-openipc \
|
output/per-package/libre-openipc \
|
||||||
output/per-package/librem-openipc \
|
output/per-package/librem-openipc \
|
||||||
|
@ -13,10 +20,3 @@ rm -rf \
|
||||||
output/build/baresip-openipc-*
|
output/build/baresip-openipc-*
|
||||||
|
|
||||||
BOARD=msc313e_lite_baresip make br-baresip-openipc-{dirclean,rebuild}
|
BOARD=msc313e_lite_baresip make br-baresip-openipc-{dirclean,rebuild}
|
||||||
|
|
||||||
|
|
||||||
rm -rf \
|
|
||||||
output/per-package/alsa-utils \
|
|
||||||
output/build/alsa-utils-* \
|
|
||||||
|
|
||||||
BOARD=msc313e_lite_baresip make br-alsa-utils-{dirclean,rebuild}
|
|
|
@ -3,6 +3,7 @@
|
||||||
cd ../../openipc
|
cd ../../openipc
|
||||||
pwd
|
pwd
|
||||||
|
|
||||||
|
|
||||||
rm -rf \
|
rm -rf \
|
||||||
output/per-package/libre-openipc \
|
output/per-package/libre-openipc \
|
||||||
output/per-package/librem-openipc \
|
output/per-package/librem-openipc \
|
|
@ -0,0 +1,27 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
MODEL=gk7205v200
|
||||||
|
FLAVOR=ultimate
|
||||||
|
|
||||||
|
|
||||||
|
cd ../../openipc/output/images
|
||||||
|
pwd
|
||||||
|
|
||||||
|
|
||||||
|
if [ -e uImage ]; then
|
||||||
|
mv uImage uImage.${MODEL}
|
||||||
|
md5sum uImage.${MODEL} > uImage.${MODEL}.md5sum
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e rootfs.squashfs ]; then
|
||||||
|
mv rootfs.squashfs rootfs.squashfs.${MODEL}
|
||||||
|
md5sum rootfs.squashfs.${MODEL} > rootfs.squashfs.${MODEL}.md5sum
|
||||||
|
fi
|
||||||
|
|
||||||
|
tar czf openipc.${MODEL}-nor-${FLAVOR}.tgz \
|
||||||
|
uImage.${MODEL} uImage.${MODEL}.md5sum \
|
||||||
|
rootfs.squashfs.${MODEL} rootfs.squashfs.${MODEL}.md5sum
|
||||||
|
|
||||||
|
ls -la uImage.${MODEL} rootfs.squashfs.${MODEL} openipc.${MODEL}-nor-${FLAVOR}.tgz
|
||||||
|
|
||||||
|
cd -
|
|
@ -0,0 +1,27 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
MODEL=t31
|
||||||
|
FLAVOR=lite
|
||||||
|
|
||||||
|
|
||||||
|
cd ../../openipc/output/images
|
||||||
|
pwd
|
||||||
|
|
||||||
|
|
||||||
|
if [ -e uImage ]; then
|
||||||
|
mv uImage uImage.${MODEL}
|
||||||
|
md5sum uImage.${MODEL} > uImage.${MODEL}.md5sum
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e rootfs.squashfs ]; then
|
||||||
|
mv rootfs.squashfs rootfs.squashfs.${MODEL}
|
||||||
|
md5sum rootfs.squashfs.${MODEL} > rootfs.squashfs.${MODEL}.md5sum
|
||||||
|
fi
|
||||||
|
|
||||||
|
tar czf openipc.${MODEL}-nor-${FLAVOR}.tgz \
|
||||||
|
uImage.${MODEL} uImage.${MODEL}.md5sum \
|
||||||
|
rootfs.squashfs.${MODEL} rootfs.squashfs.${MODEL}.md5sum
|
||||||
|
|
||||||
|
ls -la uImage.${MODEL} rootfs.squashfs.${MODEL} openipc.${MODEL}-nor-${FLAVOR}.tgz
|
||||||
|
|
||||||
|
cd -
|
Loading…
Reference in New Issue