Building a custom project – Digi 9P 9360/9750 User Manual

Page 43

Advertising
background image

4 3

A d v a n c e d T o p i c s

Building a custom project

To create a custom project, that is a project for your custom hardware, first configure the

default project. Follow the steps described in "Building the Default Project" up to running

configure. Then run:

In this example, ConnectCore 9P 9360 dev module (

cc9p9360dev)

was used as the template

project. Substitute the platform that is most similar to the platform you intend to create.

Then create a new build directory and configure for your custom platform:

Check the detected settings are correct in the new run of configure.

Now you can reconfigure your custom kernel by running:

You can build and install the project for the default platform after the previous steps are

complete.

$

~/LxNETES-3.2/build$ bin/add_platform –b cc9p9360dev custom

$

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

$

...

~/LxNETES-3.2/build$ cd ..

~/LxNETES-3.2$ mkdir build_custom

~/LxNETES-3.2$ cd build_custom

~/LxNETES-3.2/build_custom$ ../configure –-enable-platform=custom

...

~/LxNETES-3.2/build_custom$ make xconfig

You need QT installed to run make xconfig (Debian package libqt3-mt-dev). If you don't
have it, use menuconfig (requiring ncurses, Debian package libncurses5-dev).

You have to run make xconfig in the build directory. Running in other directories (e.g.
~/LxNETES-3.2/build_custom, ~/LxNETES-3.2/build_custom/linux, or ~/LxNETES-3.2/
linux) will fail.

Advertising