mirror of https://github.com/probonopd/MiniDexed
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
515 B
32 lines
515 B
1 year ago
|
#!/bin/bash
|
||
|
|
||
|
echo "Zipping boot files..."
|
||
|
|
||
|
DEST="build/sdcard"
|
||
|
|
||
|
mkdir -p ${DEST}
|
||
|
|
||
|
cp -r ./external/circle-stdlib/libs/circle/boot/* ${DEST}
|
||
|
rm -rf \
|
||
|
${DEST}/README \
|
||
|
${DEST}/config*.txt \
|
||
|
${DEST}/Makefile \
|
||
|
${DEST}/armstub \
|
||
|
${DEST}/COPYING.linux
|
||
|
|
||
|
cp \
|
||
|
build/kernels/* \
|
||
|
src/config.txt \
|
||
|
src/*img \
|
||
|
src/minidexed.ini \
|
||
|
src/performance.ini \
|
||
|
${DEST}
|
||
|
|
||
|
echo "usbspeed=full" > ${DEST}/cmdline.txt
|
||
|
|
||
|
cp build/kernels/* ${DEST}
|
||
|
|
||
|
zip -r build/MiniDexed_$(date +%Y-%m-%d).zip ${DEST}/*
|
||
|
|
||
|
echo " Done."
|