pkg-rebar: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix
authorArnout Vandecappelle <arnout@mind.be>
Tue, 4 Jul 2017 14:04:04 +0000 (16:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 5 Jul 2017 09:50:51 +0000 (11:50 +0200)
commit9c9e076a9fcea33dd08ca6d184d3ed4b1d66b4f8
treea3004a961f3d72a239a3db811b7e91926d967c18
parent048689be87693b45a7d682ebe2754d1db9bf4f61
pkg-rebar: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix

Remove the redundant usr/ component of the HOST_DIR paths. Since a
previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR),
everything keeps on working.

$(PKG)_ERLANG_LIBDIR is problematic because it is used both for host
and staging/target. Therefore, the usr/ part is removed from it, and
added the the callers instead.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-rebar.mk