diff options
| author | Arnout Vandecappelle <arnout@mind.be> | 2017-07-05 13:14:19 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 15:19:29 +0200 |
| commit | 0f9c0bf3d5cdd2f99b66da7ab7e23c7b2bfb8c69 (patch) | |
| tree | a46d61c940c17cf2b3f5c04bc26f0c7a8b1f9730 /package/swig | |
| parent | 15bff58f3e627fc328dd2614fabbbae70113794b (diff) | |
| download | buildroot-0f9c0bf3d5cdd2f99b66da7ab7e23c7b2bfb8c69.tar.gz buildroot-0f9c0bf3d5cdd2f99b66da7ab7e23c7b2bfb8c69.zip | |
Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin
Since things are no longer installed in $(HOST_DIR)/usr, the callers
should also not refer to it.
This is a mechanical change with
git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g'
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/swig')
| -rw-r--r-- | package/swig/swig.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/swig/swig.mk b/package/swig/swig.mk index cdf9533f2a..157d3a39a6 100644 --- a/package/swig/swig.mk +++ b/package/swig/swig.mk @@ -18,19 +18,19 @@ SWIG_LICENSE_FILES = LICENSE LICENSE-GPL LICENSE-UNIVERSITIES # CMake looks first at swig3.0, then swig2.0 and then swig. However, # when doing the search, it will look into the PATH for swig2.0 first, # and then for swig. -# While the PATH contains first our $(HOST_DIR)/usr/bin, it also contains +# While the PATH contains first our $(HOST_DIR)/bin, it also contains # /usr/bin and other system directories. Therefore, if there is an # installed swig3.0 on the system, it will get the preference over the -# swig installed in $(HOST_DIR)/usr/bin, which isn't nice. To prevent +# swig installed in $(HOST_DIR)/bin, which isn't nice. To prevent # this from happening we create a symbolic link swig3.0 -> swig, so that # our swig always gets used. define HOST_SWIG_INSTALL_SYMLINK - ln -fs swig $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR) + ln -fs swig $(HOST_DIR)/bin/swig$(SWIG_VERSION_MAJOR) endef HOST_SWIG_POST_INSTALL_HOOKS += HOST_SWIG_INSTALL_SYMLINK $(eval $(host-autotools-package)) -SWIG = $(HOST_DIR)/usr/bin/swig$(SWIG_VERSION_MAJOR) +SWIG = $(HOST_DIR)/bin/swig$(SWIG_VERSION_MAJOR) |

