[elbe-devel] [PATCH 6/6] commands check-build: Add SDK checker
Torben Hohn
torben.hohn at linutronix.de
Wed Jul 15 12:08:14 CEST 2020
On Mon, Jun 29, 2020 at 05:33:45PM -0400, Olivier Dion wrote:
> On Fri, 26 Jun 2020, Olivier Dion <dion at linutronix.de> wrote:
> > On Wed, 24 Jun 2020, Torben Hohn <torben.hohn at linutronix.de> wrote:>
> >> lets have a little bit more..
> >>
> >> maybe use pkg-config to link against something.
> >> using a shell script to generate some files, is a bit annoying.
> >> why do you need to do this ?
> >>
> >> why cant you have a set of mako template for example, that generate the
> >> files ? a bit like elbe init ?
> >
> > I feeled that using mako' template for expanding 2 variables was a bit
> > too much. I don't mind using it tho. It's actually better since I can
> > change my editor major mode to match shell syntax.
>
> I changed my mind. I find it painful to work with mako only to generate
> files that don't require any thing mako offer. I can pass environment
> variables to the script instead of using Python template tho.
>
> And so it's just a matter of doing:
> ----------------------------------------------------------------------
> do("/bin/sh", stdin=self.script, env_add={"ELBE_SDK_ENV":env})
> ----------------------------------------------------------------------
>
> If the script get more complicated, we might want to split this into
> mako files. But for now I think this is more cumbersome than anything
> else.
oh well.. lets keep this for now.
i just don really like having files, that contain 2 languages.
Acked-by: Torben Hohn <torben.hohn at linutronix.de>
>
> --
> Olivier Dion
> Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
More information about the elbe-devel
mailing list