Friends of the greed robot,
The attached file is used to compile the MM libs from one of our vendor. On line 224 the variable TARGET_CROSS_COMPILE is assigned the value 'arm-eabi-', forcing the build script to look in $PATH for the compiler. This is obviously not what we want.
I commented out 218 and added 219 and the libs are now compiled with 'arm-linux-androideabi-'.
I would like to know if there is a better way to fetch the linaro-android toolchain or if it is ok to simply reference TARGET_TOOL_PREFIX the way I did.
Regards, Mathieu.
Hi, Looks good to me, except it's TARGET_TOOLS_PREFIX (with an S) instead of TARGET_TOOL_PREFIX.
If this is submitted upstream, you probably want to do something like
ifneq($(TARGET_TOOLS_PREFIX),) TARGET_CROSS_COMPILE=$(TARGET_TOOLS_PREFIX) else TARGET_CROSS_COMPILE=arm-eabi- endif
to make sure things remain compatible.
ttyl bero
On 11 April 2012 21:44, Mathieu Poirier mathieu.poirier@linaro.org wrote:
Friends of the greed robot,
The attached file is used to compile the MM libs from one of our vendor. On line 224 the variable TARGET_CROSS_COMPILE is assigned the value 'arm-eabi-', forcing the build script to look in $PATH for the compiler. This is obviously not what we want.
I commented out 218 and added 219 and the libs are now compiled with 'arm-linux-androideabi-'.
I would like to know if there is a better way to fetch the linaro-android toolchain or if it is ok to simply reference TARGET_TOOL_PREFIX the way I did.
Regards, Mathieu.
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
Good, so I'm not totally out to lunch. Ya the missing 'S' is a typo on my local copy.
Thanks for the assert, Mathieu.
On 12-04-11 02:16 PM, Bernhard Rosenkränzer wrote:
Hi, Looks good to me, except it's TARGET_TOOLS_PREFIX (with an S) instead of TARGET_TOOL_PREFIX.
If this is submitted upstream, you probably want to do something like
ifneq($(TARGET_TOOLS_PREFIX),) TARGET_CROSS_COMPILE=$(TARGET_TOOLS_PREFIX) else TARGET_CROSS_COMPILE=arm-eabi- endif
to make sure things remain compatible.
ttyl bero
On 11 April 2012 21:44, Mathieu Poirier mathieu.poirier@linaro.org wrote:
Friends of the greed robot,
The attached file is used to compile the MM libs from one of our vendor. On line 224 the variable TARGET_CROSS_COMPILE is assigned the value 'arm-eabi-', forcing the build script to look in $PATH for the compiler. This is obviously not what we want.
I commented out 218 and added 219 and the libs are now compiled with 'arm-linux-androideabi-'.
I would like to know if there is a better way to fetch the linaro-android toolchain or if it is ok to simply reference TARGET_TOOL_PREFIX the way I did.
Regards, Mathieu.
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
linaro-android@lists.linaro.org