Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 454 → Rev 455

/SPARTAN/trunk/arch/ia32/boot/Makefile
6,11 → 6,11
dd if=/dev/zero of=../../../image.bin bs=1 seek=1474559 count=1
 
boot.bin: boot.o
ld -T boot.ld -entry _start_0x7c00 --oformat binary boot.o -o $@
$(LD) -T boot.ld -entry _start_0x7c00 --oformat binary boot.o -o $@
 
boot.o: boot.S
gcc -E -DKERNEL_SIZE=$(KERNEL_SIZE) boot.S > boot.s
as boot.s -o $@
$(CC) -E -DKERNEL_SIZE=$(KERNEL_SIZE) boot.S > boot.s
$(AS) boot.s -o $@
rm boot.s
 
clean:
/SPARTAN/trunk/arch/ia32/Makefile.inc
34,23 → 34,31
TARGET = i686-pc-linux-gnu
TOOLCHAIN_DIR = /usr/local/i686/bin
 
## Make some default assumptions
#
 
ifndef CPU
CPU = pentium4
endif
 
## Accepted CPUs
#
# Default CPU is Pentium 4
#
 
ifeq ($CPU,athlon-xp)
ifeq ($(CPU),athlon-xp)
CFLAGS += -march=athlon-xp -mmmx -msse -m3dnow
DEFS += -DFENCES=486
CONFIG_SMP = n
CONFIG_HT = n
elseifeq ($CPU,athlon-mp)
endif
ifeq ($(CPU),athlon-mp)
CFLAGS += -march=athlon-mp -mmmx -msse -m3dnow
DEFS += -DFENCES=486
elseifeq ($CPU,pentium3)
endif
ifeq ($(CPU),pentium3)
CFLAGS += -march=pentium3 -mmmx -msse -msse2
DEFS += -DFENCES=486
else
endif
ifeq ($(CPU),pentium4)
CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -msse3
DEFS += -DFENCES=p4
endif