Home | History | Annotate | Download | only in fdisk
History log of /src/sbin/fdisk/Makefile
RevisionDateAuthorComments
 1.45  03-Jan-2025  rillig fdisk: remove unreachable options 'T' and 't', fix lint warnings
 1.44  03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.43  13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.42  05-May-2012  tsutsui branches: 1.42.32;
Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.

Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.
 1.41  27-Nov-2009  tsutsui branches: 1.41.6; 1.41.8;
Remove fdisk/mbr for macppc which was blindly pulled from OpenBSD.
It just fakes MBR partition map which contains 1MB FAT16B partition
and ~1GB OpenBSD partition, and we can always create necessary
MBR partitions for OpenFirmware by the fdisk(8) command itself.
 1.40  01-Jun-2009  christos Delete GPT partitions if we overwrite with MBR to avoid confusion with disks
that have both MBR and a secondary left over GPT partition signature. From
Mike M. Volokhov
 1.39  06-Apr-2009  lukem remove mispelt WARNS. (it will be set in ../Makefile.inc "soon")
 1.38  29-Nov-2007  dsl branches: 1.38.2; 1.38.16;
Make this compile without -Wno-pointer-sign
(Needs updated bootblock.h)
 1.37  10-Mar-2007  apb branches: 1.37.4;
WARNS= 4
 1.36  12-May-2006  mrg don't do the -Wno-pointer-sign dance for host programs.
 1.35  11-May-2006  mrg sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
 1.34  23-Jun-2005  fvdl If HOSTPROG is empty, do not pull in libutil, since we do not need it in that
case, and several host platforms do not have libutil. Fixes the build of
these programs as host tools on platforms without libutil.
 1.33  12-Jun-2005  dyoung Turn fdisk(8) into a host tool. Still todo: commit the host-tool
build infrastructure to src/tools/fdisk/.
 1.32  22-May-2005  lukem Make fdisk(8) available on all platforms, since MS-DOS partitioning
is the de-facto standard for many removable media types.
 1.31  20-Jan-2005  xtraeme WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz)
 1.30  20-Jan-2005  xtraeme Remove main() prototype; WARNS=2
 1.29  13-Oct-2004  gavan Initial import of iyonix port.

The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
 1.28  30-Apr-2003  dsl Don't descend into mbr_bootsel.
i386/and64 mbr code is built in arch i386/stand/mbr
 1.27  26-Apr-2003  fvdl x86_64 -> amd64
 1.26  23-Nov-2002  fvdl Compile mbr and mbr_bootsel on x86_64
 1.25  26-Jul-2002  manu Added fdisk on hpcarm
 1.24  17-Jun-2002  itojun fdisk is now useful for macppc, build it
 1.23  09-May-2002  uch add hpcsh
 1.22  03-Apr-2002  thorpej Build fdisk(8) on netwinder.
 1.21  27-Feb-2002  scw fdisk(8) is needed on mvmeppc since PPCBUG uses PeeCee-style MBR
partition info when booting from disk.
 1.20  15-Oct-2001  uch playstation2 support
 1.19  02-May-2000  nonaka also install on prep.
 1.18  19-Mar-2000  soren Also install on cobalt.
 1.17  31-Jan-2000  soda Build fdisk also on arc
 1.16  25-Sep-1999  enami Oops, needs an operator.
 1.15  25-Sep-1999  enami Build fdisk also on hpcmips.
 1.14  25-Sep-1999  enami Don't decend into the subdirectory mbr_bootsel except i386,
since it currently doesn't contain MI thing and not compile
on ofppc box (thanks Wolfgang) and probably on bebox box.
 1.13  02-Jul-1999  sakamoto branches: 1.13.2;
Build fdisk on bebox and ofppc(replaced powerpc).
 1.12  02-May-1999  ross Since fdisk/mbr contains a man page, we need to descend into it regardless
of which ${MACHINE} we are.
 1.11  15-Apr-1999  fvdl Add and build a bootselecting MBR (i386).
 1.10  15-Oct-1998  ws branches: 1.10.2;
Separate master bootcode from fdisk.
 1.9  25-Sep-1997  lukem switch to using opendisk(3) from libutil
 1.8  15-Sep-1997  lukem define WARNS?=1 for all of sbin/*
 1.7  14-Sep-1997  lukem * support ``short'' names of disks (e.g, ``sd0'') instead of requiring
the full name (e.g, ``/dev/rsd0d'') a la disklabel(8) (where the code
was effectively lifted from ;-)
* prefix hexadecimal numbers in output with '0x'
 1.6  05-Sep-1997  phil -- add -b flag for setting fdisk's idea of BIOS geometry from command line
-- cleanup so WARNS=1 works
-- man page updated to reality.
 1.5  23-Jun-1997  mrg move man pages into share/man.
 1.4  18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.3  22-Dec-1994  cgd specify man pages the new way.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  09-Apr-1993  cgd added a 386bsd fdisk program, by julian elischer. (patch 111)
 1.10.2.2  02-May-1999  perry pullup 1.11->1.12 (fvdl)
 1.10.2.1  18-Apr-1999  fvdl Pull up bootselector mods, as approved by releng.
 1.13.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.37.4.1  09-Jan-2008  matt sync with HEAD
 1.38.16.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.38.2.2  29-Nov-2007  dsl Make this compile without -Wno-pointer-sign
(Needs updated bootblock.h)
 1.38.2.1  29-Nov-2007  dsl file Makefile was added on branch mjf-devfs on 2007-11-29 23:19:26 +0000
 1.41.8.1  12-Jun-2012  riz Pull up following revision(s) (requested by tsutsui in ticket #315):
sbin/fdisk/fdisk.c: revision 1.141
sbin/fdisk/fdisk.c: revision 1.142
tools/fdisk/Makefile: revision 1.5
tools/fdisk/Makefile: revision 1.7
sbin/fdisk/Makefile: revision 1.42
Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.
Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.
Use ${DESTDIR}/usr/mdec for DEFAULT_BOOTDIR on tools fdisk(8)
rather than unknown build host's /usr/mdec directory.
XXX: no option to leave MBR bootcode empty on x86 targets
 1.41.6.1  23-May-2012  yamt sync with head.
 1.42.32.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed