[Buildroot] [PATCH v2] package/libtool: Reduce target package to libltdl only
arnout at mind.be
Mon Nov 26 10:12:42 UTC 2018
On 26/11/2018 10:38, Alexander Sverdlin wrote:
> On Mon Nov 26 10:28:29 2018 Arnout Vandecappelle <arnout at mind.be> wrote:
>>>> +HOST_LIBTOOL_SUBDIR = .
>> I guess the following doesn't work?
>> HOST_LIBTOOL_SUBDIR =
> But "." works (as it was working for glibc and gdb previously)...
Indeed, but it's ugly.
On second thought, maybe we should just remove the automatic inheritance for
There are 15 host packages that set _SUBDIR.
Of these, 6 are host-only (e.g. gcc) so the automatic inheritance is pointless.
Of the remaining 9:
- 2 override only HOST_XXX_SUBDIR (asterisk, cxxtest).
- 1 has a different SUBDIR for host and target (gettext).
- 1 overrides HOST_XXX_SUBDIR back to its default (gdb).
- 1 defines both with the same value (icu).
- 4 actually use the inheritance (capnproto, libnspr, tcl, vim).
So it hardly seems worth to have the automatic inheritance, if only 1/3 of its
occurences are actually useful.
>> Ideally, the GPL-2.0+ part should also mention to what it applies. Like
>> HOST_LIBTOOL_LICENSE = GPL-2.0+ (libtool), LGPLv2.1 (libltdl)
>> (because I think libtool is the only thing that gets installed in
>> HOST_DIR, isn't it?)
> Last time I've checked libltdl was installed in HOST_DIR (I cannot tell if it's used or not right now).
I meant: I think libtool is the only thing that gets installed in HOST_DIR and
is covered by GPL-2.0+.
More information about the buildroot