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 if [ -d $SRC_DIR/$PATCHDIR ]; then
79 log "Applying $PATCHNAME into $SRC_DIR/$PATCHDIR"
80 cd $SRC_DIR/$PATCHDIR && patch $REVERSE -p1 < $PATCHES_DIR/$PATCH
83 echo "Ignore non-existance $SRC_DIR/$PATCHDIR"
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 Drebuild-all-prebuilt.sh89 SRC_DIR="$PARAMETERS"
90 check_toolchain_src_dir "$SRC_DIR"
132 echo "COMMAND: $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS $SRC_DIR --try-64"
133 $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS "$SRC_DIR" --try-64
136 echo "COMMAND: $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS $SRC_DIR"
137 $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS "$SRC_DIR"
164 echo "COMMAND: $PROGDIR/build-target-prebuilts.sh $TARGET_FLAGS $SRC_DIR"
165 $PROGDIR/build-target-prebuilts.sh $TARGET_FLAGS "$SRC_DIR"
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 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/builtins/*.c)
236 builder_set_srcdir "$SRC_DIR"
H A Dbuild-gdbserver.sh70 SRC_DIR="$1"
77 if [ -z "$SRC_DIR" ] ; then
88 SRC_DIR2="$SRC_DIR/gdb/gdb-$GDBVER/gdb/gdbserver"
90 SRC_DIR="$SRC_DIR2"
91 log "Found gdbserver source directory: $SRC_DIR"
94 if [ ! -f "$SRC_DIR/gdbreplay.c" ] ; then
95 echo "ERROR: Source directory does not contain gdbserver sources: $SRC_DIR"
99 log "Using source directory: $SRC_DIR"
208 run $SRC_DIR/configure \
H A Dbuild-llvm.sh76 SRC_DIR="$1"
82 if [ -z "$SRC_DIR" ] ; then
87 if [ ! -d "$SRC_DIR/$TOOLCHAIN/llvm" ] ; then
88 echo "ERROR: Source directory does not contain llvm sources: $SRC_DIR/$TOOLCHAIN/llvm"
92 if [ -e "$SRC_DIR/$TOOLCHAIN/llvm/tools/polly" -a ! -h "$SRC_DIR/$TOOLCHAIN/llvm/tools/polly" ] ; then
93 echo "ERROR: polly, if exist, needs to be a symbolic link: $SRC_DIR/$TOOLCHAIN/llvm/tools/polly"
97 GMP_SOURCE=$SRC_DIR/gmp/gmp-$GMP_VERSION.tar.bz2
102 SRC_DIR=`cd $SRC_DIR; pw
[all...]
H A Dbuild-target-prebuilts.sh77 SRC_DIR="$PARAMETERS"
78 check_toolchain_src_dir "$SRC_DIR"
79 SRC_DIR=`cd $SRC_DIR; pwd`
143 run $BUILDTOOLS/build-gdbserver.sh "$SRC_DIR" "$NDK_DIR" "$GDB_TOOLCHAIN" "$GDB_VERSION" $FLAGS
153 run $BUILDTOOLS/build-compiler-rt.sh --abis="$ABIS" $FLAGS --src-dir="$SRC_DIR/llvm-$LLVM_VERSION/compiler-rt" $BUILD_TOOLCHAIN
188 run $BUILDTOOLS/build-gnu-libstdc++.sh --abis="$ABIS" $FLAGS $GNUSTL_STATIC_VIS_FLAG "$SRC_DIR" --with-debug-info $STDCXX_GCC_VERSIONS
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"
209 run $SRC_DIR/$TOOLCHAIN/llvm/configure \
277 run cp "$SRC_DIR/SOURCE
[all...]
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-host-gcc.sh1014 local SRC_DIR="$TOP_BUILD_DIR/temp-src"
1017 run2 mkdir -p "$SRC_DIR" &&
1018 run2 tar xjf "$TOOLCHAIN_SRC_DIR/gmp/gmp-$1.tar.bz2" -C "$SRC_DIR"
1024 local SRC_DIR="$TOP_BUILD_DIR/temp-src/gmp-$1"
1036 run2 "$SRC_DIR"/configure \
1049 local SRC_DIR="$TOP_BUILD_DIR/temp-src"
1052 run2 mkdir -p "$SRC_DIR" &&
1053 run2 tar xjf "$TOOLCHAIN_SRC_DIR/mpfr/mpfr-$1.tar.bz2" -C "$SRC_DIR"
1059 local SRC_DIR="$TOP_BUILD_DIR/temp-src/mpfr-$1"
1073 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.sh1603 local SRC_DIR="$1"
1604 if [ -z "$SRC_DIR" ]; then
1609 if [ ! -d "$SRC_DIR" ]; then
1610 echo "ERROR: Not a directory: '$SRC_DIR'"
1614 if [ ! -f "$SRC_DIR/build/configure" -o ! -d "$SRC_DIR/gcc" ]; then
1615 echo "ERROR: Either the file $SRC_DIR/build/configure or"
1616 echo " the directory $SRC_DIR/gcc does not exist."
1617 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.sh518 local SRC_DIR="$SRCDIR/$4"
524 if [ ! -d "$SRC_DIR" ]; then
546 for SRC_FILE in $(cd "$SRC_DIR" && ls crt*.[cS]); do
572 (cd "$SRC_DIR" && $CC \
579 dump "ERROR: Could not generate $DST_FILE from $SRC_DIR/$SRC_FILE"
H A Dmake-standalone-toolchain.sh629 local SRC_DIR=$5
632 if [ -n "$SRC_DIR" ]; then
633 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 81 milliseconds