[Buildroot] [PATCH] new variable <pkg>_CONFIG_FIXUP

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jan 8 21:10:20 UTC 2013


Dear Arnout Vandecappelle,

On Tue, 08 Jan 2013 21:53:45 +0100, Arnout Vandecappelle wrote:

> > Like (untested):
> >
> > 	if test -n $($(PKG)_CONFIG_FIXUP) ; then \
> > 		$(call MESSAGE, "Blabla") ; \
> > 		for file in ...
> > 			...
> > 		done
> > 	fi
> 
>   The test isn't necessary, the loop will not execute if it is empty.

See the original discussion. The test is necessary to not show the
message "Fixing package configuration files" if there are no files to
fix, i.e if the <PKG>_CONFIG_FIXUP variable is empty.

Best regards,

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