freebsd-skq/sys/boot/alpha/Makefile.inc
Marcel Moolenaar fa1fc9094a Part 2 of fixing the boot code: gcc 3.4 fixes.
The whole problem seems to be size. Which is odd, because it is said
that size doesn't matter. Anyway... Add -Os to strategic places in the
makefile to have the final loader be as mall as possible. This seems
to be enough to make it work. For now... I think something is more
fundamentally wrong; or something more fundamental is wrong. Potato,
potaato.
2004-08-22 06:24:59 +00:00

13 lines
412 B
Makefile

# $FreeBSD$
# Options used when building app-specific libalpha components
BINDIR?= /boot
CFLAGS+= -ffreestanding -mno-fp-regs -Os
LDFLAGS+= -nostdlib
PRIMARY_LOAD_ADDRESS= 0x20000000 # "Region 1 start"
SECONDARY_LOAD_ADDRESS= 0x2000c000 # "Region 1 start" + 48k
HEAP_LIMIT= 0x20040000 # "Region 1 start" + 256k
LIBSTANDDIR= ${.CURDIR}/../../../../lib/libstand
LIBALPHA= ${.OBJDIR}/../libalpha/libalpha.a