redhat/configs: CONFIG_DEBUG_WX=y only in debug kernel
Upstream-Status: RHEL-only
JIRA: https://issues.redhat.com/browse/RHEL-24469
For the automotive flavor, set CONFIG_DEBUG_WX=y only in the debug
variant.
debug_checkwx() can take 150ms to complete on sa8775p-ride. Since
DEBUG_WX only reports problems without taking action, it should be
considered a debug option when boot time matters.
Signed-off-by: Eric Chanudet echanude@redhat.com