[Buildroot] [PATCH 1/7] Makefile: properly create $(HOST_DIR)/usr compatibility symlink
thomas.petazzoni at free-electrons.com
Mon Jul 10 15:59:28 UTC 2017
On Mon, 10 Jul 2017 01:21:17 +0200, Arnout Vandecappelle
> Up to now we created the $(HOST_DIR)/usr compatibility symlink as part
> of the creation of $(HOST_DIR) itself. However, when the user specifies
> a custom BR2_HOST_DIR, it is possible that the directory already exists
> so this rule will never trigger.
> Therefore, add an explicit rule for creating $(HOST_DIR)/usr and add
> this rule to the dependencies of the dirs target. HOST_DIR itself goes
> back to the standard rule for directories. The order-only dependency of
> STAGING_DIR isn't needed any more either: HOST_DIR is implicitly
> created if needed by mkdir -p, and we don't need to trigger the
> HOST_DIR rule any more if the directory already exists.
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> Makefile | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
Applied to master, thanks.
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
More information about the buildroot