All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Rosen <jeremy.rosen@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Raspaudio : how to use buildroot as a git submodule
Date: Wed, 1 Oct 2014 14:58:56 +0200 (CEST)	[thread overview]
Message-ID: <1723661717.26039623.1412168336757.JavaMail.root@openwide.fr> (raw)
In-Reply-To: <CAM+bi4tCHcCha7T5eo1RPTf0fYpOFUjsmy5fhHQ4Nj=-qwHzNw@mail.gmail.com>

----- Mail original -----
> Hi!
> 
> 2014-09-26 13:56 GMT+02:00 Jeremy Rosen <jeremy.rosen@openwide.fr>:
> > That's an incencitive to upstream, no ? :P
> >
> > more seriously, if you want to do that, I would recommand
> > * either renaming the package entirely.
> > * or use the OVERRRIDE_SRC_DIR macro (see usermanual)
> 
> On this case I would. It's a simple bump version from V2_7 to github
> master,
> but since it's not a release I'm not sure it is desirable. Maybe it's
> better to wait for V2_8,
> although libconfuse's development is pretty much stagnated.
> 
> I don't want to rename the package, because that would mean having to
> modify all packages that depend on this one,
> so at the end it's less cumbersome to have a custom branch of
> buildroot in which I have made these little changes.
> 

Ok, that's probably a case of cloning libconfuse (as a submodule )in 
your main directory and using OVERRIDE_SRC_DIR to use it..

> >> All in all, however, I'm very happy with the environment your
> >> Makefile
> >> provides. I've done a couple changes that I hope will publish in
> >> the
> >> following week for comments.
> >>
> >
> > please do, I'll happily integrate... At this stage the framework
> > satisfies all my needs so I need external ideas to make it live :)
> 
> I've just uploaded a few files to this github repository.
> 
> https://github.com/agamez/buildroot-submodule
> 

Ok, since you have a created a github project, I have cloned it myself
if you want my clone to be the "root" clone, just destroy yours and then
re-clone mine... 

> There are only a couple differences between that version and yours.
> First, I solved a typo on your Makefile (now called common.mk),
> and then I've made it so that several projects can coexist under the
> same directory.
> Thus, two Makefile exist (Makefile.Project1 and Makefile.Project-X)
> 
> Configuration and buildroot generated files for each one are now
> saved
> under Project1 and Project-X directory.
> 

And you can have a Makefile with an empty project name for the case
where you only want one project, good

> This now satisfies my need of two almost similar projects, sharing up
> to 90% source code but with a couple differences.
> I need to be able to compile both and have them on different
> directories, thus the two output directories.
> 

yes typicall use-case for me is a project that needs to run on two
different hardware

* all overlays/custom packages are common
* buildroot source obviously need to be the same
* dl/ can be shared
* config files are different
* build/ directory is completely different

> Now you are able to make -f Makefile.Project1 menuconfig, or make -f
> Makefile.Project-X or whatever,
> without interfering one project with the other.
> 
> I hope you like it!
> 

A lot, keep me posted if you change more stuff...

I'll add a README for cleanliness...


> Regards
> 
> --
> ?lvaro G?mez Machado
> 

  reply	other threads:[~2014-10-01 12:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1436673405.11266711.1394440215222.JavaMail.root@openwide.fr>
2014-03-10  9:00 ` [Buildroot] Raspaudio : how to use buildroot as a git submodule Jeremy Rosen
2014-03-10 15:30   ` Alvaro Gamez
2014-03-10 15:38     ` Jeremy Rosen
2014-09-26  9:00       ` Alvaro Gamez
2014-09-26 11:56         ` Jeremy Rosen
2014-10-01  9:11           ` Alvaro Gamez
2014-10-01 12:58             ` Jeremy Rosen [this message]
2014-10-01 14:08               ` Jeremy Rosen
2014-10-01 14:18                 ` Alvaro Gamez
2014-10-01 14:37                   ` Jeremy Rosen
2014-10-02  9:53                     ` Alvaro Gamez
2014-10-02 10:10                       ` Jeremy Rosen
2014-10-03  8:03                         ` Jeremy Rosen
2014-10-08  8:19                           ` Alvaro Gamez
2014-10-08 10:11                             ` Jeremy Rosen
2014-10-15 17:42                               ` Arnout Vandecappelle
2014-10-16  8:18                                 ` Jeremy Rosen

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=1723661717.26039623.1412168336757.JavaMail.root@openwide.fr \
    --to=jeremy.rosen@openwide.fr \
    --cc=buildroot@busybox.net \
    /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.