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

Changeset 81983e3 in mainline for kernel/arch/abs32le/Makefile.inc


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
  • kernel/arch/abs32le/Makefile.inc

    r101d9f4 r81983e3  
    3333
    3434ifeq ($(COMPILER),gcc_cross)
    35         TARGET = i686-pc-linux-gnu
    36         TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32
    37         GCC_CFLAGS += -march=pentium
     35        TOOLCHAIN_DIR = $(CROSS_PREFIX)/$(CROSS_TARGET)
     36       
     37        ifeq ($(CROSS_TARGET),arm32)
     38                TARGET = arm-linux-gnu
     39                ATSIGN = %
     40        endif
     41       
     42        ifeq ($(CROSS_TARGET),ia32)
     43                TARGET = i686-pc-linux-gnu
     44        endif
     45       
     46        ifeq ($(CROSS_TARGET),mips32)
     47                TARGET = mipsel-linux-gnu
     48                GCC_CFLAGS += -mno-abicalls
     49        endif
    3850endif
    3951
Note: See TracChangeset for help on using the changeset viewer.