From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Wed, 05 Nov 2008 09:31:51 +0100 Subject: [Buildroot] svn commit: trunk/buildroot/package/make In-Reply-To: <20081105080930.8D6EE3C808@busybox.net> (egtvedt@uclibc.org's message of "Wed\, 5 Nov 2008 00\:09\:30 -0800 \(PST\)") References: <20081105080930.8D6EE3C808@busybox.net> Message-ID: <87fxm6zi88.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "egtvedt" == egtvedt 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, E.G.: 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