[elbe-devel] [PATCH 00/13] SDK generator

Manuel Traut manut at linutronix.de
Mon Jan 29 14:02:30 CET 2018


implement a generator that builds a yocto-like SDK.

ELBE was able to build a target sysroot that could be included in 'any'
toolchain. But the toolchain itself was no output of ELBE. The SDK generator
uses the toolchains available in Debian (e.g. gcc-arm-linux-gnueabihf) and
scripts adopted from yocto to generate a relocatable toolchain.

Currently the 'host-sysroot' only contains gcc, binutils and its dependencies.
But it should be posible to extend it to support e.g. QT moc, qmake etc. in the
future.

To build a SDK use the following commands

$ ./elbe initvm create --devel
$ ./elbe initvm submit --keep-files --writeproject uuid.txt examples/armhf-ti-beaglebone-black.xml
$ ./elbe control build_sdk `cat uuid.txt`
$ ./elbe control wait_busy `cat uuid.txt`
$ ./elbe control get_file `cat uuid.txt` setup-elbe-sdk-arm-linux-gnueabihf-beaglebone-black-1.0.sh

This series applies on the previously posted 'various cleanups' queue.

Manuel Traut (13):
  build sdk: create infrastructure
  toolchain-extract.sh: import file from yocto
  toolchain-sh-extract.sh: improve copyright
  debian/copyright: add toolchain-extract.sh
  toolchain-extract.sh: add some sections
  toolchain-extract.sh: convert to work with mako
  elbeproject: implement build_sdk function
  db: add sdk installer as output file
  sdk/environment-setup: add file
  elbeproject/sdk: create env-setup file
  elbeproject: add a test to generate the SDK scripts
  sdk/environment-setup: dont hardcode sdk path
  elbeproject/sdk: encode project details into sdk

 debian/copyright                                  |   9 +
 elbepack/asyncworker.py                           |  25 ++
 elbepack/commands/buildsdk.py                     |  39 +++
 elbepack/daemons/soap/esoap.py                    |   7 +
 elbepack/db.py                                    |  10 +-
 elbepack/elbeproject.py                           |  92 +++++-
 elbepack/makofiles/environment-setup-elbe.mako    |  93 ++++++
 elbepack/makofiles/toolchain-shar-extract.sh.mako | 342 ++++++++++++++++++++++
 elbepack/projectmanager.py                        |  21 +-
 elbepack/soapclient.py                            |  21 ++
 10 files changed, 648 insertions(+), 11 deletions(-)
 create mode 100644 elbepack/commands/buildsdk.py
 create mode 100644 elbepack/makofiles/environment-setup-elbe.mako
 create mode 100644 elbepack/makofiles/toolchain-shar-extract.sh.mako

-- 
2.15.1




More information about the elbe-devel mailing list