cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
671 Views
Registered: ‎08-20-2018

Makefile not generated for custom application in PetaLinux v2017.4

Jump to solution

Hi,

 

I have two question regarding adding an application into Petalinux file system.

I created an application called receiver using SDK. And, ran the following command to create the application in PetaLinux.

$ petalinux-create -t apps --template install --name receiver --enable

 

1. Is it enough if I replace 'receiver' file under 'files' folder with 'receiver.elf'?

2. Makefile is not found under files folder. Is there a way to generate it?

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
617 Views
Registered: ‎04-24-2017

Re: Makefile not generated for custom application in PetaLinux v2017.4

Jump to solution

Hi @nardhini03,

 

Install template is only for copying configurations files, scripts and binaries.

 

If you need makefile then use template as c or c++.

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
Highlighted
Observer
Observer
638 Views
Registered: ‎08-20-2018

Re: Makefile not generated for custom application in PetaLinux v2017.4

Jump to solution

Additional info:

Makefile is created for other templates like C and C++, it is not created for install.

0 Kudos
Highlighted
Moderator
Moderator
618 Views
Registered: ‎04-24-2017

Re: Makefile not generated for custom application in PetaLinux v2017.4

Jump to solution

Hi @nardhini03,

 

Install template is only for copying configurations files, scripts and binaries.

 

If you need makefile then use template as c or c++.

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------

View solution in original post

0 Kudos
Highlighted
Observer
Observer
578 Views
Registered: ‎08-20-2018

Re: Makefile not generated for custom application in PetaLinux v2017.4

Jump to solution

Hi @sandeepg,

 

Thanks for the reply. The build worked. The confusion on Makefile was due to the README file which mentioned about doing some modifications to the Makefile.

0 Kudos