Home | History | Annotate | Download | only in hpcmips
History log of /src/distrib/hpcmips/Makefile
RevisionDateAuthorComments
 1.34  23-Sep-2025  rillig all: fix "Invalid internal option" warning from make
 1.33  19-Sep-2008  tsutsui Sigh, fix previous properly.
 1.32  19-Sep-2008  tsutsui Fix a typo in previous.
 1.31  19-Sep-2008  tsutsui Invoke ${MAKESUMS} for ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation files
as snap_md_post target in etc/etc.${MACHINE}/Makefile.inc rather than
as release target in distrib/${MACHINE}/Makefile so that builds for
release in distrib/${MACHINE}/Makefile don't have to be serialized.

XXX: maybe ramdisk kernels should be installed into binary/kernel dir
XXX: as other ports rather than installation dir, and
XXX: kernel config names should be preserved in their filenames.
 1.30  23-Jun-2008  matt Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
 1.29  26-Apr-2008  tsutsui branches: 1.29.2;
Build install kernels and standalone bootloaders in their own directories
so that parallel build works properly.
 1.28  06-Mar-2007  bouyer branches: 1.28.12; 1.28.14;
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
 1.27  04-Jul-2005  he branches: 1.27.4; 1.27.6;
Use "${INSTALL} -c" instead of "cp". This makes it possible to install
the bootloader code in a "make release" with UPDATE turned on. Otherwise
we get "permission denied" errors because the target is mode 444.
 1.26  19-Mar-2004  jmc Convert to usage of UUDECODE_FILES and standardize on filename extension
 1.25  10-Jul-2003  lukem Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
 1.24  03-Jan-2003  lukem Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
 1.23  18-Nov-2002  lukem Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
 1.22  24-Sep-2002  shin reorder lines so that ${MAKESUMS} is executed after all files are installed.
(previous revision calculates checksums only for *boot.exe)
 1.21  08-May-2002  lukem branches: 1.21.2;
- whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
suffix handling here
- rework suffix handling:
- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
and change from list of suffixes to list of "suffix cmdtobuildsuffix",
where cmdtobuildsuffix is the name of the variable containing the
command to build ${filename}.${suffix} (available as "${.TARGET}").
- for each ${filename}.${suffix}, depend upon ${filename} and use
${cmdtobuildsuffix} to create the former.
- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
consistency and so the target to build the mdset kernel doesn't get
confused with general "install" target
 1.20  07-May-2002  lukem Use release:: instead of release: when multiple release targets may exist
 1.19  02-May-2002  lukem yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
 1.18  26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.17  14-Apr-2002  lukem Makefile.mdset: add ${KERNELDEPS} variable which is ${KERNELS} with
.WAIT between the items, and remove .WAIT from ${KERNELS}.
Use ${KERNELDEPS} in make dependencies.
 1.16  12-Apr-2002  lukem Makefile.mdset:
replace
TARGETS = KERNEL IMAGE [...]
with
MDTARGETS = KERNEL IMAGE FILENAME [...]
If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename

The rest:
Update for new MDTARGETS syntax. In some cases, the kernel
name from the "old" method will be used to override the default.
 1.15  12-Apr-2002  lukem - don't pull in <bsd.prog.mk> in Makefile.mdset; do that in the caller instead
- renamed optional post-strip action variable from ${KERNEL}.post to
netbsd.${KERNEL}.post
 1.14  11-Apr-2002  lukem convert to using distrib/common/Makefile.mdset
 1.13  11-Apr-2002  shin fix typo.
 1.12  11-Apr-2002  lukem clean up to NDWO makefile
 1.11  10-Apr-2002  shin use ${UUDECODE}.
execute ${UUDECODE} at destination directory.
 1.10  23-Mar-2002  shin delete TX3922.
add hpcboot.
 1.9  05-Mar-2002  thorpej Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used.
 1.8  18-Feb-2002  shin s/mdsetimage/${MDSETIMAGE}/.
 1.7  09-Feb-2002  lukem don't set the owner or group when installing into $RELEASEDIR
 1.6  14-Nov-2001  tv ${MAKE} print-objdir -> ${PRINTOBJDIR}
 1.5  21-Oct-2001  jmc Convert to using ${MDSETIMAGE}.

Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
 1.4  22-Apr-2001  shin build INSTKERNELS for system installation.
 1.3  30-Aug-2000  jhawk Use
${MAKE}
instead of
make
 1.2  12-Jun-2000  shin install installation kernel and helper program (pbsdboot.exe).
 1.1  16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1  16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.21.2.1  30-Sep-2002  lukem Pull up revision 1.22 (requested by shin in ticket #856):
reorder lines so that ${MAKESUMS} is executed after all files are installed.
(previous revision calculates checksums only for *boot.exe)
 1.27.6.1  24-Sep-2007  wrstuden Catch up with netbsd-4.
 1.27.4.2  22-Sep-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1204):
distrib/hpcarm/Makefile 1.4 - 1.6
distrib/hpcarm/instkernel/Makefile 1.1
distrib/hpcarm/stand/Makefile 1.1 - 1.2
distrib/hpcmips/Makefile 1.29 - 1.33
distrib/hpcmips/instkernel/Makefile 1.1
distrib/hpcmips/stand/Makefile 1.1 - 1.2
distrib/hpcsh/Makefile 1.7 - 1.9
distrib/hpcsh/instkernel/Makefile 1.1
distrib/hpcsh/stand/Makefile 1.1 - 1.2
distrib/miniroot/Makefile 1.65 - 1.66
etc/etc.hpcarm/Makefile.inc 1.6 - 1.8
etc/etc.hpcmips/Makefile.inc 1.9 - 1.10
etc/etc.hpcsh/Makefile.inc 1.4 - 1.5
Build install kernels and standalone bootloaders in their own directories
so that parallel build works properly.
Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
Add ${IMAGE}.gz to dependency list of release:: target as well as the one
in src/distrib/common/Makefile.image so that ${MAKESUMS} will be invoked
after the target image is installed into the releasedir, not before,
even if make -jN is specified.
XXX some ports do ${MAKESUMS} for installation/miniroot files
XXX in etc/etc.${MACHINE}/Makefile.inc later again.
- add INSTALLATION_DIRS+=installation/miniroot so that miniroot.fs.gz
image is installed properly
- INSTALL_IPAQ should be in BUILD_KERNELS rather than KERNEL_SETS
since it requires ramdisk image by mdsetimage(8) in src/distrib
Invoke ${MAKESUMS} for ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation files
as snap_md_post target in etc/etc.${MACHINE}/Makefile.inc rather than
as release target in distrib/${MACHINE}/Makefile so that builds for
release in distrib/${MACHINE}/Makefile don't have to be serialized.
 1.27.4.1  17-Sep-2007  msaitoh branches: 1.27.4.1.2;
Pullup rev. 1.28 (requested by jun in ticket #878):

NetBSD/hpcmips couldn't make iso-image.
 1.27.4.1.2.1  22-Sep-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1204):
distrib/hpcarm/Makefile 1.4 - 1.6
distrib/hpcarm/instkernel/Makefile 1.1
distrib/hpcarm/stand/Makefile 1.1 - 1.2
distrib/hpcmips/Makefile 1.29 - 1.33
distrib/hpcmips/instkernel/Makefile 1.1
distrib/hpcmips/stand/Makefile 1.1 - 1.2
distrib/hpcsh/Makefile 1.7 - 1.9
distrib/hpcsh/instkernel/Makefile 1.1
distrib/hpcsh/stand/Makefile 1.1 - 1.2
distrib/miniroot/Makefile 1.65 - 1.66
etc/etc.hpcarm/Makefile.inc 1.6 - 1.8
etc/etc.hpcmips/Makefile.inc 1.9 - 1.10
etc/etc.hpcsh/Makefile.inc 1.4 - 1.5
Build install kernels and standalone bootloaders in their own directories
so that parallel build works properly.
Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
Add ${IMAGE}.gz to dependency list of release:: target as well as the one
in src/distrib/common/Makefile.image so that ${MAKESUMS} will be invoked
after the target image is installed into the releasedir, not before,
even if make -jN is specified.
XXX some ports do ${MAKESUMS} for installation/miniroot files
XXX in etc/etc.${MACHINE}/Makefile.inc later again.
- add INSTALLATION_DIRS+=installation/miniroot so that miniroot.fs.gz
image is installed properly
- INSTALL_IPAQ should be in BUILD_KERNELS rather than KERNEL_SETS
since it requires ramdisk image by mdsetimage(8) in src/distrib
Invoke ${MAKESUMS} for ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation files
as snap_md_post target in etc/etc.${MACHINE}/Makefile.inc rather than
as release target in distrib/${MACHINE}/Makefile so that builds for
release in distrib/${MACHINE}/Makefile don't have to be serialized.
 1.28.14.1  18-May-2008  yamt sync with head.
 1.28.12.4  05-Oct-2008  mjf Sync with HEAD.
 1.28.12.3  28-Sep-2008  mjf Sync with HEAD.
 1.28.12.2  29-Jun-2008  mjf Sync with HEAD.
 1.28.12.1  02-Jun-2008  mjf Sync with HEAD.
 1.29.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.

RSS XML Feed