Skip to content

Bug: Suspicious expression triggers build failure for device sm6225 #427

@Sasmithere

Description

@Sasmithere

Attempting to build the device sm6225 fails due to a suspicious expression warning, which prevents successful compilation.

Steps to Reproduce
Start the build process for the device sm6225.

Wait for the build script to reach the affected configuration files.

Observe the error output during the build.

Expected Behavior
The build process for sm6225 should complete successfully without warnings about invalid comparisons.

Actual Behavior
The build halts due to the following warning:

text
warning: Suspicious expression: == Comparison between Operand of string type and Boolean/Number Type always return False.
!if $(ENABLE_LINUX_UTILS) == 1
This occurs in the following files:

sm6225.fdf
QcomCommonDsc.inc

Environment
Target device: sm6225

Files involved: sm6225.fdf, QcomCommonDsc.inc

Error occurs at the macro/conditional evaluation step

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions