[coreboot] Trouble compiling tint payload

Marc Jones marcj303 at gmail.com
Tue Aug 24 02:37:29 CEST 2010


On Mon, Aug 23, 2010 at 12:08 PM, Marc Jones <marcj303 at gmail.com> wrote:
> On Mon, Aug 23, 2010 at 8:33 AM, Andrew Guertin <lists at dolphinling.net> wrote:
>> I figured out the problem right after sending this: when I set $CC, it
>> overwrites the makefile variable that tells it to use lpgcc, so lpgcc isn't
>> getting used.
>>
>> I changed all occurrences of "CC" in the tint makefile to "MYCC", and it
>> compiled correctly.
>>
>> Is there a less hackish way I should solve it, and then submit a patch? Or
>> does someone who knows what they're doing better want to take care of it?
>
> Hi Andrew,
>
> I have some patches for tint to add xcompile and some other build
> changes to match what has gone into libpayload. I'll try to post them
> later today.

This patch is based on Uwe's, but patching a patch seems odd to me, so
here is a new patch that builds on the previous one. Start with a
clean tint0.03b and put it in the coreboot payloads directory. You no
longer need to build libpayload. The make handles it for you.


Add default libpayload build, xcompile, and lpgcc setup to tint.

Signed-off-by: Marc Jones <marc.jones at gmail.com>

Let me know how it goes.

Marc



-- 
http://se-eng.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tint_libpayload.patch
Type: application/octet-stream
Size: 10700 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100823/227eacea/attachment.obj>


More information about the coreboot mailing list