The NetBSD Project

CVS log for pkgsrc/sysutils/sysbuild/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / sysbuild

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Jan 1 08:11:18 2025 UTC (22 months, 2 weeks ago) by jmmv
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, HEAD
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -18 lines
Update sysbuild to 2.8:

Released on 2025-01-01.

* Made the default.conf configuration file not assume a NetBSD host so
  that it is usable, for example, on Mac OS X.  The previous sample
  configuration file has been renamed to NetBSD.conf and is only
  installed when sysbuild is built on NetBSD.

* Changed the default value of NJOBS to be set to the number of CPUs in
  the machine.

* Fixed default value of SYSBUILD_CONFSUBDIR in configure and a related
  pasto in the INSTALL document.

* Fixed handling of flags in Mac OS X 10.9 due to oddities with the
  built-in /bin/sh (ancient bash).

* Fixed path to sysbuild in sysbuild4cron.

* Converted test programs to shtk's unittest library, thus removing the
  dependency on atf-sh.

* Fixed option parsing to detect missing arguments to options.

* Added support to build specific architectures within a machine type.
  This is done via new syntax in the MACHINE variable, which can now
  take pairs like evbarm-aarch64.

* Updated the minimum shtk version to 1.7.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jul 25 05:41:52 2024 UTC (2 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
*: reset MAINTAINER (became observer)

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Dec 31 09:39:31 2016 UTC (9 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Use standard way to test for options.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Feb 1 03:21:30 2016 UTC (10 years, 9 months ago) by jmmv
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Fix path to sysbuild in sysbuild4cron.

This is a pull-up of upstream 1eb74a64b213d0e4e6a98955169fae76b1c563e0
which was committed on 2014-07-01 but never checked in here (nor I have
released another distfile yet).

Bump PKGREVISION to 2 for this fix.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Oct 9 14:07:00 2014 UTC (12 years, 1 month ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -3 lines
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Feb 8 15:59:30 2014 UTC (12 years, 9 months ago) by jmmv
Branches: MAIN
CVS tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Depend on atf 0.20 (not atf-libs) and bump PKGREVISION.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jul 28 23:32:58 2013 UTC (13 years, 3 months ago) by jmmv
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +13 -67 lines
Update to 2.7:

Released on 2013-07-28.

* Sources migrated to a GitHub project from the previous copy in
  the pkgsrc repository.  sysbuild is now a first-class package and
  includes a traditional build system based on automake and autoconf.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jun 18 13:24:55 2013 UTC (13 years, 5 months ago) by jmmv
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Update to 2.6:

- Fix the default configuration file to populate CVSTAG correctly when
  using a CVS/Tag file.
- Ensure that errors from CVS stop execution.

Problem reported by Nathan Arthur in private mail.  Change OKed by pmc.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Mar 8 17:47:25 2013 UTC (13 years, 8 months ago) by jmmv
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2 lines
Update to 2.5:

- Added support for pre/post fetch/build hooks so that, for example, rsync
  can be used to push the results of a successful build to a remote server.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Oct 23 19:51:25 2012 UTC (14 years ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2 lines
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Oct 13 18:40:33 2012 UTC (14 years, 1 month ago) by jmmv
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -4 lines
Update to 2.4:

- Add a MKVARS variable to pass arbitrary variables to build.sh through -V.
  E.g. MKVARS="MKDEBUG=yes".
- Move the documentation of the configuration file to a new sysbuild.conf(5).

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Aug 25 19:20:53 2012 UTC (14 years, 2 months ago) by jmmv
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -4 lines
Update to 2.3:

- Added the 'env' command.  This prints a small shell snippet that can be
  imported into the current shell.  The printed code defines a set of
  convenience global variables and functions to work with the source tree.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Aug 23 02:26:56 2012 UTC (14 years, 2 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Update to 2.2:

- Add support to specify per-machine targets by prefixing the targets in
  BUILD_TARGETS by the machine they correspond to.  Useful, for example,
  to build different kernels depending on the machine type.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Aug 15 21:20:14 2012 UTC (14 years, 3 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +11 -14 lines
Update to 2.1:

- Use shtk for the common utilities and configuration file parsing
  functionality.  The local copies of the "config" and "utils" modules
  are gone.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jul 25 12:18:22 2012 UTC (14 years, 3 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +74 -53 lines
Initial (re)addition of sysbuild, version 2.0:

sysbuild is a tool to automate the maintenance of the NetBSD sources and
the build of releases by means of a single command and a configuration
file that tells sysbuild what to do.

Since NetBSD 1.6 (released on July 2011), the source tree has included a
very flexible script (build.sh) to build a full NetBSD release for the
current platform or to cross-build for any of the supported platforms.

The flipside of the flexibility is that the script is inconvenient to use
on a daily basis because of the myriad of options it takes.  Furthermore,
managing the source trees that make up NetBSD is not in the scope of
build.sh: the user must fetch these trees and keep them up to date by hand.

While these details are all fine on their own, rebuilding NetBSD frequently
(to keep a system up to date, or just for development tasks) is convoluted.
Developers and users usually find themselves writing their own wrapper
scripts over build.sh to simplify their daily tasks.

sysbuild extends build.sh by adding support for configuration files and
source tree management, allowing NetBSD rebuilds with a single and simple
command.  Make sure to check the sysbuild-user package for a way to
trivially set up periodic NetBSD rebuilds under an dedicated, unprivileged
user.

This is version 2.0 because sysbuild already existed 10 years ago.  It
served the same purpose, but it was removed because it stopped working
with NetBSD 2.0 (can't remember why though).  Also, I'm convinced the
previous implementation was quite bad.

Revision 1.17
Tue Jun 1 21:51:46 2004 UTC (22 years, 5 months ago) by kristerw
Branches: MAIN
CVS tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, cube-native-xorg-base, cube-native-xorg
FILE REMOVED
Changes since revision 1.16: +1 -1 lines
Remove obsolete package, per discussion on tech-pkg.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jan 20 12:26:16 2004 UTC (22 years, 10 months ago) by agc
Branches: MAIN
CVS tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Move WRKSRC definition away from the first paragraph in a Makefile.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jul 17 22:53:53 2003 UTC (23 years, 4 months ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
s/netbsd.org/NetBSD.org/

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Mar 29 12:42:33 2003 UTC (23 years, 7 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Mar 28 21:14:35 2003 UTC (23 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -2 lines
NO_PATCH is deprecated, says pkglint. Remove it.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jan 28 22:04:18 2003 UTC (23 years, 9 months ago) by jlam
Branches: MAIN
CVS tags: netbsd-1-6-1-base, netbsd-1-6-1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Jan 8 17:45:09 2003 UTC (23 years, 10 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Update sysbuild to 1.9. Changes include:

- Addition of a new variable, MACHINE, which is used to tell the program
  the machine name. This is needed since NetBSD-current now automatically
  adds this value to RELEASEDIR.
- Properly pass RELEASEDIR's value to make when building an X release
  (pointed out by Douglas Brebner in private mail).
- Update the TODO list in the manpage: remove the X11R6 item and add a new
  one about using build.sh to create and use a nbmake wrapper.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jan 1 21:16:52 2003 UTC (23 years, 10 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Update sysbuild to 1.8:

- When calling MOUNT_PRECMD, do not quote its arguments, so the pre-command
  can determine which is the program that needs to be executed. Pointed out
  by Douglas Brebner in private mail.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 28 14:58:31 2002 UTC (23 years, 10 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Update sysbuild to 1.7:

- Set DESTDIR properly while building toolchain.
- Create HOMEDIR if not exists when copying the sample configuration file
  (by the config target).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Dec 19 14:23:00 2002 UTC (23 years, 11 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Fix typo: NO_PATH -> NO_PATCH

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Dec 19 12:55:56 2002 UTC (23 years, 11 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Update sysbuild to 1.6:

- When running install-kernel, unset DESTDIR variable so kernel is placed
  in the right location.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Dec 18 11:28:08 2002 UTC (23 years, 11 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Update sysbuild to 1.5. Changes in this version:

- Added build-x-release target to build a full X11R6 binary snapshot. The
  process works as an unprivileged user, keeping sources clean (using
  mount_union(8)).
- Added install-x-sets target to install the sets built by build-x-release.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Dec 14 23:23:08 2002 UTC (23 years, 11 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Update sysbuild to 1.4.

Change since 1.3: Set BSDSRCDIR, OBJMACHINE and MKOBJDIRS when calling
build.sh and nbmake, so object directories are created in the right place,
not inside the sources.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Dec 8 11:37:18 2002 UTC (23 years, 11 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Update sysbuild to 1.3.

Changes since 1.2:
- Fixed several bugs in fast mode `-f' (directories were cleaned even if
  this flag was given, so it was of no use).
- Ability to keep tools while cleaning (KEEP_TOOLS variable); rebuild them
  only when necessary (not found).
- When directly calling "make" or "config", use the binaries in the TOOLDIR
  directory, not the ones of the current system.
- Fixed a typo in usage (pointed by Sergio Jiménez).

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Dec 1 19:39:50 2002 UTC (23 years, 11 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -2 lines
Update sysbuild to 1.2.

Changes in this version include:
* New flag `-f' (fast mode). This allows setting the UPDATE variable
  during builds (`-u' option of build.sh) and also makes kernel builds
  faster.
* New target config-kernel. This makes it easy to modify kernel
  configuration files interactively.
* Do not create sysbuild user's home directory during installation, to
  avoid hardcoding the /etc/skel path in the INSTALL script. Instead,
  provide a sample (and simple) `profile' file that is installed in
  the examples directory and is copied to the right place during the
  `init' target (suggested by jlam).
* Use `printf' instead of `echo -n' (the later is not well supported
  under some systems, like Solaris).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Nov 30 15:50:16 2002 UTC (23 years, 11 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
During the build-sets target, sysbuild directly calls `make sets' inside
distrib/sets. This call requires TOOLDIR to be set accordingly so that
make can find sysbuild compiled tools. Reported by Sergio Jiménez (sjr at
hispabsd dot org).

Also add a note in the manpage telling the user to use ?= in his mk.conf,
so that sysbuild can override the values there (specially for things like
TOOLDIR).

Bump version to 1.1.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Nov 28 19:57:28 2002 UTC (23 years, 11 months ago) by jmmv
Branches: TNF
CVS tags: pkgsrc-base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Initial import of sysbuild-1.0. Description follows:

sysbuild is a script that simplifies the process of building NetBSD
releases and kernels as an unprivileged user. It should be clear enough
that it does not add any kind of magic to the NetBSD build system. It
just automates boring steps, like setup of permissions, directories,
execution of the build process, etc. It also provides enough
functionality to automatically update CVS source trees.

sysbuild can be easily used from command line or as a cron job, so
you can schedule most of the build jobs (really, it has been designed
to run perfectly from cron).

Approved by wiz.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 28 19:57:28 2002 UTC (23 years, 11 months ago) by jmmv
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>