From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uhzsb-0003UA-7o for barebox@lists.infradead.org; Thu, 30 May 2013 10:14:46 +0000 Date: Thu, 30 May 2013 12:14:23 +0200 From: Sascha Hauer Message-ID: <20130530101423.GD32299@pengutronix.de> References: <1369733984-25370-1-git-send-email-jlu@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1369733984-25370-1-git-send-email-jlu@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] scripts: Makefile: do not use obj-* variables for userspace tools To: Jan Luebbe Cc: barebox@lists.infradead.org On Tue, May 28, 2013 at 11:39:44AM +0200, Jan Luebbe wrote: > When using obj-?, it erroneously tries to link a built-in.o. Instead > use the extra-? variable. > > Signed-off-by: Jan Luebbe Applied, thanks Sascha > --- > scripts/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/Makefile b/scripts/Makefile > index f062fc0..e375530 100644 > --- a/scripts/Makefile > +++ b/scripts/Makefile > @@ -30,7 +30,7 @@ subdir- += basic kconfig setupmbr > quiet_cmd_csingle = CC $@ > cmd_csingle = $(CC) -Wp,-MD,$(depfile) $(CFLAGS) -o $@ $< > > -obj-$(CONFIG_BAREBOXENV_TARGET) += bareboxenv-target > +extra-$(CONFIG_BAREBOXENV_TARGET) += bareboxenv-target > > scripts/bareboxenv-target: scripts/bareboxenv.c FORCE > $(call if_changed_dep,csingle) > -- > 1.8.2.rc2 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox