diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2017-07-10 01:21:17 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-10 17:45:57 +0200 |
commit | ce58db7232900a063a543abd2699b6120d9fbbf3 (patch) | |
tree | 97a244637aa8a69374829838eb276fc7d6105ada /toolchain/toolchain-wrapper.c | |
parent | 00d73749e2a2c4abb4eff44bfa10dc6cd109a67d (diff) | |
download | buildroot-ce58db7232900a063a543abd2699b6120d9fbbf3.tar.gz buildroot-ce58db7232900a063a543abd2699b6120d9fbbf3.zip |
Makefile: properly create $(HOST_DIR)/usr compatibility symlink
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@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain/toolchain-wrapper.c')
0 files changed, 0 insertions, 0 deletions