Changeset 5204


Ignore:
Timestamp:
2006-10-18T15:16:44+02:00 (10 years ago)
Author:
nico
Message:

fix uml-2.6 build, move KERNELNAME to kernel-build.mk

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/kernel-build.mk

    r5083 r5204  
    1919INSTALL_TARGETS += $(KERNEL_IPKG) 
    2020 
    21 LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ 
     21ifneq (,$(findstring uml,$(BOARD))) 
     22  LINUX_KARCH:=um 
     23else 
     24  LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ 
    2225        -e 's/mipsel/mips/' \ 
    2326        -e 's/mipseb/mips/' \ 
     
    2528        -e 's/sh[234]/sh/' \ 
    2629        -e 's/armeb/arm/' \ 
    27 ) 
     30  ) 
     31endif 
     32 
     33KERNELNAME= 
     34ifneq (,$(findstring x86,$(BOARD))) 
     35  KERNELNAME="bzImage" 
     36endif 
     37ifneq (,$(findstring ppc,$(BOARD))) 
     38  KERNELNAME="uImage" 
     39endif 
    2840 
    2941 
  • trunk/include/kernel.mk

    r5201 r5204  
    3232  endif 
    3333 
    34   KERNELNAME= 
    35   ifneq (,$(findstring x86,$(BOARD))) 
    36     KERNELNAME="bzImage" 
    37   endif 
    38   ifneq (,$(findstring ppc,$(BOARD))) 
    39     KERNELNAME="uImage" 
    40   endif 
    41  
    4234  ifneq (,$(findstring uml,$(BOARD))) 
    43     LINUX_KARCH:=um 
    4435    KERNEL_CC:=$(HOSTCC) 
    4536    KERNEL_CROSS:= 
Note: See TracChangeset for help on using the changeset viewer.