History log of /freebsd-10.1-release/sys/boot/pc98/boot2/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 260497 09-Jan-2014 dim

MFC r260334:

Split the last gcc-specific flags off into CFLAGS.gcc. This also
removes the need to use -Qunused-arguments for clang throughout the
tree.

MFC r260369:

Apply band-aid for 32-bit compat libs failures after r260334: put back
-Qunused-arguments for clang for now, until I can figure out a way to
make it unneeded in all scenarios. Sorry about the breakage.


# 260291 04-Jan-2014 dim

MFC r260095:

For sys/boot/i386 and sys/boot/pc98, separate flags to be passed
directly to the linker (LD_FLAGS) from flags passed indirectly, via the
compiler driver (LDFLAGS).

This is because several Makefiles under sys/boot/i386 and sys/boot/pc98
use ${LD} directly to link, and the normal LDFLAGS value should not be
used in these cases.


# 260096 30-Dec-2013 dim

MFC r257532 (by adrian):

Fix this build for clang.

MFC r259730:

To avoid having to explicitly test COMPILER_TYPE for setting
clang-specific or gcc-specific flags, introduce the following new
variables for use in Makefiles:

CFLAGS.clang
CFLAGS.gcc
CXXFLAGS.clang
CXXFLAGS.gcc

In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for
the right compiler.

MFC r259913:

For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc.

MFC r259927:

Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's
Makefile.

Pointy hat to: dim


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 242706 07-Nov-2012 dim

Put in a band-aid to get the pc98 bootstraps building, now clang is the
default compiler. This has two parts:
- Make sys/boot/pc98/boot2 always build with gcc for now, until we can
figure out a way to shrink it enough when building with clang.
- Since sys/boot/p98/cdboot uses .code16 directives, which are not yet
supported by clang's integrated assembler, use -no-integrated-as,
similar to sys/boot/i386/cdboot.

Reviewed by: nyan
MFC after: 1 week


# 220361 05-Apr-2011 nyan

MFi386: revision 220337

Build boot2 with -mregparm=3.


# 217028 05-Jan-2011 dim

Remove superfluous -mno-(mmx|3dnow|sse|sse2|sse3) flags in Makefiles
under sys/boot/{i386,pc98}, since these are already added via
sys/boot/{i386,pc98}/Makefile.inc.

Submitted by: arundel


# 212979 21-Sep-2010 dim

When building world with clang, for gnu/lib/libobjc, sys/boot/i386/boot2
and sys/boot/pc98/boot2, do not simply assign 'gcc' to CC, since compile
flags are sometimes passed via this variable, for example during the
build32 stage on amd64. This caused the 32-bit libobjc build on amd64
to fail.

Instead, only replace the first instance of clang (if any, including
optional path) with gcc, and leave the arguments alone.

Approved-by: rpaulo (mentor)


# 212062 31-Aug-2010 dim

Always compile pc98 boot2 with gcc instead of clang, just as with i386
boot2. Unfortunately both still are too big when compiled with clang.

Reviewed by: nyan
Approved by: rpaulo (mentor)


# 201342 31-Dec-2009 nyan

Reimplement the boot2 for pc98 completely.
It's based on the newest i386's one and has the advantage of:

- ELF binary support.
- UFS2 filesystem support.
- Many FreeBSD slices support on a disk.

Tested by: SATOU Tomokazu ( tomo1770 _ maple _ ocn _ ne _ jp ),
WATANABE Kazuhiro ( CQG00620 _ nifty _ ne _ jp ) and
nyan

MFC after: 2 week

Happy New Year in Japan!!


# 200407 11-Dec-2009 nyan

Cleanups the boot2 for pc98. There is no functional change.
- Make setting machine type and getting geom conditional for future.
- Remove unused RAWBOOT and CDBOOT supports.
- Remove unneeded include.
- Fix warnings.

MFC after: 1 week


# 180023 26-Jun-2008 ru

Fix a fallout from SSP commit, and make this compile again.
Bonus: including kern.mk just to pick kernel warning flags
was an extremely bad idea anyway, because it also picked
up CFLAGS (it probably wasn't the case at the time of CVS
rev. 1.1, I haven't checked). Remove duplicate CWARNFLAGS
from CFLAGS.


# 146011 08-May-2005 nyan

Remove ifdef PC98.


# 144563 03-Apr-2005 imp

Fix buidling of boot blocks for pc98 with new links.

Submitted by: nyan@


# 139112 21-Dec-2004 ru

NOSHARED -> NO_SHARED


# 139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


# 135409 17-Sep-2004 nyan

MFi386: revision 1.56 (Add -fno-unit-at-a-time to CFLAGS).


# 125625 09-Feb-2004 nyan

MFi386: Factor out -nostdlib and use PROG.


# 125567 07-Feb-2004 ru

MFi386: Removed -elf and duplicate -ffreestanding.


# 125563 07-Feb-2004 nyan

MFi386: Cleanups to sys/boot makefiles.


# 111764 02-Mar-2003 ru

Fixed sys/boot/pc98/boot2/Makefile to use kern.mk and
get rid of bsd.kern.mk completely.

OK'ed by: bde


# 110102 30-Jan-2003 nyan

MFi386: Install the "boot" image which is boot1 + boot2.


# 104777 10-Oct-2002 nyan

Remove '-DUFS1_ONLY' from CFLAGS. It is not needed.


# 104612 07-Oct-2002 phk

Move the definition of UFS1_ONLY into the Makefiles where it belongs.

Sponsored by: DARPA & NAI Labs.


# 104412 03-Oct-2002 nyan

Added some header files from -stable and fixed the boot[12] programs.


# 100872 29-Jul-2002 ru

Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by: bde


# 97301 26-May-2002 n_hibma

Cosmetic change (align with other boot blocks):

CONSPEED -> COMSPEED

Approved by: nyan


# 96581 14-May-2002 nyan

Fixed to build for GCC 3.1


# 96342 10-May-2002 obrien

-ffreestanding is the word.
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)


# 91480 28-Feb-2002 nyan

Add -D_KERNEL to CFLAGS for ntohl().


# 77124 24-May-2001 nyan

Update boot[12] program to compile ELF binary.

Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> and
kawanobe@st.rim.or.jp (Kawanobe Koh)


# 53217 16-Nov-1999 nyan

Remove -mno-486 option and add -mpreferred-stack-boundary=2 option.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 45983 24-Apr-1999 kato

Optimize better for space.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>


# 43561 03-Feb-1999 kato

PC98 version of new boot loader. Because boot2 has not yet ported,
files in boot2 directory are copies from legacy biosboot.

Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>