gmccollister / setup-scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

These are the setup scripts for NTEL which were derived from the Angstrom buildsystem. If you want to (re)build packages or images for NTEL, this is the thing to use.

To configure the scripts and download the build metadata, do:

	$ MACHINE=qemux86-64 ./oebb.sh config qemux86-64

You can change the 'qemu' in the commandline above into the machine you are targeting.

To start a build of the kernel, source the environment file and do:

	$ . environment-ntel
	$ MACHINE=qemux86-64 bitbake virtual/kernel

For an example workflow for dealing with kernels please read http://www.slimlogic.co.uk/2011/05/openembeddedangstrom-kernel-workflow/

To build an image, source the environment file and do:

	$ . environment-ntel
	$ MACHINE=qemux86-64 bitbake console-base-image

See sources/meta-ntel/recipes-images/ntel/ for other available images.

To run the image in qemu, do the following:

	$ runqemu qemux86-64 kvm

To update the metadata, do:

	$ git pull
	$ ./oebb.sh update

The oebb.sh script tries hard to keep your local changes while at the same time keeping close to the original config. Please keep the following in mind:

	* it will reset the origin URI based on layers.txt, so update layers.txt when changing a repo
	* it will do a 'git reset --hard <ref>' on locked down repos, so please create a new branch for your changes
	* As noted above, it will NOT switch branches, so be carefull when using the update function after you branched a repo

About

License:MIT License


Languages

Language:Shell 99.4%Language:Awk 0.6%