summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-pkgs.sh4
-rw-r--r--scripts/xbmc-fix.sh7
2 files changed, 11 insertions, 0 deletions
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh
index f5322f16b..7fa68822a 100644
--- a/scripts/scan-pkgs.sh
+++ b/scripts/scan-pkgs.sh
@@ -179,6 +179,10 @@ if [[ -n $ADK_PACKAGE_GLIB ]]; then
NEED_GETTEXT="$NEED_GETTEXT glib"
fi
+if [[ -n $ADK_PACKAGE_BCM2835_VC ]]; then
+ NEED_CMAKE="$NEED_CMAKE bcm2835-vc"
+fi
+
if [[ -n $ADK_PACKAGE_YAJL ]]; then
NEED_RUBY="$NEED_RUBY yajl"
NEED_CMAKE="$NEED_CMAKE yajl"
diff --git a/scripts/xbmc-fix.sh b/scripts/xbmc-fix.sh
new file mode 100644
index 000000000..1c690be66
--- /dev/null
+++ b/scripts/xbmc-fix.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+IFS="
+"
+for i in $(find . -name '*)' -print );do
+ j=$(printf "$i"|sed -e 's# ##' -e 's#(#_#' -e 's#)##')
+ mv $i $j
+done