]> Git Repo - buildroot-mgba.git/commit
Makefile: use order-only dependency so symlinks are made only once
authorDanomi Manchego <[email protected]>
Mon, 13 Jul 2020 01:13:21 +0000 (21:13 -0400)
committerYann E. MORIN <[email protected]>
Sat, 18 Jul 2020 06:47:34 +0000 (08:47 +0200)
commit7d38e58d4c6d62868b3973204c827b62bde4aa84
treeb47b2c466b467659506e39b40e732eae0669cf9d
parent654ade68a69805647f97e3fa456f31e623e72c15
Makefile: use order-only dependency so symlinks are made only once

The rule to create the staging symlink has it depend on BASE_DIR, and
the symlink is created in BASE_DIR, which means that when the symlink
is created, BASE_DIR is updated, and thus made more recent than the
symlink itself.

As a consequence, every time one runs 'make', the symlink will be older
than BASE_DIR, and so will be re-created.

Ditto for the host symlink when the user has elected to have an
out-of-tree host dir.

Fix that by changing to using an order-only dependency.

Signed-off-by: Danomi Manchego <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
Makefile
This page took 0.02848 seconds and 4 git commands to generate.