[vlc-devel] [PATCH 1/6] contrib: add a way to build native tools from contribs

Rémi Denis-Courmont remi at remlab.net
Tue Mar 24 16:20:11 CET 2020


Le tiistaina 24. maaliskuuta 2020, 11.18.51 EET Steve Lhomme a écrit :
> On 2020-03-23 17:20, Rémi Denis-Courmont wrote:
> > Le maanantaina 23. maaliskuuta 2020, 17.27.22 EET Steve Lhomme a écrit :
> >> Add a tool to be built natively in PKGS_PROGS.
> >> 
> >> Native tools are built automatically when using "make prebuilt" when
> >> cross
> >> compiling as they are not part of the prebuilt package and needed for the
> >> local platform.
> >> ---
> >> 
> >>   contrib/src/main.mak | 12 ++++++++++--
> >>   1 file changed, 10 insertions(+), 2 deletions(-)
> >> 
> >> diff --git a/contrib/src/main.mak b/contrib/src/main.mak
> >> index 18fb49cf658..fa7751da5a8 100644
> >> --- a/contrib/src/main.mak
> >> +++ b/contrib/src/main.mak
> >> @@ -450,6 +450,9 @@ include $(SRC)/*/rules.mak
> >> 
> >>   ifeq ($(PKGS_DISABLE), all)
> >>   PKGS :=
> >>   endif
> >> 
> >> +ifndef HAVE_CROSS_COMPILE
> >> +PKGS_PROGS :=
> >> +endif
> > 
> > Implying? We still needs compilers even on native builds.
> 
> But they are automatically built and part of PKGS.

Same thing could be said in the cross-compilation case. That's the whole 
point.

-1

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list