AnsweredAssumed Answered

MQX 4.2, MQX 4.1, MQX 4.0 Command Line Build Question

Question asked by Keith Smith on Aug 20, 2015
Latest reply on Jan 12, 2016 by Preet Mehta

I downloaded MQX 4.2. I read the paragraph in doc/MQX_Getting_Started.pdf on using MinGW make to build MQX for target boards via the command line.

 

Executing the published command line, nothing was built.

 

Looking in the specified directory, Freescale_MQX_4_2/build/<target>/make, there is no makefile or makefile.mak or any other file for MinGW make to execute.

 

I then compared the 4.2 download to the 4.1 download.

 

The 4.2 download is missing batch files pre-built to build MQX for the specific board.

 

The directory path is Freescale_MQX_4_2/build/<target>/make

 

The make directory contains tools but no pre-built batch files.

 

Looking closer, the paragraph on running MinGW make states:

 

To rebuild the MQX RTOS libraries navigate to the <install_dir>/build/<board>/make directory and run this command

(building MQX RTOS using the GCC from CW10.3 and later version of the toolchain):

 

C:\MinGW\bin\mingw32-make.exe build TOOL=cw10gcc CONFIG=debug

 

The path should be

 

<install_dir>/<mqx_component>/build/make/<board>

 

However, this has to be run for each and every component of MQX.

 

The pre-built batch files of MQX 4.1 walk through each of the MQX components, saving a lot of typing.

 

To further confuse things, I looked at MQX 4.0.

 

In the original path Freescale_MQX_4_0/build/<board>/make is indeed a makefile as required for the the Getting Started PDF MinGW make paragraph.

 

Please, what are command line build instructions for MQX 4.2? Did I install MQX 4.2 improperly?

 

Thank you for your assistance.

Outcomes