* [Buildroot] [PATCH 1/1] package/rcw: add missing host-python dependency
@ 2020-03-19 6:56 Laurent Hartanerot
2020-03-19 7:58 ` Thomas Petazzoni
2020-03-19 9:30 ` [Buildroot] [PATCH v2 " Laurent Hartanerot
0 siblings, 2 replies; 5+ messages in thread
From: Laurent Hartanerot @ 2020-03-19 6:56 UTC (permalink / raw)
To: buildroot
From: Laurent Hartanerot <laurent.hartanerot@atos.net>
The rcw tool that compiles RCW sources file need host-python
Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
---
package/rcw/rcw.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/rcw/rcw.mk b/package/rcw/rcw.mk
index 81e22fff93..be239a7957 100644
--- a/package/rcw/rcw.mk
+++ b/package/rcw/rcw.mk
@@ -10,6 +10,8 @@ RCW_SITE_METHOD = git
RCW_LICENSE = BSD-3-Clause
RCW_LICENSE_FILES = LICENSE
+RCW_DEPENDENCIES = host-python
+
RCW_FILES = $(call qstrip,$(BR2_PACKAGE_HOST_RCW_CUSTOM_PATH))
ifneq ($(RCW_FILES),)
@@ -39,7 +41,9 @@ endef
HOST_RCW_POST_PATCH_HOOKS += HOST_RCW_ADD_CUSTOM_RCW_FILES
define HOST_RCW_BUILD_CMDS
- python $(@D)/rcw.py -i $(@D)/custom_board/rcw/$(RCW_PROJECT) -I $(@D)/custom_board -o $(@D)/PBL.bin
+ $(HOST_DIR)/bin/python $(@D)/rcw.py \
+ -i $(@D)/custom_board/rcw/$(RCW_PROJECT) \
+ -I $(@D)/custom_board -o $(@D)/PBL.bin
endef
define HOST_RCW_INSTALL_DELIVERY_FILE
--
2.20.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/rcw: add missing host-python dependency
2020-03-19 6:56 [Buildroot] [PATCH 1/1] package/rcw: add missing host-python dependency Laurent Hartanerot
@ 2020-03-19 7:58 ` Thomas Petazzoni
2020-03-19 9:30 ` [Buildroot] [PATCH v2 " Laurent Hartanerot
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2020-03-19 7:58 UTC (permalink / raw)
To: buildroot
On Thu, 19 Mar 2020 07:56:50 +0100
Laurent Hartanerot <laurent.hartanerot@gmail.com> wrote:
> From: Laurent Hartanerot <laurent.hartanerot@atos.net>
>
> The rcw tool that compiles RCW sources file need host-python
>
> Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
> ---
> package/rcw/rcw.mk | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/package/rcw/rcw.mk b/package/rcw/rcw.mk
> index 81e22fff93..be239a7957 100644
> --- a/package/rcw/rcw.mk
> +++ b/package/rcw/rcw.mk
> @@ -10,6 +10,8 @@ RCW_SITE_METHOD = git
> RCW_LICENSE = BSD-3-Clause
> RCW_LICENSE_FILES = LICENSE
>
> +RCW_DEPENDENCIES = host-python
This should be:
HOST_RCW_DEPENDENCIES = host-python
Indeed, rcw is only available as host package.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v2 1/1] package/rcw: add missing host-python dependency
2020-03-19 6:56 [Buildroot] [PATCH 1/1] package/rcw: add missing host-python dependency Laurent Hartanerot
2020-03-19 7:58 ` Thomas Petazzoni
@ 2020-03-19 9:30 ` Laurent Hartanerot
2020-03-21 15:37 ` Thomas Petazzoni
2020-04-06 16:15 ` Peter Korsgaard
1 sibling, 2 replies; 5+ messages in thread
From: Laurent Hartanerot @ 2020-03-19 9:30 UTC (permalink / raw)
To: buildroot
From: Laurent Hartanerot <laurent.hartanerot@atos.net>
The rcw tool that compiles RCW sources file need host-python
Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
---
package/rcw/rcw.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/rcw/rcw.mk b/package/rcw/rcw.mk
index 81e22fff93..dbfeae7b21 100644
--- a/package/rcw/rcw.mk
+++ b/package/rcw/rcw.mk
@@ -10,6 +10,8 @@ RCW_SITE_METHOD = git
RCW_LICENSE = BSD-3-Clause
RCW_LICENSE_FILES = LICENSE
+HOST_RCW_DEPENDENCIES = host-python
+
RCW_FILES = $(call qstrip,$(BR2_PACKAGE_HOST_RCW_CUSTOM_PATH))
ifneq ($(RCW_FILES),)
@@ -39,7 +41,9 @@ endef
HOST_RCW_POST_PATCH_HOOKS += HOST_RCW_ADD_CUSTOM_RCW_FILES
define HOST_RCW_BUILD_CMDS
- python $(@D)/rcw.py -i $(@D)/custom_board/rcw/$(RCW_PROJECT) -I $(@D)/custom_board -o $(@D)/PBL.bin
+ $(HOST_DIR)/bin/python $(@D)/rcw.py \
+ -i $(@D)/custom_board/rcw/$(RCW_PROJECT) \
+ -I $(@D)/custom_board -o $(@D)/PBL.bin
endef
define HOST_RCW_INSTALL_DELIVERY_FILE
--
2.20.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v2 1/1] package/rcw: add missing host-python dependency
2020-03-19 9:30 ` [Buildroot] [PATCH v2 " Laurent Hartanerot
@ 2020-03-21 15:37 ` Thomas Petazzoni
2020-04-06 16:15 ` Peter Korsgaard
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2020-03-21 15:37 UTC (permalink / raw)
To: buildroot
On Thu, 19 Mar 2020 10:30:57 +0100
Laurent Hartanerot <laurent.hartanerot@gmail.com> wrote:
> From: Laurent Hartanerot <laurent.hartanerot@atos.net>
>
> The rcw tool that compiles RCW sources file need host-python
>
> Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
> ---
> package/rcw/rcw.mk | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v2 1/1] package/rcw: add missing host-python dependency
2020-03-19 9:30 ` [Buildroot] [PATCH v2 " Laurent Hartanerot
2020-03-21 15:37 ` Thomas Petazzoni
@ 2020-04-06 16:15 ` Peter Korsgaard
1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2020-04-06 16:15 UTC (permalink / raw)
To: buildroot
>>>>> "Laurent" == Laurent Hartanerot <laurent.hartanerot@gmail.com> writes:
> From: Laurent Hartanerot <laurent.hartanerot@atos.net>
> The rcw tool that compiles RCW sources file need host-python
> Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
Committed to 2020.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-04-06 16:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-19 6:56 [Buildroot] [PATCH 1/1] package/rcw: add missing host-python dependency Laurent Hartanerot
2020-03-19 7:58 ` Thomas Petazzoni
2020-03-19 9:30 ` [Buildroot] [PATCH v2 " Laurent Hartanerot
2020-03-21 15:37 ` Thomas Petazzoni
2020-04-06 16:15 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox