删除一行
sed -i '/CONFIG_SERIAL_MSM=y/d' ../src/kernel/msm-5.4/arch/arm/configs/vendor/test.config
增加一行
sed -i '$aCONFIG_SERIAL_MSM=y' ../src/kernel/msm-5.4/arch/arm/configs/vendor/test.config