[Buildroot] [PATCH 4/4] utils/getdeveloperlib.py: use relative paths for files

Heiko Thiery heiko.thiery at gmail.com
Fri Nov 20 14:26:33 UTC 2020


Hi Thomas,

Am Fr., 20. Nov. 2020 um 15:14 Uhr schrieb Thomas Petazzoni
<thomas.petazzoni at bootlin.com>:
>
> Hello Heiko,
>
> Thanks for the review and feedback!
>
> On Fri, 20 Nov 2020 11:03:45 +0100
> Heiko Thiery <heiko.thiery at gmail.com> wrote:
>
> > I do as follows:
> >
> > --- >8 ---
> > # mkdir b
> > # cd b
> > # make ../buildroot/ defconfig
> > # ../buildroot/support/scripts/pkg-stats -c --json out.json
> > make: *** Keine Regel, um „show-info“ zu erstellen.  Schluss.
>
> The current folder must be a Builroot output directory:
>
> $ mkdir foobar/
> $ cd foobar/
> $ make -C /path/to/buildroot O=$(pwd) blabla_defconfig
> $ make pkg-stats
> or
> $ /path/to/buildroot/support/scripts/pkg-stats -c --json out.json
>
> Or this should also work (but not tested)
>
> $ cd /path/to/buildroot
> $ make O=/output blabla_defconfig
> $ make O=/output pkg-stats
>
> In any case: "pkg-stats -c" runs "make show-info", so it needs to be
> from a place where you can run Buildroot make targets.
>
> Does this clarifies the situation ?

Oh yes .. that was my fault. I completely forgot to add the O=$PWD argument.

Forget my previous mail ;-)

-- 
Heiko



More information about the buildroot mailing list