How about my awk script I sent out that uses the output from ld --help 
to see if buildid is and option.  This handles the different distro  
problem. 

If I can get some time,  I will put together a patch file with the 
changes to buildtarget to create a makefile.distro using awk to test ld 
for the buildid option.

 

/*********************
Marc Karasek
MTS
Sun Microsystems
mailto:[EMAIL PROTECTED]
ph:770.360.6415
*********************/



ron minnich wrote:
> On Dec 18, 2007 12:51 PM, Carl-Daniel Hailfinger
> <[EMAIL PROTECTED]> wrote:
>
>   
>> Why not simply compile a small test.c file, look whether the output file
>> contains buildid, and set a Make variable based on that?
>>     
>
> I'm not picky about how we figure it out, only that the test be run
> out of buildtarget, and that it set variables in a makefile that is
> included.
>
> short form: no running complex tests out of the build process each
> time, and for sure no setting things Options.lb.
>
> Thanks
>
> ron
>   

-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to