[Buildroot] Adding post image hook

Yann E. MORIN yann.morin.1998 at free.fr
Wed May 13 21:32:22 UTC 2020


All,

On 2020-05-13 23:29 +0200, Yann E. MORIN spake thusly:
> On 2020-05-13 14:09 -0700, Patrick Mochel spake thusly:
> > Hi Thomas,
> > On Wed, May 13, 2020 at 1:16 PM Thomas Petazzoni < [1]thomas.petazzoni at bootlin.com> wrote:
> >   Or alternatively, you can do just:
> >     make printvars
> This only works for in-tree builds. For out-of-tree builds, you would
> want to run (this also works for in-tree builds):
>     make -C $(BASE_DIR) printvars

Of course, since this is in a shell script, this should be ${BASE_DIR}
not $(BASE_DIR).

[--SNIP--]
> If you want information from packages, you should use (and extend if
> needed) from your post-scripts:
>     make --no-print-directory -C $(BASE_DIR) show-info

Ditto.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list