[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52127F85.4040403@suse.cz>
Date: Mon, 19 Aug 2013 22:26:45 +0200
From: Michal Marek <mmarek@...e.cz>
To: "lkml@...usoft.pl" <lkml@...usoft.pl>
Cc: linux-kernel@...r.kernel.org
Subject: Re: howto make define seen in all files?
Dne 18.8.2013 05:56, lkml@...usoft.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists