* [Buildroot] Working on a wxWidgets build
@ 2009-04-01 13:26 Lloyd Sargent
2009-04-01 13:32 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Lloyd Sargent @ 2009-04-01 13:26 UTC (permalink / raw)
To: buildroot
Forgive me if Make files are not my forte, but how do I create two
sets of dependancies in my wxwidget.mk file? The example in the
documentation has:
foo: uclibc ncurses $(TARGET_DIR)/$(FOO_TARGET_BINARY)
Which makes sense. However I need something along the lines of:
foo: uclibc libglib2 libgtk2 $(TARGET_DIR)/$(FOO_TARGET_BINARY)
for one set of options and
foo: uclibc $(TARGET_DIR)/$(FOO_TARGET_BINARY)
for a different set of options.
Since I'm not really terribly familiar with these build scripts
(better than day one!), I'd like to get a script that can build the
entire wx_widget library rather than submit a one that does only what
I need.
Please let me know if I need to clarify.
Cheers,
Lloyd
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Working on a wxWidgets build
2009-04-01 13:26 [Buildroot] Working on a wxWidgets build Lloyd Sargent
@ 2009-04-01 13:32 ` Peter Korsgaard
2009-04-01 14:01 ` Lloyd Sargent
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2009-04-01 13:32 UTC (permalink / raw)
To: buildroot
>>>>> "Lloyd" == Lloyd Sargent <lloyd@cannasoftware.com> writes:
Hi,
Lloyd> foo: uclibc ncurses $(TARGET_DIR)/$(FOO_TARGET_BINARY)
Lloyd> Which makes sense. However I need something along the lines of:
Lloyd> foo: uclibc libglib2 libgtk2 $(TARGET_DIR)/$(FOO_TARGET_BINARY)
Lloyd> for one set of options and
Lloyd> foo: uclibc $(TARGET_DIR)/$(FOO_TARGET_BINARY)
Lloyd> for a different set of options.
Stick them in a variable or use the $(if ) construct. See
package/grep/grep.mk or package/multimedia/alsa-utils/alsa-utils.mk
for examples.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Working on a wxWidgets build
2009-04-01 13:32 ` Peter Korsgaard
@ 2009-04-01 14:01 ` Lloyd Sargent
0 siblings, 0 replies; 3+ messages in thread
From: Lloyd Sargent @ 2009-04-01 14:01 UTC (permalink / raw)
To: buildroot
On Apr 1, 2009, at 8:32 AM, Peter Korsgaard wrote:
>>>>>> "Lloyd" == Lloyd Sargent <lloyd@cannasoftware.com> writes:
>
> Hi,
>
> Lloyd> foo: uclibc ncurses $(TARGET_DIR)/$(FOO_TARGET_BINARY)
>
> Lloyd> Which makes sense. However I need something along the lines of:
>
> Lloyd> foo: uclibc libglib2 libgtk2 $(TARGET_DIR)/$
> (FOO_TARGET_BINARY)
>
> Lloyd> for one set of options and
>
> Lloyd> foo: uclibc $(TARGET_DIR)/$(FOO_TARGET_BINARY)
>
> Lloyd> for a different set of options.
>
> Stick them in a variable or use the $(if ) construct. See
> package/grep/grep.mk or package/multimedia/alsa-utils/alsa-utils.mk
> for examples.
Ah, but of course (slaps himself on the head). Thanks!
Cheers,
Lloyd
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-01 14:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-01 13:26 [Buildroot] Working on a wxWidgets build Lloyd Sargent
2009-04-01 13:32 ` Peter Korsgaard
2009-04-01 14:01 ` Lloyd Sargent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox