xf.li | 4a5f601 | 2023-01-10 23:32:52 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
xy.he | b52eecb | 2024-11-08 09:57:09 +0800 | [diff] [blame] | 3 | SW_INSIDE_VERSION="T800_GSW_v02.MP1_MR3.02b20.09.00" |
| 4 | SW_VERSION="T800_GSW_v02.MP1_MR3.02b20.09.00" |
lh | 9ef23cb | 2024-04-15 03:57:07 -0700 | [diff] [blame] | 5 | |
| 6 | LYNQ_SW_INSIDE_VERSION="LYNQ_CONFIG_VERSION = \"${SW_INSIDE_VERSION}\"" |
| 7 | LYNQ_SW_VERSION="LYNQ_CONFIG_SW_VERSION = \"${SW_VERSION}\"" |
| 8 | |
lxf | f671751 | 2023-08-02 23:37:04 -0700 | [diff] [blame] | 9 | COMMIT_ID="$(git rev-parse --short HEAD)" |
| 10 | LYNQ_COMMITID="LYNQ_CONFIG_COMMITID = \"${COMMIT_ID}\"" |
xf.li | 4a5f601 | 2023-01-10 23:32:52 -0800 | [diff] [blame] | 11 | |
lh | 9ef23cb | 2024-04-15 03:57:07 -0700 | [diff] [blame] | 12 | LYNQ_VERSION_UCI=" option LYNQ_SW_VERSION '${SW_VERSION}'" |
| 13 | LYNQ_INSIDE_VERSION_UCI=" option LYNQ_SW_INSIDE_VERSION '${SW_INSIDE_VERSION}'" |
| 14 | |
xf.li | b8d2aa7 | 2023-02-07 17:48:11 -0800 | [diff] [blame] | 15 | eval sed -i 's/^.*LYNQ_CONFIG_VERSION.*$/"${LYNQ_SW_INSIDE_VERSION}"/' $(pwd)/meta/meta-mediatek-mt2735/conf/machine/auto2735evb-ivt-base.conf |
| 16 | eval sed -i 's/^.*LYNQ_CONFIG_SW_VERSION.*$/"${LYNQ_SW_VERSION}"/' $(pwd)/meta/meta-mediatek-mt2735/conf/machine/auto2735evb-ivt-base.conf |
lxf | f671751 | 2023-08-02 23:37:04 -0700 | [diff] [blame] | 17 | eval sed -i 's/^.*LYNQ_CONFIG_COMMITID.*$/"${LYNQ_COMMITID}"/' $(pwd)/meta/meta-mediatek-mt2735/conf/machine/auto2735evb-ivt-base.conf |
| 18 | |
xf.li | b8d2aa7 | 2023-02-07 17:48:11 -0800 | [diff] [blame] | 19 | eval sed -i 's/^.*LYNQ_CONFIG_VERSION.*$/"${LYNQ_SW_INSIDE_VERSION}"/' $(pwd)/meta-sdk/meta/meta-lynqSDK-T800/conf/machine/auto2735evb-ivt-base.conf |
| 20 | eval sed -i 's/^.*LYNQ_CONFIG_SW_VERSION.*$/"${LYNQ_SW_VERSION}"/' $(pwd)/meta-sdk/meta/meta-lynqSDK-T800/conf/machine/auto2735evb-ivt-base.conf |
lxf | f671751 | 2023-08-02 23:37:04 -0700 | [diff] [blame] | 21 | eval sed -i 's/^.*LYNQ_CONFIG_COMMITID.*$/"${LYNQ_COMMITID}"/' $(pwd)/meta-sdk/meta/meta-lynqSDK-T800/conf/machine/auto2735evb-ivt-base.conf |
xf.li | 4a5f601 | 2023-01-10 23:32:52 -0800 | [diff] [blame] | 22 | |
lh | 9ef23cb | 2024-04-15 03:57:07 -0700 | [diff] [blame] | 23 | eval sed -i 's/^.*LYNQ_SW_VERSION.*$/"${LYNQ_VERSION_UCI}"/' $(pwd)/LYNQ_PUBLIC/common_src/lib/liblynq-uci/lynq_uci_ro.config |
| 24 | eval sed -i 's/^.*LYNQ_SW_INSIDE_VERSION.*$/"${LYNQ_INSIDE_VERSION_UCI}"/' $(pwd)/LYNQ_PUBLIC/common_src/lib/liblynq-uci/lynq_uci_ro.config |
| 25 | |