Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR
@ 2018-04-02 18:36 Maxime Hadjinlian
  2018-04-02 18:36 ` [Buildroot] [PATCH 2/5] cryptopp: use HOST_CRYPTOPP_DL_DIR instead of CRYPTOPP_DL_DIR Maxime Hadjinlian
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Maxime Hadjinlian @ 2018-04-02 18:36 UTC (permalink / raw)
  To: buildroot

The infrastructure only provides HOST_CARGO_DL_DIR, because this
package is host only. Ideally the infra should provide CARGO_DL_DIR,
but it doesn't currently, and that requires more significant changes.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/cargo/cargo.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/cargo/cargo.mk b/package/cargo/cargo.mk
index 36b2718e90..b3174f5b20 100644
--- a/package/cargo/cargo.mk
+++ b/package/cargo/cargo.mk
@@ -37,7 +37,7 @@ HOST_CARGO_HOME = $(HOST_DIR)/share/cargo
 define HOST_CARGO_EXTRACT_DEPS
 	@mkdir -p $(@D)/vendor
 	$(call suitable-extractor,$(CARGO_DEPS_SOURCE)) \
-		$(CARGO_DL_DIR)/$(CARGO_DEPS_SOURCE) | \
+		$(HOST_CARGO_DL_DIR)/$(CARGO_DEPS_SOURCE) | \
 		$(TAR) --strip-components=1 -C $(@D)/vendor $(TAR_OPTIONS) -
 endef
 
@@ -46,7 +46,7 @@ HOST_CARGO_POST_EXTRACT_HOOKS += HOST_CARGO_EXTRACT_DEPS
 define HOST_CARGO_EXTRACT_INSTALLER
 	@mkdir -p $(@D)/src/rust-installer
 	$(call suitable-extractor,$(CARGO_INSTALLER_SOURCE)) \
-		$(CARGO_DL_DIR)/$(CARGO_INSTALLER_SOURCE) | \
+		$(HOST_CARGO_DL_DIR)/$(CARGO_INSTALLER_SOURCE) | \
 		$(TAR) --strip-components=1 -C $(@D)/src/rust-installer $(TAR_OPTIONS) -
 endef
 
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/5] cryptopp: use HOST_CRYPTOPP_DL_DIR instead of CRYPTOPP_DL_DIR
  2018-04-02 18:36 [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Maxime Hadjinlian
@ 2018-04-02 18:36 ` Maxime Hadjinlian
  2018-04-02 18:36 ` [Buildroot] [PATCH 3/5] rust-bin: use HOST_RUST_BIN_DL_DIR instead of RUST_BIN_DL_DIR Maxime Hadjinlian
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Maxime Hadjinlian @ 2018-04-02 18:36 UTC (permalink / raw)
  To: buildroot

The infrastructure only provides HOST_CRYPTOPP_DL_DIR, because this
package is host only. Ideally the infra should provide CRYPTOPP_DL_DIR,
but it doesn't currently, and that requires more significant changes.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/cryptopp/cryptopp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/cryptopp/cryptopp.mk b/package/cryptopp/cryptopp.mk
index 6da39b09f2..b4997aba9d 100644
--- a/package/cryptopp/cryptopp.mk
+++ b/package/cryptopp/cryptopp.mk
@@ -12,7 +12,7 @@ CRYPTOPP_LICENSE_FILES = License.txt
 CRYPTOPP_INSTALL_STAGING = YES
 
 define HOST_CRYPTOPP_EXTRACT_CMDS
-	$(UNZIP) $(CRYPTOPP_DL_DIR)/$(CRYPTOPP_SOURCE) -d $(@D)
+	$(UNZIP) $(HOST_CRYPTOPP_DL_DIR)/$(CRYPTOPP_SOURCE) -d $(@D)
 endef
 
 HOST_CRYPTOPP_MAKE_OPTS = \
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 3/5] rust-bin: use HOST_RUST_BIN_DL_DIR instead of RUST_BIN_DL_DIR
  2018-04-02 18:36 [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Maxime Hadjinlian
  2018-04-02 18:36 ` [Buildroot] [PATCH 2/5] cryptopp: use HOST_CRYPTOPP_DL_DIR instead of CRYPTOPP_DL_DIR Maxime Hadjinlian
