[Buildroot] Bash string manipulation in Kconfig

Stefan Fröberg stefan.froberg at petroprogram.com
Mon Sep 3 18:56:31 UTC 2012


Hello everyone.

What is the equivalent buildroot thing for handling the following bash
string stuff ?

FULL_DOWNLOAD_URL="http://www.somedomain.com/blah/blah2/blahblahblah/somefile"
FILE=${FULL_DOWNLOAD_URL##*/}
echo ${FILE}

That will correctly print only the last part of the url, "somefile"

But how to do similar in buildroot  .mk files ???

Best regards
Stefan




More information about the buildroot mailing list