Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Controlling dependencies for package with manual Makefile
@ 2010-07-07 17:22 Matthew Davison
  2010-07-08  7:37 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Davison @ 2010-07-07 17:22 UTC (permalink / raw)
  To: buildroot

I understand that for packages using the autotools infrastructure, that
the PACKAGENAME_DEPENDENCIES variable (replacing PACKAGENAME
appropriately) is used to tell buildroot to build these dependencies
first. Setting this variable in a manual Makefile (non-autotools based),
does not appear to work.
 
Is there a way to force buildroot to build package dependencies first,
without having to convert to an autotools compliant Makefile?
 
Thanks for your help.
 
Matt
 
**********************************************************************
This e-mail is the property of Lantronix. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100707/f1cf9957/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Buildroot] Controlling dependencies for package with manual Makefile
@ 2010-07-07 22:26 Matthew Davison
  2010-07-07 22:33 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Davison @ 2010-07-07 22:26 UTC (permalink / raw)
  To: buildroot

> I understand that for packages using the autotools infrastructure,
that the PACKAGENAME_DEPENDENCIES variable (replacing PACKAGENAME
appropriately) is used to tell buildroot to build these dependencies
first. Setting this variable in a manual Makefile (non-autotools based),
does not appear to work.

> Is there a way to force buildroot to build package dependencies first,
without having to convert to an autotools compliant Makefile?

It's a bit of a kludge, but I discovered that I can just add the
dependency package name directly into my package's target prerequisites.
So for dependency <lib1>, I can modify my primary package target (in
packagename.mk) to:
packagename: lib1 <existing prerequisites go here>
 
This is far from ideal, but it does appear to be working.
 
Matt
 
**********************************************************************
This e-mail is the property of Lantronix. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100707/0de28b59/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-08  7:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07 17:22 [Buildroot] Controlling dependencies for package with manual Makefile Matthew Davison
2010-07-08  7:37 ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2010-07-07 22:26 Matthew Davison
2010-07-07 22:33 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox