Re: [Buildroot] [PATCH 1/3] package/cross-ldd: new package
From: Arnout Vandecappelle <hidden>
Date: 2021-12-17 17:54:18
On 17/12/2021 11:10, Thierry Bultel wrote:
+ helpquoted
quoted
+ ldd drop-in replacement for cross-compilation toolchains. + This is the officially supported version mentioned in the dracut documentationdiff --git a/package/cross-ldd/cross-ldd.mk b/package/cross-ldd/cross-ldd.mk new file mode 100644 index 0000000000..9326a508bb --- /dev/null +++ b/package/cross-ldd/cross-ldd.mk@@ -0,0 +1,20 @@ +################################################################################ +# +# cross-ldd +# +################################################################################ + +CROSS_LDD_VERSION = 6c9c724ebd6a29c279c6e5734e44c07f067808ec +CROSS_LDD_SOURCE = $(CROSS_LDD_VERSION).zipAFAICS there's no reason to use a zip file. Just remove this line and the EXTRACT_CMDS and it should work as well.Hi, Unfortunately, this is not that simple, I cannot find a simply way to download a single flat file, because the download system makes a strong assumption that it is a tar file.
Yes, but why is that a problem? This works: CROSS_LDD_VERSION = 6c9c724ebd6a29c279c6e5734e44c07f067808ec CROSS_LDD_SOURCE = $(CROSS_LDD_VERSION).tar.gz CROSS_LDD_SITE = https://gist.github.com/jerome-pouiller/c403786c1394f53f44a3b61214489e6f/archive So indeed I was wrong about just removing the line. But a tarball works just fine. Regards, Arnout
my best option seems to be something like: CROSS_LDD_VERSION = 6c9c724ebd6a29c279c6e5734e44c07f067808ec CROSS_LDD_SOURCE = $(CROSS_LDD_VERSION)/cross-compile-ldd CROSS_LDD_SITE = https://gist.githubusercontent.com/jerome-pouiller/c403786c1394f53f44a3b61214489e6f/raw define HOST_CROSS_LDD_EXTRACT_CMDS # Single file, no extract needed cp $(HOST_CROSS_LDD_DL_DIR)/cross-compile-ldd $(@D) endef Regards, Thierryquoted
Regards, Arnout
_______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot