ia64/xen-unstable

changeset 257:cbf732c2b28c

bitkeeper revision 1.105.1.7 (3e622fe35xVBV5lBc1h1Oaan0MH1_A)

Makefile:
Force UTS_MACHINE to 'i386' rather than 'xeno'. This keeps software installers happy.
author kaf24@labyrinth.cl.cam.ac.uk
date Sun Mar 02 16:22:59 2003 +0000 (2003-03-02)
parents d88600b1da0e
children 9c04a98c7932
files xenolinux-2.4.21-pre4-sparse/Makefile
line diff
     1.1 --- a/xenolinux-2.4.21-pre4-sparse/Makefile	Fri Feb 28 15:36:36 2003 +0000
     1.2 +++ b/xenolinux-2.4.21-pre4-sparse/Makefile	Sun Mar 02 16:22:59 2003 +0000
     1.3 @@ -8,7 +8,8 @@ KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$
     1.4  ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
     1.5  
     1.6  # Xeno hack XXX
     1.7 -ARCH=xeno
     1.8 +ARCH    := xeno
     1.9 +SUBARCH := i386
    1.10  
    1.11  KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
    1.12  
    1.13 @@ -361,7 +362,7 @@ include/linux/version.h: ./Makefile
    1.14  comma	:= ,
    1.15  
    1.16  init/version.o: init/version.c include/linux/compile.h include/config/MARKER
    1.17 -	$(CC) $(CFLAGS) $(CFLAGS_KERNEL) -DUTS_MACHINE='"$(ARCH)"' -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) -c -o init/version.o init/version.c
    1.18 +	$(CC) $(CFLAGS) $(CFLAGS_KERNEL) -DUTS_MACHINE='"$(SUBARCH)"' -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) -c -o init/version.o init/version.c
    1.19  
    1.20  init/main.o: init/main.c include/config/MARKER
    1.21  	$(CC) $(CFLAGS) $(CFLAGS_KERNEL) $(PROFILING) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) -c -o $@ $<