[详细说明]
1. 增加build_date.sh支持编译时间生成;
2. 增加xxx_afterbuild.sh脚本,支持elf文件生成;
3. MBL修改Project目录大小写错误导致的编译失败问题;
4. 修改头文件目录分隔符心解决编译失败问题;
8 lines
333 B
Bash
Executable File
8 lines
333 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR=$1
|
|
|
|
echo "/* Do not change the content here, it's auto generated */" > ${DIR}/WIFI_IOT/common/_build_date.h
|
|
echo "#define BUILD_DATE \"$(date +"%Y/%m/%d %H:%M")\"" >> ${DIR}/WIFI_IOT/common/_build_date.h
|
|
echo "#define DATE_GENERATED" >> ${DIR}/WIFI_IOT/common/_build_date.h
|