Jeffery To 4a308bad82 tools: Fix "lib" symlink created inside $(STAGING_DIR_HOST)/lib
Currently, if "make tools/install" is called after tools have already
been installed, a symbolic link named "lib" will be created inside
$(STAGING_DIR_HOST)/lib, pointing to "lib" (i.e. itself).

During tools/prepare, a "lib64" symlink is created inside
$(STAGING_DIR_HOST) that points to "lib" (also inside
$(STAGING_DIR_HOST)).

If tools/prepare is called and the "lib64" symlink already exists, then
ln will treat it as a directory and instead create a symlink named "lib"
inside of that directory.

This adds the -n option for ln so that $(STAGING_DIR_HOST)/lib64 is
always treated as a normal file (the link name), not as a directory.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-01 21:35:59 +01:00
..
2019-05-22 21:27:44 +02:00
2020-02-19 22:02:47 +01:00
2020-01-16 18:59:42 +01:00
2020-01-18 14:18:22 +01:00
2018-11-25 19:23:03 +01:00
2019-07-08 16:42:26 +02:00
2020-02-18 21:39:23 +01:00
2019-02-26 23:20:04 +01:00
2020-02-18 21:38:51 +01:00
2016-12-16 22:39:22 +01:00
2018-01-18 08:04:18 +01:00
2019-02-10 20:51:09 +01:00
2018-12-24 17:05:57 +01:00
2020-02-18 21:39:03 +01:00
2019-11-24 21:35:45 +01:00
2020-02-18 21:39:14 +01:00
2018-06-08 09:56:26 +02:00
2019-03-10 21:36:28 +01:00
2019-09-03 11:56:47 +02:00