Part Number: AM3359
Hi there,
I am trying to create an yocto image and have an application which needs to be compiled with arm-linux-gnueabihf-gcc compiler.
The current yocto setup is generating the arm-poky-linux-gnueabi-gcc compiler.
I tried few things with updating few variables and configs too. But I was not able to do it.
the looked into the yocto setup to find out from where the naming of gcc compiler are generating in current yocto setup
arm-poky-linux-gnueabi-gcc generated from below varable TARGET_SYS which is arm-poky-linux-gnueabi and it is coming from as shown below
- TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
- TARGET_ARCH = "arm"
- TARGET_VENDOR = "poky"
- TARGET_OS = "linux-gnueabi"
- TARGET_OS = "linux${LIBCEXTENSION}${ABIEXTENSION}"
- LIBCEXTENSION="-gnu"
- ABIEXTENSION="eabi"
- TARGET_OS = "linux${LIBCEXTENSION}${ABIEXTENSION}"
- in poky/meta/conf/machine/include/arm/arch-arm.inc
- TUNE_ARCH = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'armeb', 'arm', d)}"
- TUNE_FEATURES="arm armv7a vfp thumb neon callconvention-hard"
- ARMPKGSFX_FPU="-neon"
- ARMPKGARCH="armv7a"
- ARMPKGSFX_ENDIAN=""
- ARMPKGSFX_DSP=""
- ARMPKGSFX_EABI="hf"
- ARMPKGSFX_THUMB="t2"
- TUNE_ARCH = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'armeb', 'arm', d)}"
What are the proper way to generate the arm-linux-gnueabihf-gcc compiler from a yocto setup?
Or any other way I can generate needed gcc tool chain form yocto.
(Note: I am generating the SDK from the yocto setup and using that generated SDK by setting up in a linux machine and using that environment setup to compile my application.
I have a old TI SDK existing setup which is created earlier, which is having arm-linux-gnueabihf-gcc tool chain for compiling application.
My task is to generate new TI SDK from yocto with needed packages added into that SDK and use that compile my application.
Older SDK is having arm-linux-gnueabihf-gcc compiler and my yocto setup is generating arm-poky-linux-gnueabi-gcc compiler)
Thanks & Regards,
Bhavesh Shah