lkml.org 
[lkml]   [2013]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: howto make define seen in all files?
Dne 18.8.2013 05:56, lkml@tigusoft.pl napsal(a):
> Hi, I want to provide a general defined macro like __MY__TIME__ (for
> determinictic build) and that symbol should be seen as #define or -D... to gcc
> in all files;
>
> Value of __MY_TIME__ is determined once, at start of build.
>
> I was using file scripts/mkcompile_h as in the attached .diff patch, worked in
> 3.2.48 but in 3.2.50 files do not see the value _MY_BUILD__TIME__

Just drop the remaining occurrences of __TIME__ and __DATA__, it's not
worth the hassle to define new macros.

Michal



\
 
 \ /
  Last update: 2013-08-19 22:41    [W:0.058 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site