For the i386 and amd64 cross-toolset, build fdisk with -DBOOTSEL,

for a more full-featured cross-tool.
This commit is contained in:
dyoung 2006-02-14 04:49:50 +00:00
parent 6c1041b8b7
commit b3b0356bf5

View File

@ -1,9 +1,13 @@
# $NetBSD: Makefile,v 1.1 2005/06/12 19:46:17 dyoung Exp $
# $NetBSD: Makefile,v 1.2 2006/02/14 04:49:50 dyoung Exp $
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-fdisk
HOST_SRCDIR= sbin/fdisk
HOST_SRCS= getcap.c disklabel.c
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
CPPFLAGS+= -DBOOTSEL
.endif
.include "${.CURDIR}/../Makefile.disklabel"
.include "${.CURDIR}/../Makefile.host"