Lines Matching full:echo
30 …echo '# Check for LD_LIBRARY_PATH being set, which can break SDK and generally is a bad practice' …
31 echo '# http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80' >> $script
32 echo '# http://xahlee.info/UnixResource_dir/_/ldpath.html' >> $script
33 echo '# Only disable this check if you are absolutely know what you are doing!' >> $script
34 echo 'if [ ! -z "${LD_LIBRARY_PATH:-}" ]; then' >> $script
35 …echo " echo \"Your environment is misconfigured, you probably need to 'unset LD_LIBRARY_PATH'\"…
36 …echo " echo \"but please check why this was set in the first place and that it's safe to unset.…
37 …echo ' echo "The SDK will not operate correctly in most cases when LD_LIBRARY_PATH is set."' >>…
38 echo ' echo "For more references see:"' >> $script
39 …echo ' echo " http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80"' >> $sc…
40 echo ' echo " http://xahlee.info/UnixResource_dir/_/ldpath.html"' >> $script
41 echo ' return 1' >> $script
42 echo 'fi' >> $script
44 echo "${EXPORT_SDK_PS1}" >> $script
45 echo 'export SDKTARGETSYSROOT='"$sysroot" >> $script
50 …echo "export PATH=$sdkpathnative$bindir:$sdkpathnative$sbindir:$sdkpathnative$base_bindir:$sdkpath…
51 echo 'export PKG_CONFIG_SYSROOT_DIR=$SDKTARGETSYSROOT' >> $script
52 …echo 'export PKG_CONFIG_PATH=$SDKTARGETSYSROOT'"$libdir"'/pkgconfig:$SDKTARGETSYSROOT'"$prefix"'/s…
53 echo 'export CONFIG_SITE=${SDKPATH}/site-config-'"${multimach_target_sys}" >> $script
54 echo "export OECORE_NATIVE_SYSROOT=\"$sdkpathnative\"" >> $script
55 echo 'export OECORE_TARGET_SYSROOT="$SDKTARGETSYSROOT"' >> $script
56 echo "export OECORE_ACLOCAL_OPTS=\"-I $sdkpathnative/usr/share/aclocal\"" >> $script
57 echo 'export OECORE_BASELIB="${baselib}"' >> $script
58 echo 'export OECORE_TARGET_ARCH="${TARGET_ARCH}"' >>$script
59 echo 'export OECORE_TARGET_OS="${TARGET_OS}"' >>$script
61 echo 'unset command_not_found_handle' >> $script
73 echo 'orig=`pwd`; cd ${COREBASE}; . ./oe-init-build-env ${TOPDIR}; cd $orig' >> $script
74 echo 'export PATH=${STAGING_DIR_NATIVE}/usr/bin:${STAGING_BINDIR_TOOLCHAIN}:$PATH' >> $script
75 echo 'export PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}' >> $script
76 echo 'export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}' >> $script
77 echo 'export CONFIG_SITE="${CONFIG_SITE}"' >> $script
78 echo 'export SDKTARGETSYSROOT=${STAGING_DIR_TARGET}' >> $script
79 echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script
80 echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script
81 echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script
87 echo 'export CC="${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=$SDKTARGETSYSROOT"' >> $script
88 echo 'export CXX="${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=$SDKTARGETSYSROOT"' >> $script
89 echo 'export CPP="${TARGET_PREFIX}gcc -E ${TARGET_CC_ARCH} --sysroot=$SDKTARGETSYSROOT"' >> $script
90 echo 'export AS="${TARGET_PREFIX}as ${TARGET_AS_ARCH}"' >> $script
91 echo 'export LD="${TARGET_PREFIX}ld ${TARGET_LD_ARCH} --sysroot=$SDKTARGETSYSROOT"' >> $script
92 echo 'export GDB=${TARGET_PREFIX}gdb' >> $script
93 echo 'export STRIP=${TARGET_PREFIX}strip' >> $script
94 echo 'export RANLIB=${TARGET_PREFIX}ranlib' >> $script
95 echo 'export OBJCOPY=${TARGET_PREFIX}objcopy' >> $script
96 echo 'export OBJDUMP=${TARGET_PREFIX}objdump' >> $script
97 echo 'export READELF=${TARGET_PREFIX}readelf' >> $script
98 echo 'export AR=${TARGET_PREFIX}ar' >> $script
99 echo 'export NM=${TARGET_PREFIX}nm' >> $script
100 echo 'export M4=m4' >> $script
101 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
102 …echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linu…
103 echo 'export CFLAGS="${TARGET_CFLAGS}"' >> $script
104 echo 'export CXXFLAGS="${TARGET_CXXFLAGS}"' >> $script
105 echo 'export LDFLAGS="${TARGET_LDFLAGS}"' >> $script
106 echo 'export CPPFLAGS="${TARGET_CPPFLAGS}"' >> $script
107 echo 'export KCFLAGS="--sysroot=$SDKTARGETSYSROOT"' >> $script
108 echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
109 echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
110 echo 'export ARCH=${ARCH}' >> $script
111 echo 'export CROSS_COMPILE=${TARGET_PREFIX}' >> $script
112 echo 'export OECORE_TUNE_CCARGS="${TUNE_CCARGS}"' >> $script
144 echo "\$0: Failed to source \$env_setup_script with status \$status"
155 echo "post-relocate command \"\$s \$1\" failed with status \$status" >&2
186 sitefile=`echo $sitefile | tr / _`