mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 19:53:18 -04:00
add class driver source files. also register iap audio sink. usbstack/iap/libiap directory is imported from libiap. Change-Id: I776c5caec33fe9efadc448e2e3b37d500bf19c9f
17 lines
334 B
Bash
Executable file
17 lines
334 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
url=https://github.com/mojyack/libiap.git
|
|
src=/tmp/libiap
|
|
dst=$PWD/libiap
|
|
|
|
if [[ ! -e $src ]]; then
|
|
git clone "$url" "$src"
|
|
else
|
|
git -C "$src" pull
|
|
fi
|
|
|
|
rsync --recursive --delete "$src/src/iap/" "$dst/" --exclude /README.rockbox
|
|
cp "$src/LICENSE" "$dst/LICENSE"
|
|
git -C "$src" rev-parse HEAD > "$dst/HEAD"
|