Searched refs:SRC_DIR (Results 1 - 22 of 22) sorted by relevance

/ndk/build/tools/
H A Dpatch-sources.sh37 SRC_DIR=$1
38 if [ -z "$SRC_DIR" ] ; then
43 if [ ! -d "$SRC_DIR" ] ; then
44 echo "ERROR: Invalid target source directory: $SRC_DIR"
78 log "Applying $PATCHNAME into $SRC_DIR/$PATCHDIR"
79 cd $SRC_DIR/$PATCHDIR && patch $REVERSE -p1 < $PATCHES_DIR/$PATCH
H A Dbuild-analyzer.sh42 SRC_DIR="$1"
48 if [ -z "$SRC_DIR" ] ; then
53 SCAN_BUILD_SRC_DIR=$SRC_DIR/$TOOLCHAIN/clang/tools/scan-build
59 SCAN_VIEW_SRC_DIR=$SRC_DIR/$TOOLCHAIN/clang/tools/scan-view
65 LICENSE_FILE=$SRC_DIR/$TOOLCHAIN/clang/LICENSE.TXT
71 log "Using source directory: $SRC_DIR"
H A Dbuild-host-yasm.sh42 SRC_DIR="$1"
47 if [ -z "$SRC_DIR" ] ; then
52 if [ ! -d "$SRC_DIR/yasm" ] ; then
53 echo "ERROR: Source directory does not contain llvm sources: $SRC_DIR/yasm"
57 SRC_DIR=`cd $SRC_DIR; pwd`
58 log "Using source directory: $SRC_DIR"
90 mkdir -p "$BUILD_OUT/src" && copy_directory "$SRC_DIR/yasm" "$BUILD_OUT/src"
H A Ddownload-toolchain-sources.sh98 SRC_DIR="$PARAMETERS"
99 if [ -z "$SRC_DIR" -a "$OPTION_PACKAGE" = no ] ; then
104 if [ -n "$SRC_DIR" ] ; then
105 mkdir -p $SRC_DIR
106 SRC_DIR=`cd $SRC_DIR && pwd`
107 log "Using target source directory: $SRC_DIR"
281 SRC_DIR=`cd $SRC_DIR && pwd`
282 rm -rf $SRC_DIR
[all...]
H A Dbuild-host-perl.sh60 SRC_DIR="$1"
64 if [ -z "$SRC_DIR" ] ; then
69 if [ ! -d "$SRC_DIR/perl/perl-$PERL_VERSION" ] ; then
70 echo "ERROR: Source directory does not contain perl sources: $SRC_DIR/perl/perl-$PERL_VERSION"
74 log "Using source directory: $SRC_DIR"
91 run copy_directory "$SRC_DIR/perl/perl-$PERL_VERSION" "$BUILD_OUT"
92 fail_panic "Could not copy perl source $SRC_DIR/perl/perl-$PERL_VERSION to build directory $BUILD_OUT"
H A Drebuild-all-prebuilt.sh89 SRC_DIR="$PARAMETERS"
90 check_toolchain_src_dir "$SRC_DIR"
125 $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS "$SRC_DIR" --try-64
128 $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS "$SRC_DIR"
133 $PROGDIR/build-target-prebuilts.sh $TARGET_FLAGS "$SRC_DIR"
H A Dbuild-host-prebuilts.sh79 SRC_DIR="$PARAMETERS"
80 if [ -z "$SRC_DIR" ]; then
85 if [ ! -d "$SRC_DIR" ]; then
86 echo "ERROR: Not a directory: '$SRC_DIR'"
90 if [ ! -f "$SRC_DIR/build/configure" -o ! -d "$SRC_DIR/gcc/gcc-$DEFAULT_GCC32_VERSION" -o ! -d "$SRC_DIR/gcc/gcc-$DEFAULT_GCC64_VERSION" ]; then
91 echo "ERROR: The file $SRC_DIR/build/configure or"
92 echo " the directory $SRC_DIR/gcc/gcc-$DEFAULT_GCC32_VERSION or"
93 echo " $SRC_DIR/gc
[all...]
H A Dbuild-compiler-rt.sh43 SRC_DIR=
44 register_var_option "--src-dir=<path>" SRC_DIR "Specify compiler-rt source dir."
91 if [ -z "$SRC_DIR" -o ! -d "$SRC_DIR" ]; then
92 dump "Could not found compiler-rt source directory: $SRC_DIR"
99 COMPILER_RT_CFLAGS=$COMPILER_RT_CFLAGS" -I$SRC_DIR/include -I$SRC_DIR/lib"
103 COMPILER_RT_GENERIC_SOURCES=$(cd $SRC_DIR && ls lib/*.c)
218 builder_set_srcdir "$SRC_DIR"
H A Dbuild-gdbserver.sh68 SRC_DIR="$1"
75 if [ -z "$SRC_DIR" ] ; then
86 SRC_DIR2="$SRC_DIR/gdb/gdb-$GDBVER/gdb/gdbserver"
88 SRC_DIR="$SRC_DIR2"
89 log "Found gdbserver source directory: $SRC_DIR"
92 if [ ! -f "$SRC_DIR/gdbreplay.c" ] ; then
93 echo "ERROR: Source directory does not contain gdbserver sources: $SRC_DIR"
97 log "Using source directory: $SRC_DIR"
211 run $SRC_DIR/configure \
H A Dbuild-llvm.sh72 SRC_DIR="$1"
78 if [ -z "$SRC_DIR" ] ; then
83 if [ ! -d "$SRC_DIR/$TOOLCHAIN/llvm" ] ; then
84 echo "ERROR: Source directory does not contain llvm sources: $SRC_DIR/$TOOLCHAIN/llvm"
88 if [ -e "$SRC_DIR/$TOOLCHAIN/llvm/tools/polly" -a ! -h "$SRC_DIR/$TOOLCHAIN/llvm/tools/polly" ] ; then
89 echo "ERROR: polly, if exist, needs to be a symbolic link: $SRC_DIR/$TOOLCHAIN/llvm/tools/polly"
93 GMP_SOURCE=$SRC_DIR/gmp/gmp-$GMP_VERSION.tar.bz2
98 SRC_DIR=`cd $SRC_DIR; pw
[all...]
H A Dbuild-target-prebuilts.sh50 SRC_DIR="$PARAMETERS"
51 check_toolchain_src_dir "$SRC_DIR"
52 SRC_DIR=`cd $SRC_DIR; pwd`
102 run $BUILDTOOLS/build-gdbserver.sh "$SRC_DIR" "$NDK_DIR" "$GDB_TOOLCHAIN" "$GDB_VERSION" $FLAGS
112 run $BUILDTOOLS/build-compiler-rt.sh --abis="$ABIS" $FLAGS --src-dir="$SRC_DIR/llvm-$DEFAULT_LLVM_VERSION/compiler-rt" \
152 run $BUILDTOOLS/build-gnu-libstdc++.sh --abis="$ABIS" $FLAGS $GNUSTL_STATIC_VIS_FLAG "$SRC_DIR"
154 run $BUILDTOOLS/build-gnu-libstdc++.sh --abis="$ABIS" $FLAGS $GNUSTL_STATIC_VIS_FLAG "$SRC_DIR" --with-debug-info
H A Dbuild-ndk-stack.sh48 SRC_DIR=
49 register_var_option "--src-dir=<path>" SRC_DIR "Specify binutils source dir. Must be set for --with-libbfd"
63 if [ -z "$SRC_DIR" ]; then
97 BINUTILS_SRC_DIR=$SRC_DIR/binutils/binutils-$RECENT_BINUTILS_VERSION
H A Dbuild-gcc.sh97 SRC_DIR="$1"
103 if [ -z "$SRC_DIR" ] ; then
108 if [ ! -d "$SRC_DIR/gcc" ] ; then
109 echo "ERROR: Source directory does not contain gcc sources: $SRC_DIR"
112 SRC_DIR=`cd $SRC_DIR; pwd`
113 log "Using source directory: $SRC_DIR"
160 check_toolchain_src_dir "$SRC_DIR"
162 if [ ! -d $SRC_DIR/gdb/gdb-$GDB_VERSION ] ; then
163 echo "ERROR: Missing gdb sources: $SRC_DIR/gd
[all...]
H A Dbuild-device-llvm.sh72 SRC_DIR="$1"
78 if [ -z "$SRC_DIR" ] ; then
83 if [ ! -d "$SRC_DIR/$TOOLCHAIN/llvm" ] ; then
84 echo "ERROR: Source directory does not contain llvm sources: $SRC_DIR/$TOOLCHAIN/llvm"
88 SRC_DIR=`cd $SRC_DIR; pwd`
89 log "Using source directory: $SRC_DIR"
135 run copy_directory "$SRC_DIR/mclinker" "$MCLINKER_SRC_DIR"
208 run $SRC_DIR/$TOOLCHAIN/llvm/configure \
281 run cp "$SRC_DIR/SOURCE
[all...]
H A Dbuild-host-gcc.sh1075 local SRC_DIR="$TOP_BUILD_DIR/temp-src"
1078 run2 mkdir -p "$SRC_DIR" &&
1079 run2 tar xjf "$TOOLCHAIN_SRC_DIR/gmp/gmp-$1.tar.bz2" -C "$SRC_DIR"
1085 local SRC_DIR="$TOP_BUILD_DIR/temp-src/gmp-$1"
1097 run2 "$SRC_DIR"/configure \
1110 local SRC_DIR="$TOP_BUILD_DIR/temp-src"
1113 run2 mkdir -p "$SRC_DIR" &&
1114 run2 tar xjf "$TOOLCHAIN_SRC_DIR/mpfr/mpfr-$1.tar.bz2" -C "$SRC_DIR"
1120 local SRC_DIR="$TOP_BUILD_DIR/temp-src/mpfr-$1"
1134 run2 "$SRC_DIR"/configur
[all...]
H A Dbuild-mingw64-toolchain.sh373 if [ ! -d "$SRC_DIR/$PKG_BASENAME" ]; then
374 log "Uncompressing $PKG_URL into $SRC_DIR"
377 run tar xjf $ARCHIVE_DIR/$PKG_NAME -C $SRC_DIR
380 run tar xzf $ARCHIVE_DIR/$PKG_NAME -C $SRC_DIR
392 SRC_DIR=$TEMP_DIR/src
396 mkdir -p $SRC_DIR
444 MINGW_W64_SRC=$SRC_DIR/mingw-w64-svn$MINGW_W64_REVISION2
472 LICENSE_FILES=$(cd $SRC_DIR && find . -name "COPYING*")
474 (tar cf - -C $SRC_DIR $LICENSE_FILES) | (tar xf - -C $LICENSES_DIR)
517 run $SRC_DIR/
[all...]
H A Dbuild-on-device-toolchain.sh57 SRC_DIR="$PARAMETERS"
58 check_toolchain_src_dir "$SRC_DIR"
122 dump "Build $ABI LLVM toolchain from $SRC_DIR ..."
123 run $BUILDTOOLS/build-device-llvm.sh $FLAGS --abis=$ABI --gcc-version=$GCC_TOOLCHAIN_VERSION $SRC_DIR $NDK_DIR
H A Dprebuilt-common.sh1535 local SRC_DIR="$1"
1536 if [ -z "$SRC_DIR" ]; then
1541 if [ ! -d "$SRC_DIR" ]; then
1542 echo "ERROR: Not a directory: '$SRC_DIR'"
1546 if [ ! -f "$SRC_DIR/build/configure" -o ! -d "$SRC_DIR/gcc" ]; then
1547 echo "ERROR: Either the file $SRC_DIR/build/configure or"
1548 echo " the directory $SRC_DIR/gcc does not exist."
1549 echo "This is not the top of a toolchain tree: $SRC_DIR"
H A Dbuild-host-python.sh166 if [ ! -d "$SRC_DIR/$PKG_BASENAME" ]; then
167 log "Uncompressing $PKG_URL into $SRC_DIR"
170 run tar xjf $ARCHIVE_DIR/$PKG_NAME -C $SRC_DIR
173 run tar xzf $ARCHIVE_DIR/$PKG_NAME -C $SRC_DIR
H A Dgen-platforms.sh509 local SRC_DIR="$SRCDIR/$4"
515 if [ ! -d "$SRC_DIR" ]; then
533 for SRC_FILE in $(cd "$SRC_DIR" && ls crt*.[cS]); do
559 (cd "$SRC_DIR" && $CC \
566 dump "ERROR: Could not generate $DST_FILE from $SRC_DIR/$SRC_FILE"
H A Dmake-standalone-toolchain.sh606 local SRC_DIR=$5
609 if [ -n "$SRC_DIR" ]; then
610 ABI_SRC_DIR=$ABI/$SRC_DIR
/ndk/tests/abcc/
H A Dbuild-abcc.sh47 SRC_DIR=$DEFAULT_TMP_SRC_DIR
48 register_var_option "--src-dir=<path>" SRC_DIR "Specify an existing toolchain source"
93 test "$SRC_DIR" != "$DEFAULT_TMP_SRC_DIR" && check_toolchain_src_dir "$SRC_DIR"
94 test "$SRC_DIR" = "$DEFAULT_TMP_SRC_DIR" && run $BUILDTOOLS/download-toolchain-sources.sh $SRC_DIR
97 run $BUILDTOOLS/build-on-device-toolchain.sh --ndk-dir=$NDK_DIR --build-dir=$BUILD_DIR --out-dir=$ABCC_PREBUILT_ASSETS/$ABI --abi=$ABI --no-sync $FLAGS $SRC_DIR

Completed in 991 milliseconds