On 05/13/2015 12:19 AM, Khem Raj wrote:
On May 11, 2015, at 11:19 PM, Chen Qi <[email protected]> wrote:

-       install 
${SDK_DEPLOY}/${DISTRO}-${TCLIBC}-${SDK_ARCH}-buildtools-tarball-${TUNE_PKGARCH}-buildtools-nativesdk-standalone-${DISTRO_VERSION}.sh
 ${SDK_OUTPUT}/${SDKPATH}
+       # find latest buildtools-tarball and install it
+       buildtools_path=`ls -t1 
${SDK_DEPLOY}/${DISTRO}-${TCLIBC}-${SDK_ARCH}-buildtools-tarball-${TUNE_PKGARCH}-buildtools-nativesdk-standalone-*.sh
 | head -n1`
+       install $buildtools_path ${SDK_OUTPUT}/${SDKPATH}

why not create a symink instead of poking using wild chars

Because it's simpler.

//Chen Qi
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to