mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-11-28 03:47:16 +00:00
Migrate Buildroot 2019.02.9 (#539)
This commit is contained in:
@@ -11,4 +11,21 @@ PYTHON_SUBPROCESS32_SETUP_TYPE = setuptools
|
||||
PYTHON_SUBPROCESS32_LICENSE = Python-2.0
|
||||
PYTHON_SUBPROCESS32_LICENSE_FILES = LICENSE
|
||||
|
||||
# The configure step needs to be run outside of the setup.py since it isn't
|
||||
# run correctly for cross-compiling
|
||||
define PYTHON_SUBPROCESS32_CONFIGURE_CMDS
|
||||
(cd $(@D) && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--program-prefix="" \
|
||||
)
|
||||
endef
|
||||
|
||||
$(eval $(python-package))
|
||||
|
||||
Reference in New Issue
Block a user