mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
generic packages: 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.
This is a mechanical change with
git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g'
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
632b6f1477
commit
15bff58f3e
@@ -167,14 +167,14 @@ define HOST_BOOST_BUILD_CMDS
|
||||
--user-config=$(@D)/user-config.jam \
|
||||
$(HOST_BOOST_OPTS) \
|
||||
--ignore-site-config \
|
||||
--prefix=$(HOST_DIR)/usr )
|
||||
--prefix=$(HOST_DIR) )
|
||||
endef
|
||||
|
||||
define HOST_BOOST_INSTALL_CMDS
|
||||
(cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \
|
||||
--user-config=$(@D)/user-config.jam \
|
||||
$(HOST_BOOST_OPTS) \
|
||||
--prefix=$(HOST_DIR)/usr \
|
||||
--prefix=$(HOST_DIR) \
|
||||
--ignore-site-config \
|
||||
--layout=$(BOOST_LAYOUT) install )
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user