]>
Commit | Line | Data |
---|---|---|
f1a1da6c A |
1 | #!/bin/bash -e |
2 | # install the pthread lldbmacros into the module | |
3 | ||
4 | mkdir -p $DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME/Contents/Resources/Python || true | |
214d78a2 A |
5 | rsync -aq $SRCROOT/lldbmacros/* $DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME/Contents/Resources/Python |
6 | ||
7 | for variant in $BUILD_VARIANTS; do | |
8 | case $variant in | |
9 | normal) | |
10 | SUFFIX="" | |
11 | ;; | |
12 | *) | |
13 | SUFFIX="_$variant" | |
14 | ;; | |
15 | esac | |
16 | ||
17 | ln -sf init.py $DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME/Contents/Resources/Python/$EXECUTABLE_NAME$SUFFIX.py | |
18 | done | |
c6e5f90c A |
19 | |
20 | if test "$PLATFORM_NAME" != macosx; then | |
21 | mkdir -p $DSTROOT/AppleInternal/KextObjects/Python/$MODULE_NAME || true | |
22 | rsync -aq $SRCROOT/lldbmacros/* $DSTROOT/AppleInternal/KextObjects/Python/$MODULE_NAME | |
23 | ln -sf init.py $DSTROOT/AppleInternal/KextObjects/Python/$MODULE_NAME/$EXECUTABLE_NAME.py | |
24 | fi |