Skip to content

Commit

Permalink
[Mellanox] Fix the hw-mgmt intg tool case sensitivity for KConfig (so…
Browse files Browse the repository at this point in the history
…nic-net#14709)

Fix the script to consider case sensitivity while writing the kconfig

Signed-off-by: Vivek Reddy Karri <[email protected]>
  • Loading branch information
vivekrnv authored and Vivek Reddy Karri committed Apr 26, 2023
1 parent 764c9e2 commit 9881dff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platform/mellanox/integration-scripts/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def parse_opts_strs(kcfg_sec: list) -> list(tuple()):
def get_writable_opts(opts):
lines = []
for opt in opts:
lines.append("{}={}".format(opt[0].upper(), opt[1]))
lines.append("{}={}".format(opt[0], opt[1]))
return lines


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
CONFIG_I2C_I801=m
CONFIG_PINCTRL=y
CONFIG_PINCTRL_INTEL=m
CONFIG_I2C_MUX_PCA954X=m
CONFIG_I2C_MUX_PCA954x=m
CONFIG_SPI_PXA2XX=m
"""

Expand All @@ -68,7 +68,7 @@
CONFIG_I2C_I801=m
CONFIG_PINCTRL=y
CONFIG_PINCTRL_INTEL=m
CONFIG_I2C_MUX_PCA954X=m
CONFIG_I2C_MUX_PCA954x=m
CONFIG_SPI_PXA2XX=m
###-> mellanox-end
Expand Down

0 comments on commit 9881dff

Please sign in to comment.