Home
last modified time | relevance | path

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

/ndk/build/tools/
Dpatch-sources.sh34 SRC_DIR=$1
35 if [ -z "$SRC_DIR" ] ; then
40 if [ ! -d "$SRC_DIR" ] ; then
41 echo "ERROR: Invalid target source directory: $SRC_DIR"
69 log "Applying $PATCHNAME into $SRC_DIR/$PATCHDIR"
70 cd $SRC_DIR/$PATCHDIR && patch -p1 < $PATCHES_DIR/$PATCH
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"
271 SRC_DIR=`cd $SRC_DIR && pwd`
272 rm -rf $SRC_DIR && mkdir -p $SRC_DIR
273 fail_panic "Could not create target source directory: $SRC_DIR"
274 cp $SOURCES_LIST $SRC_DIR/SOURCES
[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"
Dbuild-gcc.sh87 SRC_DIR=`cd $1; pwd`
93 if [ -z "$SRC_DIR" ] ; then
98 if [ ! -d "$SRC_DIR/gcc" ] ; then
99 echo "ERROR: Source directory does not contain gcc sources: $SRC_DIR"
103 log "Using source directory: $SRC_DIR"
138 check_toolchain_src_dir "$SRC_DIR"
140 if [ ! -d $SRC_DIR/gdb/gdb-$GDB_VERSION ] ; then
141 echo "ERROR: Missing gdb sources: $SRC_DIR/gdb/gdb-$GDB_VERSION"
151 if [ ! -d $SRC_DIR/binutils/binutils-$BINUTILS_VERSION ] ; then
152 echo "ERROR: Missing binutils sources: $SRC_DIR/binutils/binutils-$BINUTILS_VERSION"
[all …]
Dbuild-host-prebuilts.sh75 SRC_DIR="$PARAMETERS"
76 if [ -z "$SRC_DIR" ]; then
81 if [ ! -d "$SRC_DIR" ]; then
82 echo "ERROR: Not a directory: '$SRC_DIR'"
86 if [ ! -f "$SRC_DIR/build/configure" -o ! -d "$SRC_DIR/gcc/gcc-$DEFAULT_GCC_VERSION" ]; then
87 echo "ERROR: The file $SRC_DIR/build/configure or"
88 echo " the directory $SRC_DIR/gcc/gcc-$DEFAULT_GCC_VERSION does not exist"
89 echo "This is not the top of a toolchain tree: $SRC_DIR"
177 (cd "$SRC_DIR" && tar czf - .) | (ssh $REMOTE_HOST tar xzf - -C $TMPREMOTE/toolchain)
277 run $BUILDTOOLS/build-host-perl.sh $TOOLCHAIN_FLAGS "$SRC_DIR"
[all …]
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-gdbserver.sh72 SRC_DIR="$1"
78 if [ -z "$SRC_DIR" ] ; then
83 SRC_DIR2="$SRC_DIR/gdb/gdb-$GDB_VERSION/gdb/gdbserver"
85 SRC_DIR="$SRC_DIR2"
86 log "Found gdbserver source directory: $SRC_DIR"
89 if [ ! -f "$SRC_DIR/gdbreplay.c" ] ; then
90 echo "ERROR: Source directory does not contain gdbserver sources: $SRC_DIR"
94 log "Using source directory: $SRC_DIR"
213 run $SRC_DIR/configure \
Dbuild-llvm.sh72 SRC_DIR=`cd $1; pwd`
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" ] ; …
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
99 log "Using source directory: $SRC_DIR"
175 if [ "$POLLY" = "yes" -a ! -d "$SRC_DIR/$TOOLCHAIN/polly" ] ; then
176 dump "Disable polly because $SRC_DIR/$TOOLCHAIN/polly doesn't exist"
[all …]
Drebuild-all-prebuilt.sh79 SRC_DIR="$PARAMETERS"
80 check_toolchain_src_dir "$SRC_DIR"
106 $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS "$SRC_DIR" --try-64
109 $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS "$SRC_DIR"
114 $PROGDIR/build-target-prebuilts.sh $TARGET_FLAGS "$SRC_DIR"
Dbuild-host-gcc.sh1107 local SRC_DIR="$TOP_BUILD_DIR/temp-src"
1110 run2 mkdir -p "$SRC_DIR" &&
1111 run2 tar xjf "$TOOLCHAIN_SRC_DIR/gmp/gmp-$1.tar.bz2" -C "$SRC_DIR"
1117 local SRC_DIR="$TOP_BUILD_DIR/temp-src/gmp-$1"
1129 run2 "$SRC_DIR"/configure \
1142 local SRC_DIR="$TOP_BUILD_DIR/temp-src"
1145 run2 mkdir -p "$SRC_DIR" &&
1146 run2 tar xjf "$TOOLCHAIN_SRC_DIR/mpfr/mpfr-$1.tar.bz2" -C "$SRC_DIR"
1152 local SRC_DIR="$TOP_BUILD_DIR/temp-src/mpfr-$1"
1166 run2 "$SRC_DIR"/configure \
[all …]
Dbuild-target-prebuilts.sh46 SRC_DIR="$PARAMETERS"
47 check_toolchain_src_dir "$SRC_DIR"
82 run $BUILDTOOLS/build-gdbserver.sh "$SRC_DIR" "$NDK_DIR" "$GDB_TOOLCHAIN" $FLAGS
104 run $BUILDTOOLS/build-gnu-libstdc++.sh $FLAGS "$SRC_DIR"
Dbuild-mingw64-toolchain.sh350 if [ ! -d "$SRC_DIR/$PKG_BASENAME" ]; then
351 log "Uncompressing $PKG_URL into $SRC_DIR"
354 run tar xjf $ARCHIVE_DIR/$PKG_NAME -C $SRC_DIR
357 run tar xzf $ARCHIVE_DIR/$PKG_NAME -C $SRC_DIR
369 SRC_DIR=$TEMP_DIR/src
373 mkdir -p $SRC_DIR
421 MINGW_W64_SRC=$SRC_DIR/mingw-w64-svn$MINGW_W64_REVISION2
449 LICENSE_FILES=$(cd $SRC_DIR && find . -name "COPYING*")
451 (tar cf - -C $SRC_DIR $LICENSE_FILES) | (tar xf - -C $LICENSES_DIR)
494 run $SRC_DIR/$PKGNAME/configure "$@"
[all …]
Dbuild-host-python.sh117 if [ ! -d "$SRC_DIR/$PKG_BASENAME" ]; then
118 log "Uncompressing $PKG_URL into $SRC_DIR"
121 run tar xjf $ARCHIVE_DIR/$PKG_NAME -C $SRC_DIR
124 run tar xzf $ARCHIVE_DIR/$PKG_NAME -C $SRC_DIR
Dprebuilt-common.sh1390 local SRC_DIR="$1"
1391 if [ -z "$SRC_DIR" ]; then
1396 if [ ! -d "$SRC_DIR" ]; then
1397 echo "ERROR: Not a directory: '$SRC_DIR'"
1401 if [ ! -f "$SRC_DIR/build/configure" -o ! -d "$SRC_DIR/gcc" ]; then
1402 echo "ERROR: Either the file $SRC_DIR/build/configure or"
1403 echo " the directory $SRC_DIR/gcc does not exist."
1404 echo "This is not the top of a toolchain tree: $SRC_DIR"
Dgen-platforms.sh457 local SRC_DIR="$SRCDIR/$4"
462 if [ ! -d "$SRC_DIR" ]; then
487 for SRC_FILE in $(cd "$SRC_DIR" && ls crt*.[cS]); do
506 …(cd "$SRC_DIR" && $TOOLCHAIN_PREFIX-gcc -O2 -fpic -Wl,-r -nostdlib -o "$DST_DIR/$DST_FILE" $SRC_FI…
508 dump "ERROR: Could not generate $DST_FILE from $SRC_DIR/$SRC_FILE"