[Buildroot] [PATCH 1/2] freescale-imx: separate variable assignment from Makefile
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Oct 1 21:27:10 UTC 2013
Dear Eric Nelson,
On Tue, 01 Oct 2013 14:19:09 -0700, Eric Nelson wrote:
> I can do that if I move packages/gstreamer/gst-fsl-plugins/ under
> packages/freescale-imx, but not otherwise.
Are you sure?
See:
$ cat foo.mk
YOURPACKAGE_VERSION = $(FREESCALE_IMX_VERSION)
FREESCALE_IMX_VERSION = 42
all:
@echo $(YOURPACKAGE_VERSION)
$ make -f foo.mk
42
$
This shows that the value of FREESCALE_IMX_VERSION can be given *after*
it is used.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list