Changeset 9405


Ignore:
Timestamp:
2007-10-23T08:23:12+02:00 (10 years ago)
Author:
nbd
Message:

don't replace powerpc arch with ppc

'powerpc' is a valid arch for the LINUX_KARCH variable, but the build
system unconditionally replaces LIUNUX_KARCH=powerpc with
LINUX_KARCH=ppc.

This change only does the replacement if LINUX_KARCH isn't set. This
allows us to use the powerpc architecture.

Signed-off-by: Jeremy Kerr <jk@…>

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/kernel.mk

    r8798 r9405  
    5252  LINUX_KARCH:=um 
    5353else 
    54   LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ 
    55         -e 's/mipsel/mips/' \ 
    56         -e 's/mipseb/mips/' \ 
    57         -e 's/powerpc/ppc/' \ 
    58         -e 's/sh[234]/sh/' \ 
    59         -e 's/armeb/arm/' \ 
    60   ) 
     54  ifeq (,$(LINUX_KARCH)) 
     55    LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ 
     56          -e 's/mipsel/mips/' \ 
     57          -e 's/mipseb/mips/' \ 
     58          -e 's/sh[234]/sh/' \ 
     59          -e 's/armeb/arm/' \ 
     60    ) 
     61  endif 
    6162endif 
    6263 
  • trunk/target/linux/amcc/Makefile

    r8695 r9405  
    1313 
    1414LINUX_VERSION:=2.6.21.5 
     15LINUX_KARCH:=ppc 
    1516 
    1617include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/magicbox/Makefile

    r8695 r9405  
    1313 
    1414LINUX_VERSION:=2.6.22.4 
     15LINUX_KARCH:=ppc 
    1516 
    1617include $(INCLUDE_DIR)/target.mk 
Note: See TracChangeset for help on using the changeset viewer.