[Buildroot] [PATCH 1/3] package/cross-ldd: new package

Thierry Bultel thierry.bultel at linatsea.fr
Fri Dec 17 10:10:39 UTC 2021


+    help
>> +    ldd drop-in replacement for cross-compilation toolchains.
>> +    This is the officially supported version mentioned in the dracut 
>> documentation
>> diff --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).zip
>
>  AFAICS 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.

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,
Thierry

>
>  Regards,
>  Arnout 




More information about the buildroot mailing list