Commit 75f774b2 authored by Timo Teräs's avatar Timo Teräs

main/raspberrypi: fix build on builders

Remove bash dependency. Any shall will do.
parent 0d54ca29
...@@ -18,6 +18,11 @@ source="raspberrypi-$pkgver.tar.gz::https://github.com/raspberrypi/userland/arch ...@@ -18,6 +18,11 @@ source="raspberrypi-$pkgver.tar.gz::https://github.com/raspberrypi/userland/arch
builddir="$srcdir"/userland-$_commitid builddir="$srcdir"/userland-$_commitid
prepare() {
default_prepare
sed -i 's/ bash / sh /g' host_applications/linux/apps/raspicam/CMakeLists.txt
}
build() { build() {
cd "$builddir" cd "$builddir"
case "$CARCH" in case "$CARCH" in
...@@ -34,7 +39,7 @@ build() { ...@@ -34,7 +39,7 @@ build() {
package() { package() {
cd "$builddir" cd "$builddir"
make install DESTDIR="$pkgdir" || return 1 make install DESTDIR="$pkgdir"
# nuke the unwanted stuff # nuke the unwanted stuff
rm -rf "$pkgdir"/opt/vc/src rm -rf "$pkgdir"/opt/vc/src
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment