更改设备名称获取方式:(
This commit is contained in:
parent
7fb33a7340
commit
542cbc0401
|
@ -10,7 +10,7 @@ Default_File=./package/lean/default-settings/files/zzz-default-settings
|
|||
Lede_Version=`egrep -o "R[0-9]+\.[0-9]+\.[0-9]+" $Default_File`
|
||||
Compile_Date=`date +'%Y/%m/%d'`
|
||||
Compile_Time=`date +'%Y-%m-%d %H:%M:%S'`
|
||||
TARGET_PROFILE=`grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' | awk 'NR==1'`
|
||||
TARGET_PROFILE=`egrep -o "CONFIG_TARGET.*DEVICE.*=y" .config | sed -r 's/.*DEVICE_(.*)=y/\1/'`
|
||||
}
|
||||
|
||||
GET_TARGET_INFO() {
|
||||
|
|
Loading…
Reference in New Issue