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

Added support for Sonic cross-compilation build. #2233

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

gregshpit
Copy link
Contributor

Signed-off-by: marvell marvell@cpss-build3.marvell.com

What I did

Added support for Sonic cross-compiling build. Specifically building Sonic armhf on amd64 host.

How I did it

Removed addition of "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" to PATH variable when Sonic is built using cross-compilation (CROSS_BUILD_ENVIRON variable should be set to 'y' then).

How to verify it

Run Sonic armhf build using cross-compilation for marvell platform. Specifically run (when Sonic cross-compilation PR sonic-net/sonic-buildimage#8035 is merged with the upstream):
NOJESSIE=1 NOSTRETCH=1 CROSS_BLDENV=1 make target/sonic-marvell-armhf.bin

Signed-off-by: marvell <marvell@cpss-build3.marvell.com>
@gregshpit
Copy link
Contributor Author

Hi @saiarcot895 and @xumia ,

This PR was created as part of Sonic armhf cross-compilation build PR sonic-net/sonic-buildimage#8035 . Please review and merge it asap.
Thanks a lot for your cooperation !

Gregory

@saiarcot895 saiarcot895 merged commit 7d9faf3 into sonic-net:master Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants