mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-09 06:10:17 +03:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
15bff58f3e
commit
0f9c0bf3d5
@@ -227,8 +227,8 @@ PYTHON_AUTORECONF = YES
|
||||
# for the target, otherwise the default python program may be missing.
|
||||
ifneq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
define HOST_PYTHON_INSTALL_PYTHON_SYMLINK
|
||||
ln -sf python2 $(HOST_DIR)/usr/bin/python
|
||||
ln -sf python2-config $(HOST_DIR)/usr/bin/python-config
|
||||
ln -sf python2 $(HOST_DIR)/bin/python
|
||||
ln -sf python2-config $(HOST_DIR)/bin/python-config
|
||||
endef
|
||||
|
||||
HOST_PYTHON_POST_INSTALL_HOOKS += HOST_PYTHON_INSTALL_PYTHON_SYMLINK
|
||||
@@ -250,7 +250,7 @@ endif
|
||||
define PYTHON_CREATE_PYC_FILES
|
||||
$(PYTHON_FIX_TIME)
|
||||
PYTHONPATH="$(PYTHON_PATH)" \
|
||||
cd $(TARGET_DIR) && $(HOST_DIR)/usr/bin/python$(PYTHON_VERSION_MAJOR) \
|
||||
cd $(TARGET_DIR) && $(HOST_DIR)/bin/python$(PYTHON_VERSION_MAJOR) \
|
||||
$(TOPDIR)/support/scripts/pycompile.py \
|
||||
$(if $(BR2_REPRODUCIBLE),--force) \
|
||||
usr/lib/python$(PYTHON_VERSION_MAJOR)
|
||||
|
||||
Reference in New Issue
Block a user