• 0
nardhini

Makefile not generated for custom application in PetaLinux v2017.4

Question

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?

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

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

@nardhini

What version of petalinux are you using?

I'm not super up to date on using the petalinux-create command, so I probably won't be able to answer your question right off the top of my head. You might want to hedge your bets here and also post your question on the Xilinx embedded linux forum to ensure you get the fastest possible response:

https://forums.xilinx.com/t5/Embedded-Linux/bd-p/ELINUX

Share this post


Link to post
Share on other sites
  • 0

Hi @sbobrowicz,

I am using PetaLinux v2017.4.

I did post the query in Xilinx Embedded Linux forum and got it solved. 

On 8/22/2018 at 12:09 PM, nardhini said:

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

About the Makefile, it doesn't get generated for 'install' template, only for C and C++ it gets generated.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now