aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin/Support/makepythoninterface.command
diff options
context:
space:
mode:
Diffstat (limited to 'tools/darwin/Support/makepythoninterface.command')
-rwxr-xr-xtools/darwin/Support/makepythoninterface.command11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/darwin/Support/makepythoninterface.command b/tools/darwin/Support/makepythoninterface.command
new file mode 100755
index 0000000000..50d3a2233b
--- /dev/null
+++ b/tools/darwin/Support/makepythoninterface.command
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [ -d "$XBMC_DEPENDS_ROOT/buildtools-native/bin" ]; then
+ PATH=$PATH:$XBMC_DEPENDS_ROOT/buildtools-native/bin
+else
+ PATH=$PATH:$XBMC_DEPENDS_ROOT/toolchain/bin
+fi
+
+if [ "$ACTION" = build ] ; then
+ make -f ${SRCROOT}/codegenerator.mk
+fi