Re: [yocto] Yocto SDK: how to deploy application with step "make install" to target?
On 12/01/2017 10:15 AM, Jerry Lian wrote: > Thanks Eric for your explanation! > * (I know I can build the app within yocto build, but sometimes I prefer > the SDK method outside yocto build.) > * So just copy manually? I thought there are some tricks that I don't know. > > Now I have follow-up question: > * It seems that "make install" will copy different files to different > folders > * Can I do like these:? > --- make > --- copy (via scp) > --- make install > * Or it needs to be: > --- make > --- make install > --- copy (via scp) -then how do I know: what files to go which folder? > --- can you explain: > "... you may supply a custom install prefix directory to configure." > --- how? I've used sshfs to mount the target on the machine with the sdk and then something like: make install DESTDIR=~/mydevice From: https://wiki.gnuradio.org/index.php/Cross_compile_an_OOT_and_install_on_target Philip > > Thanks! > > > > > > On Fri, Dec 1, 2017 at 9:34 AM, Eric Schwarz > wrote: > >> Am 01.12.2017 15:16, schrieb Eric Schwarz: >> >> Hi Jerry, >>> >>> Am 01.12.2017 15:07, schrieb Jerry Lian: >>> >>> I am new to embedded linux, and some concepts confuse me: * I have downloaded an Autotools-based application to run on my board. * If I boot the board with original image/original SDK, I normally build/install it with steps: - ./bootstrap - ./configure - make - make install >>> >>> You may build your app within yocto build process so your application is >>> contained in your rootFS directly. >>> >>> * Now if I boot the board with yocto image without SDK, how can I deploy the application? (surely I do "bitbake -c populate_sdk some-image", and source the environment!) - ./bootstrap (Yocto SDK on host) - ./configure (Yocto SDK on host) - make (Yocto SDK on host) - make install (???) >>> >>> If you build it w/ the SDK outside of the yocto build process just >>> install it to a local directory and copy all the stuff w/ e.g. scp onto >>> your boards rootFS. >>> >> >> ... you may supply a custom install prefix directory to configure. >> >> >> >>> * How to do "make install"? (I want to install it on target, but how?) Thanks! >>> >>> Cheers >>> Eric >>> >> > > > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [x11][Question] QXcbIntegration: Cannot create platform OpenGL context
Hello, I've been trying to add Qt5 support to a core-image-sato image using Yocto's Poky Pyro on Raspberry Pi 3. In my bblayer.conf I added these lines: BBLAYERS ?= " \ /poky-pyro/meta \ /poky-pyro/meta-poky \ /poky-pyro/meta-yocto-bsp \ /poky-pyro/meta-openembedded/meta-oe \ /poky-pyro/meta-openembedded/meta-multimedia \ /poky-pyro/meta-openembedded/meta-networking \ /poky-pyro/meta-openembedded/meta-perl \ /poky-pyro/meta-openembedded/meta-python \ /poky-pyro/meta-raspberrypi \ /poky-pyro/meta-qt5 \ " In my local.conf I added these lines: DISTRO_FEATURES_append = " opengl " IMAGE_INSTALL_append = " qtbase qtdeclarative qtquickcontrols2 qtmultimedia qttools cinematicexperience " Bitbake finished building the image successfully, but when I run Qt5_cenimaticExperience on the target I get this error message: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled. Any help would be very much appreciated! Thank You, -- Yahya Ahmed -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [Recipe reporting system] Upgradable recipe name list
This mail was sent out by Recipe reporting system. This message list those recipes which need to be upgraded. If maintainers believe some of them needn't to upgrade at this time, they can fill RECIPE_NO_UPDATE_REASON in respective recipe file to ignore this remainder until newer upstream version was detected. Example: RECIPE_NO_UPDATE_REASON = "Version 2.0 is unstable" You can check the detail information at: http://recipes.yoctoproject.org/ Package Version Upstream version Maintainer NoUpgradeReason --- --- -- python2.7.13 2.7.14Alejandro Hernandez python-native 2.7.13 2.7.14Alejandro Hernandez eudev 3.2.23.2.5 Alejandro Hernandez python3-native3.5.33.6.3 Alejandro Hernandez python3 3.5.33.6.3 Alejandro Hernandez epiphany 3.24.3 3.26.3Alexander Kanavin usbutils 008 009 Alexander Kanavin gtk-doc 1.25 1.26 Alexander Kanavin webkitgtk 2.16.6 2.18.3Alexander Kanavin trace-cmd 2.6.12.6.2 Alexander Kanavin dnf 2.6.32.7.5 Alexander Kanavin libwebp 0.6.00.6.1 Alexander Kanavin libnl 3.2.29 3.4.0 Alexander Kanavin librepo 1.7.20+gitX 1.8.1 Alexander Kanavin ffmpeg3.3.43.4 Alexander Kanavin iso-codes 3.76 3.77 Alexander Kanavin blktrace 1.1.0+gitX 1.2.0 Alexander Kanavin vala 0.38.2 0.38.3Alexander Kanavin gobject-introspec... 1.52.1 1.54.1Alexander Kanavin psmisc22.2123.1 Alexander Kanavin btrfs-tools 4.13.3 4.14 Alexander Kanavin systemtap-uprobes 3.1 3.2 Alexander Kanavin systemtap 3.1 3.2 Alexander Kanavin kernelshark 2.6.12.6.2 Alexander Kanavin mpg1231.25.7 1.25.8Alexander Kanavin libdnf0.9.30.11.1Alexander Kanavin tiff 4.0.84.0.9 Alexander Kanavin mkelfimage4.0+gitX 4.6 Alexander Kanavin mkelfimage has been removed... apt 1.2.24 1.4.8 Aníbal Limón apt-native1.2.24 1.4.8 Aníbal Limón dpkg 1.18.24 1.19.0.4 Aníbal Limón bind 9.10.6 9.11.2Armin Kuster curl 7.54.1 7.57.0Armin Kuster libassuan 2.4.42.4.5 Armin Kuster libxcursor1.1.14 1.1.15Armin Kuster libxfont 1.5.31.5.4 Armin Kuster libxfont2 2.0.22.0.3 Armin Kuster nss 3.34 3.34.1Armin Kuster pinentry 1.0.01.1.0 Armin Kuster kexec-tools 2.0.15 2.0.16Armin Kuster libunwind 1.2 1.2.1 Bruce Ashfield linux-libc-headers4.12 4.14.3Bruce Ashfield linux-yocto 4.12.14+gitX 4.12.16 Bruce Ashfield linux-yocto-tiny 4.12.14+gitX 4.12.16 Bruce Ashfield linux-yocto-rt4.12.14+gitX 4.12.16 Bruce Ashfield iproute2 4.13.0 4.14.1Changhyeok Bae dbus-test 1.10.20 1.12.2Chen Qi pciutils 3.5.53.5.6 Chen Qi coreutils 8.27 8.28 Chen Qi flex 2.6.02.6.4 Chen Qi systemd 234 235 Chen Qi sed 4.2.24.4 Chen Qi sysstat 11.6.1 11.7.1Chen Qi systemd-boot 234 235 Chen Qi systemd-bootchart 231+gitX 233 Chen Qi dbus 1.10.20 1.12.2Chen Qi build-appliance-i... 15.0.0 18.0.
Re: [yocto] [meta-mingw][PATCH] mingw64: update to 5.0.3
ping On 10 November 2017 at 11:30, Samuli Piippo wrote: > Use the latest mingw64 release to get access to the latest Windows APIs > > BUILDSDK_CPPFLAGS were emptied from poky.conf, but are needed for mingw > build to include correct float.h. (error: '_MCW_DN' undeclared here) > > Disable shared library for nativesdk-gettext as it fails with > 'undefined reference to `xmlFree'' > > Signed-off-by: Samuli Piippo > --- > recipes-core/gettext/gettext_0.19.%.bbappend| 2 +- > ...gw-w64-headers_3.1.0.bb => nativesdk-mingw-w64-headers_5.0.3.bb} | 4 ++-- > ...gw-w64-runtime_3.1.0.bb => nativesdk-mingw-w64-runtime_5.0.3.bb} | 6 > -- > 3 files changed, 7 insertions(+), 5 deletions(-) > rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-headers_3.1.0.bb => > nativesdk-mingw-w64-headers_5.0.3.bb} (83%) > rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-runtime_3.1.0.bb => > nativesdk-mingw-w64-runtime_5.0.3.bb} (84%) > > diff --git a/recipes-core/gettext/gettext_0.19.%.bbappend > b/recipes-core/gettext/gettext_0.19.%.bbappend > index b33970a..95ea030 100644 > --- a/recipes-core/gettext/gettext_0.19.%.bbappend > +++ b/recipes-core/gettext/gettext_0.19.%.bbappend > @@ -2,7 +2,7 @@ DEPENDS_append_mingw32 = " pthreads-win32" > LDFLAGS_prepend_mingw32 = " -lpthread " > > CFLAGS_append_mingw32 = " -DLIBXML_STATIC" > -EXTRA_OECONF_append_mingw32 = " --enable-threads=windows --enable-static" > +EXTRA_OECONF_append_mingw32 = " --enable-threads=windows --enable-static > --disable-shared" > > FILESEXTRAPATHS_prepend_mingw32 := "${THISDIR}/${BPN}:" > SRC_URI_append_mingw32 = " \ > diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb > b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_5.0.3.bb > similarity index 83% > rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb > rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_5.0.3.bb > index 5cd4e34..3948392 100644 > --- a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb > +++ b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_5.0.3.bb > @@ -7,8 +7,8 @@ COMPATIBLE_HOST = ".*-mingw.*" > SRC_URI = > "${SOURCEFORGE_MIRROR}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2 > \ > file://epsilon.patch" > > -SRC_URI[md5sum] = "df0e7657f46cbd59ed9cbe2a50c66e15" > -SRC_URI[sha256sum] = > "ece7a7e7e1ab5e25d5ce469f8e4de7223696146fffa71c16e2a9b017d0e017d2" > +SRC_URI[md5sum] = "5524c20312560cc8683b7d8ee292cb8c" > +SRC_URI[sha256sum] = > "2a601db99ef579b9be69c775218ad956a24a09d7dabc9ff6c5bd60da9ccc9cb4" > > S = "${WORKDIR}/mingw-w64-v${PV}/mingw-w64-headers" > B = "${WORKDIR}/build-${TARGET_SYS}" > diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_3.1.0.bb > b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_5.0.3.bb > similarity index 84% > rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_3.1.0.bb > rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_5.0.3.bb > index c4292ad..29df124 100644 > --- a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_3.1.0.bb > +++ b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_5.0.3.bb > @@ -5,14 +5,16 @@ LIC_FILES_CHKSUM = > "file://../COPYING;md5=bb936f0e04d8f1e19ad545100cee9654" > COMPATIBLE_HOST = ".*-mingw.*" > > SRC_URI = > "${SOURCEFORGE_MIRROR}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" > -SRC_URI[md5sum] = "df0e7657f46cbd59ed9cbe2a50c66e15" > -SRC_URI[sha256sum] = > "ece7a7e7e1ab5e25d5ce469f8e4de7223696146fffa71c16e2a9b017d0e017d2" > +SRC_URI[md5sum] = "5524c20312560cc8683b7d8ee292cb8c" > +SRC_URI[sha256sum] = > "2a601db99ef579b9be69c775218ad956a24a09d7dabc9ff6c5bd60da9ccc9cb4" > > S = "${WORKDIR}/mingw-w64-v${PV}/mingw-w64-crt" > B = "${WORKDIR}/build-${TARGET_SYS}" > > inherit autotools nativesdk > > +BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR}" > + > INHIBIT_DEFAULT_DEPS = "1" > DEPENDS = "nativesdk-mingw-w64-headers virtual/${TARGET_PREFIX}gcc-initial " > > -- > 2.7.4 > > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto