If your prebuilt application name is myapp, including this into PetaLinux root file system is explained in following steps.
- Ensure that the pre-compiled code has been compiled for your PetaLinux target architecture, for example, MicroBlaze™ processors, Arm® cores etc.
- Create an application with the following
command.
petalinux-create apps --template install --name myapp --enable
- Change to the newly created application directory.
cd <plnx-proj-root>/project-spec/meta-user/recipes-apps/myapp/files/
- Remove existing myapp app
and copy the prebuilt myapp into myapp/files directory.
rm myapp $ cp <path-to-prebuilt-app> ./
Important: You need to ensure that the binary data being installed into the target file system by an install template application is compatible with the underlying hardware implementation of your system.