Add bitbake's target for cross SDK (full version) 17/4117/1
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Wed, 7 Oct 2015 12:40:06 +0000 (21:40 +0900)
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Wed, 7 Oct 2015 13:00:16 +0000 (22:00 +0900)
commit736027f43ae977963ff0114f2e6ca5545ef54743
tree78f73a48ff9b5b03bfd9dd98137a4a6f02c70895
parentcd9d5aee1e0a13601e620492bfaa5065f0cdadfc
Add bitbake's target for cross SDK (full version)

Add recipe for a full cross SDK image (which includes SDK for Qt5)
for AGL Demo Platform of AGL Distribution.

To build SDK,
  $ bitbake agl-demo-platform-crosssdk

To install SDK (e.g. for porter)
  $ cd tmp/deploy/sdk
  $ ./poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-cortexa15hf-vfp-neon-toolchain-1.0.0.sh

To use SDK (e.g. for porter)
  $ source /opt/poky-agl/1.0.0/environment-setup-cortexa15hf-vfp-neon-poky-linux-gnueabi

You can also use QtCreator with this SDK:
  $ source /opt/poky-agl/1.0.0/environment-setup-cortexa15hf-vfp-neon-poky-linux-gnueabi
  $ qtcreator.sh

Before building your Qt projects, you should setup QtCreator once to use SDK.
E.g. configurations for porter,
  From Menu "Tools" -> Submenu "Options",

  1. Option "Build & Run" -> Tab "Compilers" -> Button "Add" -> Select "GCC"
     Name: Poky G++
     Path: /opt/poky-agl/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++

  2. Option "Build & Run" -> Tab "Debuggers" -> Button "Add"
     Name: Poky GDB
     Path: /opt/poky-agl/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb

  3. Option "Build & Run" -> Tab "Qt Versions" -> Button "Add"
     Filename: /opt/poky-agl/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake

  4. Option "Build & Run" -> "Tab "Kits" -> Button "Add"
     Name: AGL
     Device Type: Generic Linux Device
     Sysroot: /opt/poky-agl/1.0.0/sysroots/cortexa15hf-vfp-neon-poky-linux-gnueabi
     Compiler: Poky G++
     Debugger: Poky GDB
     Qt Version: Qt 5.3.2(qt5)

Change-Id: I5794c62e0f06db326d7af737ce47aa9767cdd3ef
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
conf/conf-notes.txt
recipes-platform/images/agl-demo-platform-crosssdk.bb [new file with mode: 0644]