Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: move 'EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)' at the end of E… #101

Merged

Commits on Jul 16, 2023

  1. Makefile: move 'EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)' at the end of E…

    …XTRA_FLAGS assignment
    
    At the moment USER_EXTRA_CFLAGS can't override local Makfile EXTRA_CFLAGS
    since it's assigned at the beginning of the Makefile. For example it's not
    possible to undefine the hardcoded CONFIG_LITTLE_ENDIAN and this doesn't
    allow to build these modules for big endian architectures. So let's move
    the assignment of USER_EXTRA_CFLAGS to EXTRA_CFLAGS after the last
    EXTRA_CFLAGS assignment.
    
    Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
    giuliobenetti committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    f48d99f View commit details
    Browse the repository at this point in the history