[Buildroot] svn commit: trunk/buildroot/package/make

Peter Korsgaard jacmet at uclibc.org
Wed Nov 5 08:31:51 UTC 2008

>>>>> "egtvedt" == egtvedt  <egtvedt at uclibc.org> writes:

 egtvedt> Author: egtvedt
 egtvedt> Date: 2008-11-05 00:09:30 -0800 (Wed, 05 Nov 2008)
 egtvedt> New Revision: 23928

 egtvedt> Log:
 egtvedt> make: select gettext and libintl if locale is enabled

 egtvedt>  ifeq ($(strip $(BR2_PACKAGE_MAKE)),y)
 egtvedt> -TARGETS+=make
 egtvedt> +TARGETS+=$(if $(BR2_PACKAGE_GETTEXT),gettext) make

We normally do this by adding it as a dependency to the make: target,

make: uclibc $(if $(BR2_PACKAGE_GETTEXT),gettext) $(TARGET_DIR)/$(GNUMAKE_TARGET_BINARY)

Adding it to TARGETS doesn't ensure that gettext gets built before
make (well, actually it does, but it isn't very clear or robust)

Could you please change it?

Bye, Peter Korsgaard

More information about the buildroot mailing list