[prev in list] [next in list] [prev in thread] [next in thread] 

List:       buildroot
Subject:    [Buildroot] [PATCH 07/10] package/jailhouse: expand PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS
From:       Arnout Vandecappelle via buildroot <buildroot () buildroot ! org>
Date:       2023-09-30 22:16:31
Message-ID: 20230930221727.1458825-8-arnout () mind ! be
[Download RAW message or body]

In a follow-up patch, we want to remove this variable. Replace it with
its expansion, which is anyway just
$(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) --root=$(TARGET_DIR)

While we're at it, split the very long line.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
---
 package/jailhouse/jailhouse.mk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/package/jailhouse/jailhouse.mk b/package/jailhouse/jailhouse.mk
index 6356c5a7aa..095032a1dd 100644
--- a/package/jailhouse/jailhouse.mk
+++ b/package/jailhouse/jailhouse.mk
@@ -48,7 +48,12 @@ define JAILHOUSE_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/inmates/demos/*/*.bin \
$(TARGET_DIR)/usr/local/libexec/jailhouse/demos  
 	$(if $(BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS), \
-		cd $(@D) && $(PKG_PYTHON_SETUPTOOLS_ENV) $(HOST_DIR)/bin/python setup.py install \
--no-compile $(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS)) +		cd $(@D) && \
+		$(PKG_PYTHON_SETUPTOOLS_ENV) \
+		$(HOST_DIR)/bin/python setup.py \
+		install --no-compile \
+		$(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \
+		--root=$(TARGET_DIR))
 endef
 
 $(eval $(generic-package))
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic