From 736027f43ae977963ff0114f2e6ca5545ef54743 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Wed, 7 Oct 2015 21:40:06 +0900 Subject: 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 --- conf/conf-notes.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'conf') diff --git a/conf/conf-notes.txt b/conf/conf-notes.txt index 177b7066..b6df8d0d 100644 --- a/conf/conf-notes.txt +++ b/conf/conf-notes.txt @@ -1,2 +1,3 @@ Common targets are: agl-demo-platform + agl-demo-platform-crosssdk -- cgit 1.2.3-korg