Changeset 41f7564 in mainline for kernel/arch/amd64/Makefile.inc


Ignore:
Timestamp:
2006-07-17T00:53:53Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
231fcb2
Parents:
41c4444
Message:

cleanup and unify the build system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/Makefile.inc

    r41c4444 r41f7564  
    3636TOOLCHAIN_DIR = /usr/local/amd64/bin
    3737
    38 ## Make some default assumptions
    39 #
    40 
    41 ifndef CPU
    42         CPU = opteron
    43 endif
    44 
    4538CFLAGS += -fno-unwind-tables -m64 -mcmodel=kernel -mno-red-zone
    46 DEFS += -D_CPU=${CPU} -D__64_BITS__
     39DEFS += -DMACHINE=$(MACHINE) -D__64_BITS__
    4740
    4841## Accepted CPUs
    4942#
    5043
    51 ifeq ($(CPU),opteron)
     44ifeq ($(MACHINE),opteron)
    5245        CFLAGS += -march=opteron
    5346        DEFS += -DFENCES=p4
Note: See TracChangeset for help on using the changeset viewer.