* add custom application into a image
@ 2014-07-18 9:12 dexon_test
2014-07-18 13:50 ` Cliff Brake
0 siblings, 1 reply; 2+ messages in thread
From: dexon_test @ 2014-07-18 9:12 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]
First of all, I am a full beginner when it comes to bitbake, yocto, etc...So, I am sorry if my questions seems unskilful...
I would like to use meta-atmel (https://github.com/linux4sam/meta-atmel) with SAMA5d3xek machine.
I could build "atmel-qt4e-demo-image" demo image. Therefore I'd like to create custom apps into this image with these steps:
1. Added my new package ("dxatmel") into atmel-qt4e-demo-image.bb
2. Created my custom package file (dxatmel_1.0.bb):
DESCRIPTION = "DXAtmel QT application"
LICENSE = "BSD"
LIC_FILES_CHKSUM ="file://main.cpp;endline=14;md5=224c1642c6a9139c8824491e38263cba"
DEFAULT_PREFERENCE = "14"
PACKAGES = "${PN}-dbg ${PN}"
PR = "r0"
DEPENDS = "qt4-embedded"
SRC_URI ="ftp://www.dexonsystems.com/stuff/dxatmel-$(PV).tar.gz"
SRC_URI[md5sum] = "77c74ad602bfc25a97dd2e5593c00d5c"
SRC_URI[sha256sum] = "eff2bff716602ac21f8ca6a728c1860efd874e7e73d43c9f3f300c0763f2cfa0"
S = "${WORKDIR}/dxatmel-${PV}"
inherit qt4e pkgconfig
FILES_${PN}-dbg = " \
/opt/DXAtmel/.debug \
/opt/DXAtmel/.debug/* \
/usr/* \
/opt/DXAtmel/mainwindow.h \
/opt/DXAtmel/mainwindow.cpp \
/opt/DXAtmel/main.cpp \
/opt/DXAtmel/DXAtmel.pro \
/opt/DXAtmel/moc_mainwindow.cpp \
"
FILES_${PN} = " \
/opt/DXAtmel/DXAtmel \
/opt/DXAtmel/DXAtmel.sh \
/opt/ApplicationL* \
"
do_install() {
make INSTALL_ROOT=${D} install
}
3. bitbake -c build dxatmel
-> I hit this error msg: Not found *.pro file in the working directory
Any advice on what I have missed in setting up recipes, etc...?
Lori
[-- Attachment #2: Type: text/html, Size: 2377 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: add custom application into a image
2014-07-18 9:12 add custom application into a image dexon_test
@ 2014-07-18 13:50 ` Cliff Brake
0 siblings, 0 replies; 2+ messages in thread
From: Cliff Brake @ 2014-07-18 13:50 UTC (permalink / raw)
To: dexon_test; +Cc: yocto@yoctoproject.org
On Fri, Jul 18, 2014 at 5:12 AM, dexon_test <dexon1@dexonsystems.com> wrote:
> }
>
> 3. bitbake -c build dxatmel
>
> -> I hit this error msg: Not found *.pro file in the working directory
At this point, you'll likely need to cd in the
tmp/work/..../dxatmel../ directory. Then you can look at the script
that is doing the compile (temp/run.do_compile) and figure out what is
wrong. I suspect its a directory naming issue or something.
Cliff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-18 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-18 9:12 add custom application into a image dexon_test
2014-07-18 13:50 ` Cliff Brake
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.