diff options
Diffstat (limited to 'utils/mbgl-config/build.sh')
-rwxr-xr-x | utils/mbgl-config/build.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/mbgl-config/build.sh b/utils/mbgl-config/build.sh new file mode 100755 index 0000000000..4fd4a93cfc --- /dev/null +++ b/utils/mbgl-config/build.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +PREFIX=$1 +PLATFORM=$2 + +VARIABLES="#!/bin/bash + +## variables + +CONFIG_MBGL_PREFIX=$PREFIX +CONFIG_MBGL_PLATFORM=$PLATFORM +" + +echo "$VARIABLES" | cat - utils/mbgl-config/mbgl-config.template.sh \ + > $PREFIX/bin/mbgl-config + +chmod 755 $PREFIX/bin/mbgl-config |