[Buildroot] Config defined package version is always built

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 8 09:29:41 UTC 2016


Hello,

On Fri, 8 Jul 2016 11:10:31 +0200, Alvaro Gamez wrote:

> I'm writing a custom package whose version I want to define via menuconfig.
> Thus, I include in Config.in a string config option called
> BR2_PACKAGE_MYPKG_VERSION, and inside mypkg.mk I set MYPKG_VERSION =
> $(BR2_PACKAGE_MYPKG_VERSION)

Use:

MYPKG_VERSION = $(call qstrip,$(BR2_PACKAGE_MYPKG_VERSION))

to remove the double quotes around the string. This might help in
solving your problem.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list