LingYun Studio embeded system framwork software, such as thirdparty build shell and lingyun library
guowenxue
2024-08-21 10bed2f901130a08badc17f2de356b41afb931ab
3rdparty/build.sh
@@ -1,12 +1,14 @@
#!/bin/bash
REP_CROSSTOOL=/opt/buildroot/cortex-a5/bin/arm-linux-
REP_CROSSTOOL=/opt/gcc-aarch32-10.3-2021.07/bin/arm-none-linux-gnueabihf-
REP_LYFTP=http://master.weike-iot.com:2211/src/
function replace_crosstool()
{
    for f in `find -iname "build*.sh"`
    do
        sed -i -e "s|^CROSSTOOL=.*|CROSSTOOL=$REP_CROSSTOOL|g" $f
        sed -i -e "s|^LYFTP_SRC=.*|LYFTP_SRC=$REP_LYFTP|g" $f
    done
}