[Buildroot] [PATCH v2] package/libtool: Reduce target package to libltdl only
Peter Korsgaard
peter at korsgaard.com
Mon Dec 3 07:25:54 UTC 2018
>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:
Hi,
>> But "." works (as it was working for glibc and gdb previously)...
> Indeed, but it's ugly.
> BTW: glibc?
> On second thought, maybe we should just remove the automatic inheritance for
> _SUBDIR entirely.
> 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.
Agreed. Lets only have "magic" rules in the infrastructure if it is
commonly needed.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list