[CC] fmc_netcfg_parser.c (lib:usdpaa_syscfg)
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
apps/lib/fmc_netcfg_parser.c:1:0: error: bad value (e500mc) for -mtune= switch
make: *** [apps/lib/objs_powerpc/usdpaa_syscfg_fmc_netcfg_parser.o] Error 1
Looks like that the shell env vars are not set appropriately.
You will need to download full sdk-1.5 ISO for using usdpaa.
USDPAA libs have a dependency on other SDK components such as flib, fmlib etc.
The ISO contains compiler and other submodules which are needed to build usdpaa based applications.
Are you compiling usdpaa from sdk-1.5 ISO?
Could you give me a rough idea as to how I could do this ? Some documentation may be?
It's better to use Yocto to build usdpaa into filesystem.
Please install SDK 1.5 SOURCE AND CACHE BINARY ISO for e500mc.
Setup Yocto build environment, then run "bitbake fsl-image-core" and usdpaa will be built into rootfs filesystem.
The package usdpaa is added in fsl-image-core image by default for e500mc,e5500 and e6500 platforms.
Have a great day,
Yiping Wang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
After you download the SDK 1.5 Linux Sources, you can find some useful information here.
Adrian
To download sdk-1.5 ISO, visit http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=SDKLINUX
Click Downloads > SDK Linux Source