Home
last modified time | relevance | path

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

/ndk/build/tools/
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"
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 && mkdir -p $SRC_DIR
283 fail_panic "Could not create target source directory: $SRC_DIR"
284 cp $SOURCES_LIST $SRC_DIR/SOURCES
[all …]
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" ] ; …
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; pwd`
103 log "Using source directory: $SRC_DIR"
204 if [ "$POLLY" = "yes" -a ! -d "$SRC_DIR/$TOOLCHAIN/polly" ] ; then
[all …]
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"
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 "$SR…
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/gcc/gcc-$DEFAULT_GCC64_VERSION does not exist"
94 echo "This is not the top of a toolchain tree: $SRC_DIR"
192 (cd "$SRC_DIR" && tar czf - .) | (ssh $REMOTE_HOST tar xzf - -C $TMPREMOTE/toolchain)
[all …]
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"
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"
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_O…
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"
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 \
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/gdb/gdb-$GDB_VERSION"
173 if [ ! -d $SRC_DIR/binutils/binutils-$BINUTILS_VERSION ] ; then
[all …]
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/SOURCES" $TOOLCHAIN_BUILD_PREFIX/$abi
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/…
188 …run $BUILDTOOLS/build-gnu-libstdc++.sh --abis="$ABIS" $FLAGS $GNUSTL_STATIC_VIS_FLAG "$SRC_DIR" --…
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"/configure \
[all …]
Dbuild-ndk-stack.sh48 SRC_DIR=
49 register_var_option "--src-dir=<path>" SRC_DIR "Specify binutils source dir. Must be set for --wit…
63 if [ -z "$SRC_DIR" ]; then
97 BINUTILS_SRC_DIR=$SRC_DIR/binutils/binutils-$RECENT_BINUTILS_VERSION
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/$PKGNAME/configure "$@"
[all …]
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 …OOLS/build-device-llvm.sh $FLAGS --abis=$ABI --gcc-version=$GCC_TOOLCHAIN_VERSION $SRC_DIR $NDK_DIR
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"
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
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"
Dmake-standalone-toolchain.sh632 if [ -n "$SRC_DIR" ]; then
633 ABI_SRC_DIR=$ABI/$SRC_DIR
/ndk/tests/abcc/
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 …IR --build-dir=$BUILD_DIR --out-dir=$ABCC_PREBUILT_ASSETS/$ABI --abi=$ABI --no-sync $FLAGS $SRC_DIR