[Buildroot] [PATCH v3 1/3] pkg-generic.mk: reinstall targets
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Feb 3 17:11:19 UTC 2015
Dear Doug Kehn,
On Fri, 28 Nov 2014 09:25:04 -0600, Doug Kehn wrote:
> Add reinstall targets for host, target, staging, and images variants.
> clean-for-reinstall targets added to remove package
> .stamp_target_install file to allow package install. Additionally, when
> OVERRIDE_SRCDIR is provided, .stamp_rsynced is removed to ensure pakcage
> is up to date before reinstalling.
>
> Signed-off-by: Doug Kehn <rdkehn at yahoo.com>
> ---
> package/pkg-generic.mk | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
Thanks, we applied your patch, but with a much simplified version.
Since having <pkg>-reinstall-{images,host,staging,target} was probably
not necessary, we just implemented one <pkg>-reinstall target, that
reinstalls whatever the package wants to install. This allows to make
the implementation a lot more similar to the <pkg>-rebuild and
<pkg>-reconfigure implementations.
See
http://git.buildroot.net/buildroot/commit/?id=b7bc44d22d0fddde7c964a2fd259775ea8d0bf9f
for the final commit.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list