Messages in this thread | | | Date | Mon, 19 Aug 2013 22:26:45 +0200 | From | Michal Marek <> | Subject | Re: 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
| |