Changeset 5597 for i2c-tools/trunk

Show
Ignore:
Timestamp:
01/15/09 21:44:22 (3 years ago)
Author:
khali
Message:

Let the environment set CC and CFLAGS. Original patch from Mike Frysinger.

Location:
i2c-tools/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • i2c-tools/trunk/CHANGES

    r5595 r5597  
    33 
    44SVN 
     5  Makefile: Let the environment set CC and CFLAGS 
    56  decode-dimms: Handle CRC of FB-DIMM and DDR3 SDRAM memory modules 
    67                Add support for DDR3 SDRAM 
  • i2c-tools/trunk/Makefile

    r5594 r5597  
    2222RM              := rm -f 
    2323 
    24 CC      := gcc 
    25 CFLAGS  := -Wall 
     24CC      ?= gcc 
    2625 
    27 CFLAGS  += -O2 
     26CFLAGS  ?= -O2 
    2827# When debugging, use the following instead 
    29 #CFLAGS += -O -g 
     28#CFLAGS := -O -g 
     29CFLAGS  += -Wall 
    3030 
    3131KERNELVERSION   := $(shell uname -r)