Makefile for iMX6 SDK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Makefile for iMX6 SDK

995 Views
tejummb
Contributor II

Hi Everyone,

I'm using imx6_platform_sdk_v1.1.0 for my application.

The documentation mentions that the Gnu make version 3.81 or later is required.

I'm using version 4.0. Even then, I'm getting makefile errors.

Kindly, let me know if I'm using the right version of SDK.

Labels (4)
0 Kudos
2 Replies

669 Views
gary_bisson
Senior Contributor III

Hi,

Please copy/paste your output. As a FYI, I am using GNU Make version 4.0 as well and it works just fine.

Make sure to follow the README.pdf, especially the toolchain setup and the build command (./tools/build_sdk).

Regards,

Gary

0 Kudos

669 Views
tejummb
Contributor II

Hi Gary,

I apologize for my delayed response.

I'm using the 30-day trial edition of sourcery codebench. And, I'm getting the following error:

tejummb@tejummb-VirtualBox:~/SDK/iMX6_Platform_SDK$ ./tools/build_sdk -target=mx6dq -board=evb -test=caam

Building sdk [mx6dq evb a]

Compiling sdk/utility/src/runtime_support.c

/home/tejummb/SDK/iMX6_Platform_SDK/sdk/utility/src/runtime_support.c:38:19: fatal error: reent.h: No such file or directory

#include <reent.h>

                   ^

compilation terminated.

make[2]: *** [/home/tejummb/SDK/iMX6_Platform_SDK/output/mx6dq/lib/obj/sdk/sdk/utility/src/runtime_support.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[1]: *** [utility] Error 2

make: *** [sdk] Error 2

Build mx6dq evb rev_a caam failed with return code 2!

I have followed the instructions exactly as given in the README file. Kindly, let me know the ways resolve the issue.

Regards,

Teju M M B

0 Kudos