All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wolfgang.grandegger@domain.hid>
To: Wolfgang Denk <wd@domain.hid>
Cc: rpm@xenomai.org, adeos-main <adeos-main@gna.org>
Subject: Re: [Adeos-main] Re: Patch/Code maintanance
Date: Mon, 07 Jun 2004 10:40:45 +0200	[thread overview]
Message-ID: <40C42A0D.5070501@domain.hid> (raw)
In-Reply-To: <20040604155437.6D41AC109F@atlas.denx.de>

On 06/04/2004 05:54 PM Wolfgang Denk wrote:
> Hi Wolfgang,
> 
> in message <40C03997.5040805@domain.hid> you wrote:
>> 
>> -	gcc $(CFLAGS) -o $@ -c $<
>> +	$(CROSS_COMPILE)gcc $(CFLAGS) -o $@ -c $<
> ...
>> -	gcc $(CFLAGS) -o $@ -c $<
>> +	$(CROSS_COMPILE)gcc $(CFLAGS) -o $@ -c $<
> ...
>> -	gcc $(CFLAGS) -o $@ -c $<
>> +	$(CROSS_COMPILE)gcc $(CFLAGS) -o $@ -c $<
> ...
>> -	gcc $(CFLAGS) -o $@ -c $<
>> +	$(CROSS_COMPILE)gcc $(CFLAGS) -o $@ -c $<
> 
> Why don't you simply define
> 
> 	CC = $(CROSS_COMPILE)gcc
> 
> _once_ at the beginning of the Makefile, and  then  use  $(CC)  only?
> This is IMHO much easier to maintain.

Of course. Thanks for the hint.

Wolfgang.


      reply	other threads:[~2004-06-07  8:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03 19:08 [Adeos-main] Patch/Code maintanance Wolfgang Grandegger
2004-06-03  8:31 ` [Adeos-main] " Philippe Gerum
2004-06-04  8:57   ` Wolfgang Grandegger
2004-06-03  9:09     ` Philippe Gerum
2004-06-04 15:54     ` Wolfgang Denk
2004-06-07  8:40       ` Wolfgang Grandegger [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=40C42A0D.5070501@domain.hid \
    --to=wolfgang.grandegger@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=rpm@xenomai.org \
    --cc=wd@domain.hid \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.