[Buildroot] Working on a wxWidgets build

Peter Korsgaard jacmet at uclibc.org
Wed Apr 1 13:32:05 UTC 2009


>>>>> "Lloyd" == Lloyd Sargent <lloyd at 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



More information about the buildroot mailing list