Re: [PATCH v3] MIPS: Clean up the calculation of VMLINUZ_LOAD_ADDRESS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >
> > Note: The load_addr local variable _must_ use "=" asignment
> 
> This is the _key_ stuff. I  tried to use VMLINUZ_LOAD_ADDR(like your
> load_addr) as the load address, but failed all the time, seems I used
> the ":=" assignment, now with "=", it works, thanks!

:= evaluate at once. So the right hand side is executed when Make see the line.
= do late evaluation, so the right hand side is executed/evaluated when
required.

In your case you need the late version because calc_vmlinux_load_Addr needs
to be built before you do the evaluation.

	Sam



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux