blob: dd68bc17a1ed22c97c1382d6ed80ba2fed47d887 [file] [log] [blame]
xf.li4a5f6012023-01-10 23:32:52 -08001#!/bin/bash
2
xy.he77907882024-03-08 09:22:25 +08003LYNQ_SW_INSIDE_VERSION="LYNQ_CONFIG_VERSION = \"T800_GSW_v02.MP1_MR3.02b19.00.05.07\""
4LYNQ_SW_VERSION="LYNQ_CONFIG_SW_VERSION = \"T800_GSW_v02.MP1_MR3.02b19.00.05.07\""
lxff6717512023-08-02 23:37:04 -07005COMMIT_ID="$(git rev-parse --short HEAD)"
6LYNQ_COMMITID="LYNQ_CONFIG_COMMITID = \"${COMMIT_ID}\""
xf.li4a5f6012023-01-10 23:32:52 -08007
xf.lib8d2aa72023-02-07 17:48:11 -08008eval sed -i 's/^.*LYNQ_CONFIG_VERSION.*$/"${LYNQ_SW_INSIDE_VERSION}"/' $(pwd)/meta/meta-mediatek-mt2735/conf/machine/auto2735evb-ivt-base.conf
9eval sed -i 's/^.*LYNQ_CONFIG_SW_VERSION.*$/"${LYNQ_SW_VERSION}"/' $(pwd)/meta/meta-mediatek-mt2735/conf/machine/auto2735evb-ivt-base.conf
lxff6717512023-08-02 23:37:04 -070010eval sed -i 's/^.*LYNQ_CONFIG_COMMITID.*$/"${LYNQ_COMMITID}"/' $(pwd)/meta/meta-mediatek-mt2735/conf/machine/auto2735evb-ivt-base.conf
11
xf.lib8d2aa72023-02-07 17:48:11 -080012eval sed -i 's/^.*LYNQ_CONFIG_VERSION.*$/"${LYNQ_SW_INSIDE_VERSION}"/' $(pwd)/meta-sdk/meta/meta-lynqSDK-T800/conf/machine/auto2735evb-ivt-base.conf
13eval sed -i 's/^.*LYNQ_CONFIG_SW_VERSION.*$/"${LYNQ_SW_VERSION}"/' $(pwd)/meta-sdk/meta/meta-lynqSDK-T800/conf/machine/auto2735evb-ivt-base.conf
lxff6717512023-08-02 23:37:04 -070014eval sed -i 's/^.*LYNQ_CONFIG_COMMITID.*$/"${LYNQ_COMMITID}"/' $(pwd)/meta-sdk/meta/meta-lynqSDK-T800/conf/machine/auto2735evb-ivt-base.conf
xf.li4a5f6012023-01-10 23:32:52 -080015