mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 05:54:33 +04:00
python{,3}: remove STAGING_DIR_HOSTPKG fallback definition
STAGING_DIR_HOSTPKG is now defined in both OpenWrt and LEDE, so we can start to rely on it. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
@@ -11,12 +11,6 @@ __python_host_mk_inc=1
|
||||
# For PYTHON_VERSION
|
||||
$(call include_mk, python-version.mk)
|
||||
|
||||
# Compatibility fallback for older OpenWrt and LEDE versions
|
||||
ifeq ($(STAGING_DIR_HOSTPKG),)
|
||||
$(warning STAGING_DIR_HOSTPKG is unset - falling back to $$(STAGING_DIR)/host)
|
||||
STAGING_DIR_HOSTPKG := $(STAGING_DIR)/host
|
||||
endif
|
||||
|
||||
HOST_PYTHON_DIR:=$(STAGING_DIR_HOSTPKG)
|
||||
HOST_PYTHON_INC_DIR:=$(HOST_PYTHON_DIR)/include/python$(PYTHON_VERSION)
|
||||
HOST_PYTHON_LIB_DIR:=$(HOST_PYTHON_DIR)/lib/python$(PYTHON_VERSION)
|
||||
|
||||
Reference in New Issue
Block a user