* [Buildroot] Config defined package version is always built
@ 2016-07-08 9:10 Alvaro Gamez
2016-07-08 9:29 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Alvaro Gamez @ 2016-07-08 9:10 UTC (permalink / raw)
To: buildroot
Hi!
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)
This works fine, I can set any version I want via menuconfig and buildroot
will download and install that version from a git repository.
However, whenever I type make, this package will be built again, even if it
has just been built and no change have been made.
Is there anyway to avoid this?
Thanks!
--
?lvaro G?mez Machado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160708/ce4b1a28/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Config defined package version is always built
2016-07-08 9:10 [Buildroot] Config defined package version is always built Alvaro Gamez
@ 2016-07-08 9:29 ` Thomas Petazzoni
2016-07-08 15:53 ` Alvaro Gamez
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2016-07-08 9:29 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Config defined package version is always built
2016-07-08 9:29 ` Thomas Petazzoni
@ 2016-07-08 15:53 ` Alvaro Gamez
2016-07-08 16:34 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Alvaro Gamez @ 2016-07-08 15:53 UTC (permalink / raw)
To: buildroot
Hi, Thomas
2016-07-08 11:29 GMT+02:00 Thomas Petazzoni <
thomas.petazzoni@free-electrons.com>:
> Use:
>
> MYPKG_VERSION = $(call qstrip,$(BR2_PACKAGE_MYPKG_VERSION))
>
> to remove the double quotes around the string. This might help in
> solving your problem.
>
Nothing different happened this time, it built the package again.
Thanks,
--
?lvaro G?mez Machado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160708/41434f0a/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Config defined package version is always built
2016-07-08 15:53 ` Alvaro Gamez
@ 2016-07-08 16:34 ` Thomas Petazzoni
2016-07-12 6:33 ` Alvaro Gamez
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2016-07-08 16:34 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 8 Jul 2016 17:53:56 +0200, Alvaro Gamez wrote:
> Nothing different happened this time, it built the package again.
Weird. Can you create a minimal test case and send us the .mk file so
that we can reproduce?
Thanks,
Thoams
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Config defined package version is always built
2016-07-08 16:34 ` Thomas Petazzoni
@ 2016-07-12 6:33 ` Alvaro Gamez
0 siblings, 0 replies; 5+ messages in thread
From: Alvaro Gamez @ 2016-07-12 6:33 UTC (permalink / raw)
To: buildroot
Oh, sorry, it did work! I mistook one package with another,
but I've just tried again and that small change does indeed solve this
issue for me.
Thanks a lot!
2016-07-08 18:34 GMT+02:00 Thomas Petazzoni <
thomas.petazzoni@free-electrons.com>:
> Hello,
>
> On Fri, 8 Jul 2016 17:53:56 +0200, Alvaro Gamez wrote:
>
> > Nothing different happened this time, it built the package again.
>
> Weird. Can you create a minimal test case and send us the .mk file so
> that we can reproduce?
>
> Thanks,
>
> Thoams
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>
--
?lvaro G?mez Machado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160712/d03ae251/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-07-12 6:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-08 9:10 [Buildroot] Config defined package version is always built Alvaro Gamez
2016-07-08 9:29 ` Thomas Petazzoni
2016-07-08 15:53 ` Alvaro Gamez
2016-07-08 16:34 ` Thomas Petazzoni
2016-07-12 6:33 ` Alvaro Gamez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox