[Buildroot] [PATCH] perl: needs host-bison

Gustavo Zacarias gustavo at zacarias.com.ar
Tue Mar 3 10:54:42 UTC 2015


On 03/03/2015 07:48 AM, Thomas Petazzoni wrote:

> Dear Gustavo Zacarias,
> 
> On Tue,  3 Mar 2015 07:31:03 -0300, Gustavo Zacarias wrote:
> 
>>  define PERL_BUILD_CMDS
>> -	$(MAKE1) -C $(@D) all
>> +	PATH=$(BR_PATH) $(MAKE1) -C $(@D) all
> 
> Use $(TARGET_MAKE_ENV) instead.
> 
>>  define HOST_PERL_BUILD_CMDS
>> -	$(MAKE) -C $(@D)
>> +	PATH=$(BR_PATH) $(MAKE) -C $(@D)
> 
> and $(HOST_MAKE_ENV).

For TARGET_MAKE_ENV maybe since it's only PATH, for HOST_MAKE_ENV it's
not and it'll need extra testing to see that perl's build system doesn't
fluke with the extras.
So splitting between BR_PATH and TARGET_MAKE_ENV is possible but not
visually consistent.
Which begs the question: why do other packages use BR_PATH in the same
way as well? (without using *_MAKE_ENV)
Regards.




More information about the buildroot mailing list