johndoe31415 / pktbuilder

Easy buildscripts to build GCC toolchains for ARM embedded use (and more)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pkgbuilder

pkgbuilder is a simple JSON-file based wrapper script that builds a gcc toolchain (e.g., for ARM Cortex-M) painlessly.

Usage

You need a recipe file, which you simply can run:

$ cat arm_cm3.json
{
	"name": "cm3",
	"target": "~/bin/gcc/arm-cm3/",
	"arch": "arm-cortex-m3",
	"ingredients": [
		{ "name": "binutils" },
		{ "name": "gcc", "flags": [ "bootstrap" ] },
		{ "name": "newlib" },
		{ "name": "gcc", "flags": [ "lang-c" ] },
		{ "name": "gdb" }
	]
}
$ ./pktbuilder arm_cm3.json 

Dependencies

For a typical installation (binutils/gcc/gdb) you will need the following dependencies:

# apt-get install pigz texinfo libgmp3-dev libmpfr-dev libmpc-dev

License

GNU GPL-3.

About

Easy buildscripts to build GCC toolchains for ARM embedded use (and more)

License:GNU General Public License v3.0


Languages

Language:Python 100.0%