Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2010-02-17T14:11:07Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
b8da2a3
Parents:
101d9f4
Message:

add the possibility to compile abs32le with any cross-compiler which generates
32bit little endian code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/abs32le/Makefile.inc

    r101d9f4 r81983e3  
    3131
    3232ifeq ($(COMPILER),gcc_cross)
    33         TARGET = i686-pc-linux-gnu
    34         TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32/bin
    35         GCC_CFLAGS += -march=pentium
     33        TOOLCHAIN_DIR = $(CROSS_PREFIX)/$(CROSS_TARGET)/bin
     34       
     35        ifeq ($(CROSS_TARGET),arm32)
     36                TARGET = arm-linux-gnu
     37        endif
     38       
     39        ifeq ($(CROSS_TARGET),ia32)
     40                TARGET = i686-pc-linux-gnu
     41        endif
     42       
     43        ifeq ($(CROSS_TARGET),mips32)
     44                TARGET = mipsel-linux-gnu
     45        endif
    3646endif
    3747
Note: See TracChangeset for help on using the changeset viewer.