Ignore:
Timestamp:
2009-02-12T20:12:08Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
98a4e76
Parents:
fcd7053
Message:

simplify configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/loader/gefi/Make.defaults

    rfcd7053 rfa024ce  
    2828INSTALLROOT=/usr/local
    2929
    30 TOPDIR    := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
     30TOPDIR    := $(shell pwd)
    3131
    32 ARCH       = $(shell uname -m | sed s,i[3456789]86,ia32,)
    33 INCDIR     = -I. -I$(CDIR)/inc -I$(CDIR)/inc/$(ARCH) -I$(CDIR)/inc/protocol
     32ARCH       = ia64
     33INCDIR     = -I. -I$(CDIR)/inc -I$(CDIR)/inc/$(ARCH) -I$(CDIR)/inc/protocol
    3434CPPFLAGS   = -DCONFIG_$(ARCH)
    35 CFLAGS     = -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants
    36 LDFLAGS    = -nostdlib
    37 INSTALL    = install
     35CFLAGS     = -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -frename-registers -mfixed-range=f32-f127
     36LDFLAGS    = -nostdlib
     37INSTALL    = install
    3838
    39 GCC_VERSION=$(shell $(CROSS_COMPILE)$(CC) -v 2>&1 | fgrep 'gcc version' | cut -f3 -d' ' | cut -f1 -d'.')
    40 
    41 #  prefix       =
    42 CC              = $(prefix)gcc
    43 AS              = $(prefix)as
    44 LD              = $(prefix)ld
    45 AR              = $(prefix)ar
    46 RANLIB  = $(prefix)ranlib
    47 OBJCOPY = $(prefix)objcopy
    48 OBJDUMP = $(prefix)objdump
    49 
    50 
    51 ifneq ($(GCC_VERSION),2)
    52         CFLAGS += -frename-registers
    53 endif
    54 
    55 CFLAGS += -mfixed-range=f32-f127
    56 
     39CC         = $(prefix)gcc
     40AS         = $(prefix)as
     41LD         = $(prefix)ld
     42AR         = $(prefix)ar
     43RANLIB     = $(prefix)ranlib
     44OBJCOPY    = $(prefix)objcopy
     45OBJDUMP    = $(prefix)objdump
Note: See TracChangeset for help on using the changeset viewer.