Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Suggestion, Keep version in a separate file.
@ 2006-11-06 20:29 Ulf Samuelsson
  2006-11-06 21:13 ` Marc Lindahl
  2006-11-06 21:29 ` Nathanael D. Noblet
  0 siblings, 2 replies; 7+ messages in thread
From: Ulf Samuelsson @ 2006-11-06 20:29 UTC (permalink / raw)
  To: buildroot


I believe it would be a good
idea to separate the version
info and download site 
from the <package>.mk.
and keep a central file
with this info.

This would make it easier
to handle several projects
using different versions
of packages with the same
framework.
As part of this I think patches
to packages should reside
in a subdirectory to the
main package directory.

/Ulf

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Buildroot] Suggestion, Keep version in a separate file.
@ 2006-11-07  7:43 Ulf Samuelsson
  2006-11-07 16:53 ` Marc Lindahl
  0 siblings, 1 reply; 7+ messages in thread
From: Ulf Samuelsson @ 2006-11-07  7:43 UTC (permalink / raw)
  To: buildroot

 
That sounds like it would make the buildroot system overly complicated 
for an rare edge case.
You can do that by managing your .config files - many ways to do that 
already....

=> I really do not see
    how I can, using .config,
    select between 
    package-1.18 and
    package-1.19 unless
    there is support for
    it in the Config.in files.
    (Which there isn't)
    so I have to use two
    different versions of
    buildroot and this is
    making life more 
    complex.

    Anyway, what's so complex
    about adding an extra
    include statement in
    the Makefile?
    
    include $(BR2_VERSION_INFO)

    and set this to ".versions"
    in the main Config.in as
    default.
    If a user wants a different
    set of package versions
    then it is easy to select
    another file.

    By using different .config
    files you easily can maintain different projects using different Version Info files.


    I doubt this is a corner
    case.  Anyone that is supporting more than one
project runs into this problem.



On Nov 6, 2006, at 3:29 PM, Ulf Samuelsson wrote:

>
> I believe it would be a good
> idea to separate the version
> info and download site
> from the <package>.mk.
> and keep a central file
> with this info.
>
> This would make it easier
> to handle several projects
> using different versions
> of packages with the same
> framework.
> As part of this I think patches
> to packages should reside
> in a subdirectory to the
> main package directory.
>
> /Ulf
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-11-14 21:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 20:29 [Buildroot] Suggestion, Keep version in a separate file Ulf Samuelsson
2006-11-06 21:13 ` Marc Lindahl
2006-11-06 21:29 ` Nathanael D. Noblet
  -- strict thread matches above, loose matches on Subject: below --
2006-11-07  7:43 Ulf Samuelsson
2006-11-07 16:53 ` Marc Lindahl
2006-11-07 21:10   ` Ulf Samuelsson
2006-11-14 21:00     ` Marc Lindahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox