Home
last modified time | relevance | path

Searched refs:SRC_DIR (Results 1 – 18 of 18) 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"
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-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-compiler-rt.sh43 SRC_DIR=
44 register_var_option "--src-dir=<path>" SRC_DIR "Specify compiler-rt source dir."
90 if [ -z "$SRC_DIR" -o ! -d "$SRC_DIR" ]; then
91 dump "Could not found compiler-rt source directory: $SRC_DIR"
98 COMPILER_RT_CFLAGS=$COMPILER_RT_CFLAGS" -I$SRC_DIR/include -I$SRC_DIR/lib"
102 COMPILER_RT_GENERIC_SOURCES=$(cd $SRC_DIR && ls lib/*.c)
209 builder_set_srcdir "$SRC_DIR"
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" ] ; …
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; pwd`
99 log "Using source directory: $SRC_DIR"
175 if [ "$POLLY" = "yes" -a ! -d "$SRC_DIR/$TOOLCHAIN/polly" ] ; then
[all …]
Dbuild-gcc.sh98 SRC_DIR="$1"
104 if [ -z "$SRC_DIR" ] ; then
109 if [ ! -d "$SRC_DIR/gcc" ] ; then
110 echo "ERROR: Source directory does not contain gcc sources: $SRC_DIR"
113 SRC_DIR=`cd $SRC_DIR; pwd`
114 log "Using source directory: $SRC_DIR"
157 check_toolchain_src_dir "$SRC_DIR"
159 if [ ! -d $SRC_DIR/gdb/gdb-$GDB_VERSION ] ; then
160 echo "ERROR: Missing gdb sources: $SRC_DIR/gdb/gdb-$GDB_VERSION"
170 if [ ! -d $SRC_DIR/binutils/binutils-$BINUTILS_VERSION ] ; then
[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)
292 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"
201 run $SRC_DIR/configure \
Dbuild-target-prebuilts.sh46 SRC_DIR="$PARAMETERS"
47 check_toolchain_src_dir "$SRC_DIR"
48 SRC_DIR=`cd $SRC_DIR; pwd`
83 run $BUILDTOOLS/build-gdbserver.sh "$SRC_DIR" "$NDK_DIR" "$GDB_TOOLCHAIN" $FLAGS
109 run $BUILDTOOLS/build-gnu-libstdc++.sh $FLAGS $GNUSTL_STATIC_VIS_FLAG "$SRC_DIR"
117 run $BUILDTOOLS/build-compiler-rt.sh $FLAGS --src-dir="$SRC_DIR/llvm-$DEFAULT_LLVM_VERSION/compiler…
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-device-llvm.sh60 SRC_DIR="$1"
66 if [ -z "$SRC_DIR" ] ; then
71 if [ ! -d "$SRC_DIR/$TOOLCHAIN/llvm" ] ; then
72 echo "ERROR: Source directory does not contain llvm sources: $SRC_DIR/$TOOLCHAIN/llvm"
76 SRC_DIR=`cd $SRC_DIR; pwd`
77 log "Using source directory: $SRC_DIR"
128 run copy_directory "$SRC_DIR/mclinker" "$MCLINKER_SRC_DIR"
176 run $SRC_DIR/$TOOLCHAIN/llvm/configure \
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"/configure \
[all …]
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
448 LICENSE_FILES=$(cd $SRC_DIR && find . -name "COPYING*")
450 (tar cf - -C $SRC_DIR $LICENSE_FILES) | (tar xf - -C $LICENSES_DIR)
493 run $SRC_DIR/$PKGNAME/configure "$@"
[all …]
Dprebuilt-common.sh1430 local SRC_DIR="$1"
1431 if [ -z "$SRC_DIR" ]; then
1436 if [ ! -d "$SRC_DIR" ]; then
1437 echo "ERROR: Not a directory: '$SRC_DIR'"
1441 if [ ! -f "$SRC_DIR/build/configure" -o ! -d "$SRC_DIR/gcc" ]; then
1442 echo "ERROR: Either the file $SRC_DIR/build/configure or"
1443 echo " the directory $SRC_DIR/gcc does not exist."
1444 echo "This is not the top of a toolchain tree: $SRC_DIR"
Dbuild-on-device-toolchain.sh53 SRC_DIR="$PARAMETERS"
54 check_toolchain_src_dir "$SRC_DIR"
110 …OLS/build-device-llvm.sh $FLAGS --arch=$ARCH --gcc-version=$GCC_TOOLCHAIN_VERSION $SRC_DIR $NDK_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.sh480 local SRC_DIR="$SRCDIR/$4"
486 if [ ! -d "$SRC_DIR" ]; then
504 for SRC_FILE in $(cd "$SRC_DIR" && ls crt*.[cS]); do
530 (cd "$SRC_DIR" && $CC \
538 dump "ERROR: Could not generate $DST_FILE from $SRC_DIR/$SRC_FILE"