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

cmake: fix native build on arm #262

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Oct 12, 2023

  1. cmake: fix native build on arm

    uname -m on 32bit Arm platforms (little endian) report a machine string
    like armv5tejl, armv7l or armv8l.
    
    A native build on these machines fail:
    
    CMake Error at lib/processor/CMakeLists.txt:1 (add_subdirectory):
      add_subdirectory given source "armv8l" which is not an existing directory.
    
    Set PROJECT_PROCESSOR to arm on these machines.
    
    Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
    bene42 committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    84b8cca View commit details
    Browse the repository at this point in the history