Changeset 9371c30 in mainline for arch/ia32


Ignore:
Timestamp:
2005-12-06T20:53:03Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36e7b6c3
Parents:
090e7ea1
Message:

Completely reworked configuration system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/Makefile.inc

    r090e7ea1 r9371c30  
    3939#
    4040
    41 ifndef CPU
    42         CPU = pentium4
     41ifndef IA32_CPU
     42        IA32_CPU = pentium4
    4343endif
    4444
    45 DEFS += -D_CPU=${CPU}
     45DEFS += -D_CPU=${IA32_CPU}
    4646
    4747## Accepted CPUs
    4848#
    4949
    50 ifeq ($(CPU),athlon-xp)
     50ifeq ($(IA32_CPU),athlon-xp)
    5151        CFLAGS += -march=athlon-xp -mmmx -msse -m3dnow
    5252        DEFS += -DCONFIG_FENCES_P3
     
    5454        CONFIG_HT = n
    5555endif
    56 ifeq ($(CPU),athlon-mp)
     56ifeq ($(IA32_CPU),athlon-mp)
    5757        CFLAGS += -march=athlon-mp -mmmx -msse -m3dnow
    5858        DEFS += -DCONFIG_FENCES_P3
    5959        CONFIG_HT = n
    6060endif
    61 ifeq ($(CPU),pentium3)
     61ifeq ($(IA32_CPU),pentium3)
    6262        CFLAGS += -march=pentium3 -mmmx -msse
    6363        DEFS += -DCONFIG_FENCES_P3
    6464        CONFIG_HT = n
    6565endif
    66 ifeq ($(CPU),prescott)
     66ifeq ($(IA32_CPU),prescott)
    6767        CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -msse3
    6868        DEFS += -DCONFIG_FENCES_P4
    6969endif
    70 ifeq ($(CPU),pentium4)
     70ifeq ($(IA32_CPU),pentium4)
    7171        CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2
    7272        DEFS += -DCONFIG_FENCES_P4
Note: See TracChangeset for help on using the changeset viewer.