[Buildroot] [PATCH 1/1] tiff: ensure directory exists before installing to it
thomas.petazzoni at free-electrons.com
Tue Sep 23 07:37:51 UTC 2014
Dear Danomi Manchego,
On Mon, 22 Sep 2014 14:19:03 -0400, Danomi Manchego wrote:
> I do not have a defconfig that demonstrates this. I tend to encounter
> these kind of error when I do the following trick to observe what
> exactly is installed to the target directory:
> make tiff-rebuild TARGET_DIR=$(pwd)/TIFF
> tree TIFF
> If I hit an error, they I figure that I'm just one mostly empty custom
> skeleton and convoluted dependency graph away from hitting the error
> in real life. So then I submit a patch.
Ok, thanks for the explanation. However, I'm wondering if we want to
support this. By doing this, you completely circumvent the preparation
work that is done by Buildroot: when you do make tiff-rebuild, only the
building and installation steps are re-executed with a different
TARGET_DIR. So any preparation work done before, such as directories
created by the global "dirs" target (on which all packages depend) will
not be done in your new TARGET_DIR.
Peter, Fabio, any opinion on this?
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
More information about the buildroot