From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Thomas Perale <thomas.perale@mind.be>
Cc: Thomas Perale via buildroot <buildroot@buildroot.org>,
"Yann E. MORIN" <yann.morin.1998@free.fr>
Subject: Re: [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier
Date: Wed, 30 Jul 2025 10:27:20 +0200 [thread overview]
Message-ID: <20250730102720.49992419@windsurf> (raw)
In-Reply-To: <20250729200249.1387290-1-thomas.perale@mind.be>
Hello,
+Yann in Cc.
On Tue, 29 Jul 2025 22:02:49 +0200
Thomas Perale <thomas.perale@mind.be> wrote:
> Thanks for giving a look. I saw similar trick was used in a number of other
> packages (icu, tinyxml, glibc).
>
> If I'm not missing anything there are no way yet to define both the a
> <pkg>_VERSION and <pkg>_DL_VERSION variable. See the following code from
> pkg-generic.mk:
>
> https://gitlab.com/buildroot.org/buildroot/-/blob/master/package/pkg-generic.mk#L491-500
>
> If <pkg>_VERSION is defined it will always override <pkg>_DL_VERSION.
>
> Defining the aardvark-dns version like this could be a solution to the issue
> you raised but would require some changes in pkg-generic.mk
>
> AARDVARK_DNS_VERSION = 1.15.0
> AARDVARK_DNS_DL_VERSION = v$(AARDVARK_DNS_VERSION)
Correct, that would be ideal, and I tried to implement exactly this a
while ago:
https://gitlab.com/tpetazzoni/buildroot/-/commits/dl-version?ref_type=heads
And didn't manage to get something that works fully (my patch series
has a test that verifies the different combinations, and the tests are
failing). I'm pretty sure I discussed my code with Yann E. Morin back
in the days, and our conclusion was that adding another variable was
probably needed to solve the issue, but it was a while ago, I don't
recall the exact details.
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2025-07-30 8:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-27 19:25 [Buildroot] [PATCH] package/aardvark-dns: add CPE identifier Thomas Perale via buildroot
2025-07-28 20:47 ` Thomas Petazzoni via buildroot
2025-07-29 20:02 ` Thomas Perale via buildroot
2025-07-30 8:27 ` Thomas Petazzoni via buildroot [this message]
2026-02-03 15:22 ` Julien Olivain via buildroot
2026-02-13 19:36 ` Thomas Perale via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250730102720.49992419@windsurf \
--to=buildroot@buildroot.org \
--cc=thomas.perale@mind.be \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.