public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: "lkml@tigusoft.pl" <lkml@tigusoft.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: howto make define seen in all files?
Date: Mon, 19 Aug 2013 22:26:45 +0200	[thread overview]
Message-ID: <52127F85.4040403@suse.cz> (raw)
In-Reply-To: <201308180556.45833.lkml@tigusoft.pl>

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


      reply	other threads:[~2013-08-19 20:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-18  3:56 howto make define seen in all files? lkml
2013-08-19 20:26 ` Michal Marek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52127F85.4040403@suse.cz \
    --to=mmarek@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@tigusoft.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox