Jump to content
  • 0

Makefile not generated for custom application in PetaLinux v2017.4


nardhini

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.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

@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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...