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

zefi.py: Use cross compiler while building zephyr #31434

Merged
merged 1 commit into from
Jan 20, 2021

Conversation

yerabolu
Copy link
Contributor

Currently, zefi.py takes host GCC OBJCOPY as
default. Fixing the script to use CMAKE_C_COMPILER
and CMAKE_OBJCOPY.

Fixes: #27047

Signed-off-by: Spoorthy Priya Yerabolu [email protected]

@github-actions github-actions bot added area: Boards area: X86 x86 Architecture (32-bit) labels Jan 19, 2021
@nashif nashif requested review from andyross and jhedberg January 19, 2021 20:46
arch/x86/zefi/zefi.py Outdated Show resolved Hide resolved
@yerabolu yerabolu marked this pull request as ready for review January 20, 2021 17:11
@andrewboie
Copy link
Contributor

in a future PR, wonder if we could consolidate the CMake logic currently duplicated in board-level CMakeLists.txt

@nashif nashif merged commit 513b9f5 into zephyrproject-rtos:master Jan 20, 2021
Currently, zefi.py takes host GCC OBJCOPY as
default. Fixing the script to use CMAKE_C_COMPILER
and CMAKE_OBJCOPY.

Fixes: zephyrproject-rtos#27047

Signed-off-by: Spoorthy Priya Yerabolu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Boards area: X86 x86 Architecture (32-bit)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zefi.py assumes host GCC is x86
5 participants