[Buildroot] using a variable within a buildroot menuconfig
thomas.petazzoni at free-electrons.com
Tue Jun 25 19:41:05 UTC 2013
Dear Jan Pohanka,
On Tue, 25 Jun 2013 09:58:00 +0200, Jan Pohanka wrote:
> I have another /weird/ question.
> I would like to know if it is possible to create an item in
> configuration which will for example contain some (absolute) path on my
> filesystem. Then I would like to use this variable for example in
> --extra-cflags configure option for applications like ffmpeg etc.
> I know that it is not very nice way, but I need to integrate buildroot
> with Texas Instruments SDK, which is not very GNU build tools friendy.
I'm not sure to really understand what you want to do here. You can
always create string options:
and then in some .mk file, you can use:
to refer to still variable, or:
if you want to get rid of the quotes around the variable value.
Does this answer your questions?
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
More information about the buildroot