[Buildroot] [PATCH] new variable <pkg>_CONFIG_FIXUP
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Jan 7 22:42:06 UTC 2013
Dear Stefan Fröberg,
On Tue, 08 Jan 2013 00:23:33 +0200, Stefan Fröberg wrote:
> You mean checking first in if-statement if $($(PKG)_CONFIG_FIXUP exist ?
> What is the best way to detect if it exist ?
Just test if the variable is not empty, i.e test -n.
Like (untested):
if test -n $($(PKG)_CONFIG_FIXUP) ; then \
$(call MESSAGE, "Blabla") ; \
for file in ...
...
done
fi
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list