From b3b0356bf549bb6002cd43892ae0308154516b6b Mon Sep 17 00:00:00 2001 From: dyoung Date: Tue, 14 Feb 2006 04:49:50 +0000 Subject: [PATCH] For the i386 and amd64 cross-toolset, build fdisk with -DBOOTSEL, for a more full-featured cross-tool. --- tools/fdisk/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/fdisk/Makefile b/tools/fdisk/Makefile index 9bb022d5ae3d..e2fee007f2e0 100644 --- a/tools/fdisk/Makefile +++ b/tools/fdisk/Makefile @@ -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"