@ 2018-04-02 18:36 ` Maxime Hadjinlian
  2018-04-02 18:36 ` [Buildroot] [PATCH 4/5] ti-cgt-pru: use HOST_TI_CGT_PRU_DL_DIR instead of TI_CGT_PRU_DL_DIR Maxime Hadjinlian
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Maxime Hadjinlian @ 2018-04-02 18:36 UTC (permalink / raw)
  To: buildroot

The infrastructure only provides HOST_RUST_BIN_DL_DIR, because this
package is host only. Ideally the infra should provide RUST_BIN_DL_DIR,
but it doesn't currently, and that requires more significant changes.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/rust-bin/rust-bin.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk
index 759d468304..b57849093d 100644
--- a/package/rust-bin/rust-bin.mk
+++ b/package/rust-bin/rust-bin.mk
@@ -22,7 +22,7 @@ HOST_RUST_BIN_LIBSTD_HOST_PREFIX = rust-std-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAM
 define HOST_RUST_BIN_LIBSTD_EXTRACT
 	mkdir -p $(@D)/std
 	$(foreach f,$(HOST_RUST_BIN_EXTRA_DOWNLOADS), \
-		$(call suitable-extractor,$(f)) $(RUST_BIN_DL_DIR)/$(f) | \
+		$(call suitable-extractor,$(f)) $(HOST_RUST_BIN_DL_DIR)/$(f) | \
 			$(TAR) -C $(@D)/std $(TAR_OPTIONS) -
 	)
 	cd $(@D)/rustc/lib/rustlib; \
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 4/5] ti-cgt-pru: use HOST_TI_CGT_PRU_DL_DIR instead of TI_CGT_PRU_DL_DIR
  2018-04-02 18:36 [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Maxime Hadjinlian
  2018-04-02 18:36 ` [Buildroot] [PATCH 2/5] cryptopp: use HOST_CRYPTOPP_DL_DIR instead of CRYPTOPP_DL_DIR Maxime Hadjinlian
  2018-04-02 18:36 ` [Buildroot] [PATCH 3/5] rust-bin: use HOST_RUST_BIN_DL_DIR instead of RUST_BIN_DL_DIR Maxime Hadjinlian
@ 2018-04-02 18:36 ` Maxime Hadjinlian
  2018-04-02 18:36 ` [Buildroot] [PATCH 5/5] zynq-boot-bin: use HOST_ZYNQ_BOOT_BIN_DL_DIR instead of ZYNQ_BOOT_BIN_DL_DIR Maxime Hadjinlian
  2018-04-02 19:43 ` [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Thomas Petazzoni
  4 siblings, 0 replies; 6+ messages in thread
From: Maxime Hadjinlian @ 2018-04-02 18:36 UTC (permalink / raw)
  To: buildroot

The infrastructure only provides HOST_TI_CGT_PRU_DL_DIR, because this
package is host only. Ideally the infra should provide TI_CGT_PRU_DL_DIR,
but it doesn't currently, and that requires more significant changes.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/ti-cgt-pru/ti-cgt-pru.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/ti-cgt-pru/ti-cgt-pru.mk b/package/ti-cgt-pru/ti-cgt-pru.mk
index df3b97bef5..3665d2cec8 100644
--- a/package/ti-cgt-pru/ti-cgt-pru.mk
+++ b/package/ti-cgt-pru/ti-cgt-pru.mk
@@ -13,8 +13,8 @@ TI_CGT_PRU_LICENSE_FILES = PRU_Code_Generation_Tools_2.2.x_manifest.html \
 	pru_rts_2_2_0_82167478-F8C9-49b2-82BD-12F8550770F9.spdx
 
 define HOST_TI_CGT_PRU_EXTRACT_CMDS
-	chmod +x $(TI_CGT_PRU_DL_DIR)/$(TI_CGT_PRU_SOURCE)
-	$(TI_CGT_PRU_DL_DIR)/$(TI_CGT_PRU_SOURCE) --prefix $(@D) --mode unattended
+	chmod +x $(HOST_TI_CGT_PRU_DL_DIR)/$(TI_CGT_PRU_SOURCE)
+	$(HOST_TI_CGT_PRU_DL_DIR)/$(TI_CGT_PRU_SOURCE) --prefix $(@D) --mode unattended
 	mv $(@D)/ti-cgt-pru_$(TI_CGT_PRU_VERSION)/* $(@D)
 	rmdir $(@D)/ti-cgt-pru_$(TI_CGT_PRU_VERSION)/
 endef
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 5/5] zynq-boot-bin: use HOST_ZYNQ_BOOT_BIN_DL_DIR instead of ZYNQ_BOOT_BIN_DL_DIR
  2018-04-02 18:36 [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Maxime Hadjinlian
                   ` (2 preceding siblings ...)
  2018-04-02 18:36 ` [Buildroot] [PATCH 4/5] ti-cgt-pru: use HOST_TI_CGT_PRU_DL_DIR instead of TI_CGT_PRU_DL_DIR Maxime Hadjinlian
@ 2018-04-02 18:36 ` Maxime Hadjinlian
  2018-04-02 19:43 ` [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Thomas Petazzoni
  4 siblings, 0 replies; 6+ messages in thread
From: Maxime Hadjinlian @ 2018-04-02 18:36 UTC (permalink / raw)
  To: buildroot

The infrastructure only provides HOST_ZYNQ_BOOT_BIN_DL_DIR, because this
package is host only. Ideally the infra should provide ZYNQ_BOOT_BIN_DL_DIR,
but it doesn't currently, and that requires more significant changes.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/zynq-boot-bin/zynq-boot-bin.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/zynq-boot-bin/zynq-boot-bin.mk b/package/zynq-boot-bin/zynq-boot-bin.mk
index c523e04f45..c56203fb68 100644
--- a/package/zynq-boot-bin/zynq-boot-bin.mk
+++ b/package/zynq-boot-bin/zynq-boot-bin.mk
@@ -12,7 +12,7 @@ ZYNQ_BOOT_BIN_LICENSE = GPL-3.0+
 HOST_ZYNQ_BOOT_BIN_DEPENDENCIES = host-python
 
 define HOST_ZYNQ_BOOT_BIN_EXTRACT_CMDS
-	cp $(ZYNQ_BOOT_BIN_DL_DIR)/$(ZYNQ_BOOT_BIN_SOURCE) $(@D)
+	cp $(HOST_ZYNQ_BOOT_BIN_DL_DIR)/$(ZYNQ_BOOT_BIN_SOURCE) $(@D)
 endef
 
 define HOST_ZYNQ_BOOT_BIN_INSTALL_CMDS
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR
  2018-04-02 18:36 [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Maxime Hadjinlian
                   ` (3 preceding siblings ...)
  2018-04-02 18:36 ` [Buildroot] [PATCH 5/5] zynq-boot-bin: use HOST_ZYNQ_BOOT_BIN_DL_DIR instead of ZYNQ_BOOT_BIN_DL_DIR Maxime Hadjinlian
@ 2018-04-02 19:43 ` Thomas Petazzoni
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2018-04-02 19:43 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon,  2 Apr 2018 20:36:22 +0200, Maxime Hadjinlian wrote:
> The infrastructure only provides HOST_CARGO_DL_DIR, because this
> package is host only. Ideally the infra should provide CARGO_DL_DIR,
> but it doesn't currently, and that requires more significant changes.
> 
> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> ---
>  package/cargo/cargo.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Series applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-02 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-02 18:36 [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Maxime Hadjinlian
2018-04-02 18:36 ` [Buildroot] [PATCH 2/5] cryptopp: use HOST_CRYPTOPP_DL_DIR instead of CRYPTOPP_DL_DIR Maxime Hadjinlian
2018-04-02 18:36 ` [Buildroot] [PATCH 3/5] rust-bin: use HOST_RUST_BIN_DL_DIR instead of RUST_BIN_DL_DIR Maxime Hadjinlian
2018-04-02 18:36 ` [Buildroot] [PATCH 4/5] ti-cgt-pru: use HOST_TI_CGT_PRU_DL_DIR instead of TI_CGT_PRU_DL_DIR Maxime Hadjinlian
2018-04-02 18:36 ` [Buildroot] [PATCH 5/5] zynq-boot-bin: use HOST_ZYNQ_BOOT_BIN_DL_DIR instead of ZYNQ_BOOT_BIN_DL_DIR Maxime Hadjinlian
2018-04-02 19:43 ` [Buildroot] [PATCH 1/5] cargo: use HOST_CARGO_DL_DIR instead of CARGO_DL_DIR Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox