Changeset b501de7 in mainline for tools/xcw/bin/helenos-cc


Ignore:
Timestamp:
2018-11-26T13:55:51Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b555f0f
Parents:
5aa06ad
git-author:
Jiri Svoboda <jiri@…> (2018-11-25 17:54:21)
git-committer:
Jiri Svoboda <jiri@…> (2018-11-26 13:55:51)
Message:

XCW should rely on export dir instead of touching the source tree. Allow specifying alternate export dir. Add more exported libraries (yes, I know).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/xcw/bin/helenos-cc

    r5aa06ad rb501de7  
    3434XCW="$(dirname "$0")"
    3535SRC_ROOT="$XCW/../../.."
     36if [ -z "$EXPORT_DIR" ]; then
     37        EXPORT_DIR="$SRC_ROOT/uspace/export"
     38fi
    3639UARCH="$("$XCW"/helenos-bld-config --uarch)"
    3740CC="$("$XCW"/helenos-bld-config --cc)"
     
    4952    "$@" \
    5053    -I"$XCW"/../include \
    51     -I"$SRC_ROOT"/uspace/lib/c/include \
    52     -I"$SRC_ROOT"/abi/include \
    53     -I"$SRC_ROOT"/uspace/lib/c/arch/"$UARCH"/include
     54    -I"$EXPORT_DIR"/include/libc \
     55    -I"$EXPORT_DIR"/include
Note: See TracChangeset for help on using the changeset viewer.