[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] adding applications to Petalinux platform: what do I need to know?
Hi Chris, Dan,
On Wed, Jun 10, 2009 at 3:29 AM, Chris Robson <Chris.Robson@xxxxxxxxxxxx> wrote:
> You will have to cross compile things. Generally application trees are
> placed in the ./petalinux/user directory tree and user libraries are placed
> in ./petalinux-dist/lib tree.
For user-created apps, we recommend using the petalinux-new-app
script, which places your apps in software/user-apps, with a template
Makefile etc. In most cases this is preferred over what Chris
Plugging in your app down into the petalinux-dist/user hierarchy is
fiddly, and hides your app down in among tens of thousands of lines of
standard source code. It also means you hack on standard config and
scripts and Makefiles, making a future upgrade more problematic.
Note there's nothing stopping you using a more complex Makefile like
Chris offers, in the user-apps tree, then you get the best of both
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/