* Application package creation reg
@ 2015-01-30 11:51 Sachu Sanal (NeSTIT)
2015-01-30 14:42 ` Daiane Angolini
0 siblings, 1 reply; 6+ messages in thread
From: Sachu Sanal (NeSTIT) @ 2015-01-30 11:51 UTC (permalink / raw)
To: meta-freescale; +Cc: Otavio Salvador
[-- Attachment #1.1: Type: text/plain, Size: 1189 bytes --]
Dear all
I created Makefile based package as per the development manuval(
http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.htm
l#splitting-an-application-into-multiple-packages )
Created the package under the meta-yocto layer
In .bb file of this package is below.
In recipe folder structure I created files folder and .bb file
In that files folder I added the makefile and source file folders
When I bitbake this bb file I get an error source files is not getting
(source file mentioned in makefile)
I have 7 source files and I keep the .c file in source folder
In make file I clearly mention cd to the folder and take source file.
Iif any one know how can include source files folder in bb file
My make file also I attached here.
Please help me....
DESCRIPTION = "Simple application"
SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
pr = "r0"
SRC_URI = "file://Makefile"
S = "${WORKDIR}"
do_install() {
install -d ${D}${bindir}
install -m 0755 CLUSTER ${D}${bindir}
}
Regards
Sachu
[-- Attachment #1.2: Type: text/html, Size: 4215 bytes --]
[-- Attachment #2: Makefile --]
[-- Type: application/octet-stream, Size: 271 bytes --]
all:
@echo "****** Invoking Application/makefile"
(cd Application; $(MAKE))
# @echo "****** Invoking BSP/makefile"
#(cd BSP; $(MAKE))
getexec:
echo "Getting new app!";\
clean:
@echo "****** Invoking Application/makefile"
(cd Application; $(MAKE) clean)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Application package creation reg
2015-01-30 11:51 Application package creation reg Sachu Sanal (NeSTIT)
@ 2015-01-30 14:42 ` Daiane Angolini
2015-01-31 3:20 ` Sachu Sanal (NeSTIT)
2015-02-02 11:56 ` Sachu Sanal (NeSTIT)
0 siblings, 2 replies; 6+ messages in thread
From: Daiane Angolini @ 2015-01-30 14:42 UTC (permalink / raw)
To: Sachu Sanal (NeSTIT); +Cc: meta-freescale, Otavio Salvador
On Fri, Jan 30, 2015 at 9:51 AM, Sachu Sanal (NeSTIT)
<sachu.sanal@nestgroup.net> wrote:
> Dear all
>
>
>
> I created Makefile based package as per the development
> manuval(http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html#splitting-an-application-into-multiple-packages
> )
>
> Created the package under the meta-yocto layer
>
> In .bb file of this package is below.
>
> In recipe folder structure I created files folder and .bb file
>
> In that files folder I added the makefile and source file folders
>
> When I bitbake this bb file I get an error source files is not getting
> (source file mentioned in makefile)
>
> I have 7 source files and I keep the .c file in source folder
>
> In make file I clearly mention cd to the folder and take source file.
>
> Iif any one know how can include source files folder in bb file
>
> My make file also I attached here.
>
>
>
> Please help me….
>
>
>
> DESCRIPTION = "Simple application"
>
> SECTION = "examples"
>
> LICENSE = "MIT"
>
> LIC_FILES_CHKSUM =
> "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
>
> pr = "r0"
>
> SRC_URI = "file://Makefile"
You should not link only Makefile. SRC_URI is the linker for your
complete application (like a git repository or a tarball)
If you are using default autotools, you can only inherit autotool in your recipe
Daiane
>
> S = "${WORKDIR}"
>
> do_install() {
>
> install -d ${D}${bindir}
>
> install -m 0755 CLUSTER ${D}${bindir}
>
> }
>
>
>
> Regards
>
> Sachu
>
>
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Application package creation reg
2015-01-30 14:42 ` Daiane Angolini
@ 2015-01-31 3:20 ` Sachu Sanal (NeSTIT)
2015-01-31 12:41 ` Otavio Salvador
2015-02-02 11:56 ` Sachu Sanal (NeSTIT)
1 sibling, 1 reply; 6+ messages in thread
From: Sachu Sanal (NeSTIT) @ 2015-01-31 3:20 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale, Otavio Salvador
Dear Daiane
Thanks For your reply
I am not familiar about this recipe and layers.So I have one doubt I created one recipe in meta-yocto layer .and created one folder name files and put my application folders there (2 folder and one Make file).how can I mention this folder in SRC_URI variable.please help me..
Regards
Sachu
-----Original Message-----
From: angolini@gmail.com [mailto:angolini@gmail.com] On Behalf Of Daiane Angolini
Sent: Friday, January 30, 2015 8:13 PM
To: Sachu Sanal (NeSTIT)
Cc: meta-freescale@yoctoproject.org; Otavio Salvador
Subject: Re: [meta-freescale] Application package creation reg
On Fri, Jan 30, 2015 at 9:51 AM, Sachu Sanal (NeSTIT)
<sachu.sanal@nestgroup.net> wrote:
> Dear all
>
>
>
> I created Makefile based package as per the development
> manuval(http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html#splitting-an-application-into-multiple-packages
> )
>
> Created the package under the meta-yocto layer
>
> In .bb file of this package is below.
>
> In recipe folder structure I created files folder and .bb file
>
> In that files folder I added the makefile and source file folders
>
> When I bitbake this bb file I get an error source files is not getting
> (source file mentioned in makefile)
>
> I have 7 source files and I keep the .c file in source folder
>
> In make file I clearly mention cd to the folder and take source file.
>
> Iif any one know how can include source files folder in bb file
>
> My make file also I attached here.
>
>
>
> Please help me….
>
>
>
> DESCRIPTION = "Simple application"
>
> SECTION = "examples"
>
> LICENSE = "MIT"
>
> LIC_FILES_CHKSUM =
> "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
>
> pr = "r0"
>
> SRC_URI = "file://Makefile"
You should not link only Makefile. SRC_URI is the linker for your
complete application (like a git repository or a tarball)
If you are using default autotools, you can only inherit autotool in your recipe
Daiane
>
> S = "${WORKDIR}"
>
> do_install() {
>
> install -d ${D}${bindir}
>
> install -m 0755 CLUSTER ${D}${bindir}
>
> }
>
>
>
> Regards
>
> Sachu
>
>
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Application package creation reg
2015-01-31 3:20 ` Sachu Sanal (NeSTIT)
@ 2015-01-31 12:41 ` Otavio Salvador
0 siblings, 0 replies; 6+ messages in thread
From: Otavio Salvador @ 2015-01-31 12:41 UTC (permalink / raw)
To: Sachu Sanal (NeSTIT); +Cc: meta-freescale
On Sat, Jan 31, 2015 at 1:20 AM, Sachu Sanal (NeSTIT)
<sachu.sanal@nestgroup.net> wrote:
> I am not familiar about this recipe and layers.So I have one doubt I created one recipe in meta-yocto layer .and created one folder name files and put my application folders there (2 folder and one Make file).how can I mention this folder in SRC_URI variable.please help me..
Please use some time to read the Yocto Project manual[1] or maybe our
book[2] regarding the Yocto Project
1. https://www.yoctoproject.org/documentation
2. bit.ly/1neUtSO
Depending on your type of experience with Linux and Embedded one or
another might be better.
I hope it helps :)
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Application package creation reg
2015-01-30 14:42 ` Daiane Angolini
2015-01-31 3:20 ` Sachu Sanal (NeSTIT)
@ 2015-02-02 11:56 ` Sachu Sanal (NeSTIT)
2015-02-02 12:05 ` Daiane Angolini
1 sibling, 1 reply; 6+ messages in thread
From: Sachu Sanal (NeSTIT) @ 2015-02-02 11:56 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale
Hai Dear Daiane ,
I try to correcting the bb file and giving build
But I get an error
ERROR: Worker process (21477) exited unexpectedly (-9), shutting down...
ERROR: Worker process (21477) exited unexpectedly (-9), shutting down...
Please help me to solve this issue....
Regards
Sachu
-----Original Message-----
From: angolini@gmail.com [mailto:angolini@gmail.com] On Behalf Of Daiane Angolini
Sent: Friday, January 30, 2015 8:13 PM
To: Sachu Sanal (NeSTIT)
Cc: meta-freescale@yoctoproject.org; Otavio Salvador
Subject: Re: [meta-freescale] Application package creation reg
On Fri, Jan 30, 2015 at 9:51 AM, Sachu Sanal (NeSTIT)
<sachu.sanal@nestgroup.net> wrote:
> Dear all
>
>
>
> I created Makefile based package as per the development
> manuval(http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html#splitting-an-application-into-multiple-packages
> )
>
> Created the package under the meta-yocto layer
>
> In .bb file of this package is below.
>
> In recipe folder structure I created files folder and .bb file
>
> In that files folder I added the makefile and source file folders
>
> When I bitbake this bb file I get an error source files is not getting
> (source file mentioned in makefile)
>
> I have 7 source files and I keep the .c file in source folder
>
> In make file I clearly mention cd to the folder and take source file.
>
> Iif any one know how can include source files folder in bb file
>
> My make file also I attached here.
>
>
>
> Please help me….
>
>
>
> DESCRIPTION = "Simple application"
>
> SECTION = "examples"
>
> LICENSE = "MIT"
>
> LIC_FILES_CHKSUM =
> "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
>
> pr = "r0"
>
> SRC_URI = "file://Makefile"
You should not link only Makefile. SRC_URI is the linker for your
complete application (like a git repository or a tarball)
If you are using default autotools, you can only inherit autotool in your recipe
Daiane
>
> S = "${WORKDIR}"
>
> do_install() {
>
> install -d ${D}${bindir}
>
> install -m 0755 CLUSTER ${D}${bindir}
>
> }
>
>
>
> Regards
>
> Sachu
>
>
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Application package creation reg
2015-02-02 11:56 ` Sachu Sanal (NeSTIT)
@ 2015-02-02 12:05 ` Daiane Angolini
0 siblings, 0 replies; 6+ messages in thread
From: Daiane Angolini @ 2015-02-02 12:05 UTC (permalink / raw)
To: Sachu Sanal (NeSTIT); +Cc: meta-freescale
On Mon, Feb 2, 2015 at 9:56 AM, Sachu Sanal (NeSTIT)
<sachu.sanal@nestgroup.net> wrote:
> Hai Dear Daiane ,
>
> I try to correcting the bb file and giving build
> But I get an error
>
> ERROR: Worker process (21477) exited unexpectedly (-9), shutting down...
> ERROR: Worker process (21477) exited unexpectedly (-9), shutting down...
>
I have no idea what this error means, I cannot see the context
Daiane
> Please help me to solve this issue....
> Regards
> Sachu
>
> -----Original Message-----
> From: angolini@gmail.com [mailto:angolini@gmail.com] On Behalf Of Daiane Angolini
> Sent: Friday, January 30, 2015 8:13 PM
> To: Sachu Sanal (NeSTIT)
> Cc: meta-freescale@yoctoproject.org; Otavio Salvador
> Subject: Re: [meta-freescale] Application package creation reg
>
> On Fri, Jan 30, 2015 at 9:51 AM, Sachu Sanal (NeSTIT)
> <sachu.sanal@nestgroup.net> wrote:
>> Dear all
>>
>>
>>
>> I created Makefile based package as per the development
>> manuval(http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html#splitting-an-application-into-multiple-packages
>> )
>>
>> Created the package under the meta-yocto layer
>>
>> In .bb file of this package is below.
>>
>> In recipe folder structure I created files folder and .bb file
>>
>> In that files folder I added the makefile and source file folders
>>
>> When I bitbake this bb file I get an error source files is not getting
>> (source file mentioned in makefile)
>>
>> I have 7 source files and I keep the .c file in source folder
>>
>> In make file I clearly mention cd to the folder and take source file.
>>
>> Iif any one know how can include source files folder in bb file
>>
>> My make file also I attached here.
>>
>>
>>
>> Please help me….
>>
>>
>>
>> DESCRIPTION = "Simple application"
>>
>> SECTION = "examples"
>>
>> LICENSE = "MIT"
>>
>> LIC_FILES_CHKSUM =
>> "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
>>
>> pr = "r0"
>>
>> SRC_URI = "file://Makefile"
>
> You should not link only Makefile. SRC_URI is the linker for your
> complete application (like a git repository or a tarball)
>
> If you are using default autotools, you can only inherit autotool in your recipe
>
>
> Daiane
>
>>
>> S = "${WORKDIR}"
>>
>> do_install() {
>>
>> install -d ${D}${bindir}
>>
>> install -m 0755 CLUSTER ${D}${bindir}
>>
>> }
>>
>>
>>
>> Regards
>>
>> Sachu
>>
>>
>>
>>
>> --
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-02-02 12:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-30 11:51 Application package creation reg Sachu Sanal (NeSTIT)
2015-01-30 14:42 ` Daiane Angolini
2015-01-31 3:20 ` Sachu Sanal (NeSTIT)
2015-01-31 12:41 ` Otavio Salvador
2015-02-02 11:56 ` Sachu Sanal (NeSTIT)
2015-02-02 12:05 ` Daiane Angolini
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.