[Buildroot] [PATCH v9 02/10] perl: new package

François Perrad francois.perrad at gadz.org
Mon Oct 8 16:56:09 UTC 2012


2012/10/8 Thomas Petazzoni <thomas.petazzoni at free-electrons.com>:
>
> On Mon, 8 Oct 2012 13:41:16 +0200, François Perrad wrote:
>
>> > In my target, I have about 2 MB of C header files in
>> > usr/lib/perl5/5.16.1/linux-gnueabihf/CORE. I suspect they are not
>> > really useful, right?
>>
>> No, there are required for building XS modules (with cpanminus for example).
>
> Yes, but you're not building those XS modules on the target. So keep
> the headers only in $(STAGING_DIR).
>

a BR user could choose between 2 methods for installing Perl :
- a full install supplied by the script `installperl` from the Perl tarball
- a custom install which reproduce the behavior of the BR package of microperl,
where the user explicitily defines each module/file to install

In my sense, when a user chooses the full install, he must also use
the post-build script which removes its useless files,
like CORE/*.h or the Unicode support.

François

> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com


More information about the buildroot mailing list