NetBSD/sys/arch/sbmips/stand/bootxx_ffs/Makefile
simonb 9c7531221b Use a 32-bit daddr_t so that lib/libsa/{ufs,lfs}.c don't pull in 64
bit divide and modulus library routines that break the tight space
constraints on bootblocks on these platforms.

May not be the final solution, but gets bootblocks building again.
2003-02-01 23:58:48 +00:00

15 lines
357 B
Makefile

# $NetBSD: Makefile,v 1.2 2003/02/01 23:58:49 simonb Exp $
PROG = bootxx_ffs
CPPFLAGS += -DLIBSA_SINGLE_FILESYSTEM=ufs \
-DBOOTXX_FS_NAME='"FFS"' \
-DNO_GETCHAR
# Use small daddr_t to avoid code bloat
CPPFLAGS+= -D__daddr_t=int32_t
# not yet desired: -DBOOTXX_FS_TYPE=FS_BSDFFS
PRIMARY_MAX_LOAD!= expr 8192 - 512
.include "../Makefile.bootxx"