B u i l d i n g t h e F i r s t P r o j e c t

Building the First Project

C H A P T E R

4

Building the Default Project

Until now you have worked with the pre-loaded, default kernel image on the target. The next step is to rebuild it on your development host PC to familiarize yourself with the build process.

Step 1: Run configure

Start a new shell and change into your LxNETES installation directory.

Create a new directory underneath and change to that directory.

Then execute configure for your platform to configure your project.

Example:

~$ cd $HOME/LxNETES-3.2~/LxNETES-3.2$ mkdir build ~/LxNETES-3.2$ cd build ~/LxNETES-3.2/build$ ../configure

checking whether make sets $(MAKE)... yes

...

This configures your project for the default platform. If you want to configure another platform, you have to specify it as a parameter to the configure script, for example

~/LxNETES-3.2/build$ ../configure --enable-platform=cc9p9750dev

checking whether make sets $(MAKE)... yes

...

The names for available platform:

ConnectCore 9P 9360: cc9p9360dev

2 9

Page 29
Image 29
Digi 9P 9360/9750 manual Building the First Project, Building the Default Project, Run configure