diff options
Diffstat (limited to 'examples/kconfig-static/nfpvalues.sh')
-rwxr-xr-x | examples/kconfig-static/nfpvalues.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/kconfig-static/nfpvalues.sh b/examples/kconfig-static/nfpvalues.sh index 574aa47..fc41085 100755 --- a/examples/kconfig-static/nfpvalues.sh +++ b/examples/kconfig-static/nfpvalues.sh @@ -19,4 +19,12 @@ if [ "$CONFIG_Y4" = y ]; then Y=4 fi +if [ "$CONFIG_XP23" = y ]; then + X=$((X+23)) +fi + +if [ "$CONFIG_YP42" = y ]; then + Y=$((Y+42)) +fi + echo '{"Synthetic": {"X": '$X', "Y": '$Y'}}' |