Changeset 128


Ignore:
Timestamp:
Apr 20, 2010, 7:34:16 PM (5 years ago)
Author:
stepan
Message:

enable easy compilation with xcompile for filo
Signed-off-by: Stefan Reinauer <stepan@…>
Acked-by: Stefan Reinauer <stepan@…>

Location:
trunk/filo
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/filo/Makefile

    r124 r128  
    4242endif 
    4343 
     44$(if $(wildcard .xcompile),,$(eval $(shell bash util/xcompile/xcompile > .xcompile))) 
     45include .xcompile 
     46 
    4447CROSS_PREFIX = 
    45 CC = $(CROSS_PREFIX)gcc -m32 
    46 AS = $(CROSS_PREFIX)as --32 
    47 LD = $(CROSS_PREFIX)ld -belf32-i386 
    48 STRIP = $(CROSS_PREFIX)strip 
    49 NM = $(CROSS_PREFIX)nm 
     48CC ?= $(CROSS_PREFIX)gcc -m32 
     49AS ?= $(CROSS_PREFIX)as --32 
     50LD ?= $(CROSS_PREFIX)ld -belf32-i386 
     51STRIP ?= $(CROSS_PREFIX)strip 
     52NM ?= $(CROSS_PREFIX)nm 
    5053HOSTCC = gcc 
    5154HOSTCXX = g++ 
Note: See TracChangeset for help on using the changeset viewer.