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

Make build process compatible with yocto #42

Closed
wants to merge 2 commits into from

Conversation

hilt0n
Copy link

@hilt0n hilt0n commented Jul 30, 2019

It's currently not possible to manipulate easily internal Makefile variables like TOOLCHAIN, CC, AR, etc.

By adding simple modifications, it becomes possible to more easily integrate the project into build tool systems like Yocto.

The "" around ${CC}, ${AR} and ${LD} are needed in case of the CC passed to makefile is composed of multiple arguments. For example, in Yocto the value of CC is something like:
arm-poky-linux-gnueabi-gcc -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a5 --sysroot=/opt/poky/2.5.2/sysroots/cortexa5hf-neon-loros-linux-gnueabi

It doesn't modify the default behavior but allows a lot more flexibility.

@RadW2020
Copy link

RadW2020 commented Apr 11, 2020

Tested and works.
Thanks!

@mullerch
Copy link

mullerch commented Jun 8, 2020

Is there any reason for this not to be merged ?

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.

3 participants