Up to [cvs.NetBSD.org] / src
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.371 / (download) - annotate - [select for diffs], Fri Jun 2 20:48:09 2023 UTC (41 hours, 40 minutes ago) by lukem
Branch: MAIN
CVS Tags: HEAD
Changes since 1.370: +7 -4
lines
Diff to previous 1.370 (colored)
build.sh: add show-params operation Add show-params operation to the makefile target, and reword params operation to describe what it's done since 2012. (In 2012-11-04 the Makefile's previous params target was renamed to show-params and a new params target was added to save a 'params' file, and build.sh wasn't adapted.)
Revision 1.370 / (download) - annotate - [select for diffs], Fri Jun 2 14:29:11 2023 UTC (47 hours, 59 minutes ago) by lukem
Branch: MAIN
Changes since 1.369: +3 -3
lines
Diff to previous 1.369 (colored)
build.sh: fix MKUNPRIVED comment I renamed UNPRIVED to MKUNPRIVED 20 years ago, and missed a comment.
Revision 1.369 / (download) - annotate - [select for diffs], Tue May 16 21:39:26 2023 UTC (2 weeks, 4 days ago) by lukem
Branch: MAIN
Changes since 1.368: +27 -24
lines
Diff to previous 1.368 (colored)
build.sh, BUILDING: consistency improvements Consistently use "show", instead of sometimes using "display" or "print". Fix mdoc markup (even though BUILDING is raw text). Document help, -P, -?
Revision 1.368 / (download) - annotate - [select for diffs], Sun Apr 23 09:54:15 2023 UTC (6 weeks ago) by uwe
Branch: MAIN
Changes since 1.367: +4 -12
lines
Diff to previous 1.367 (colored)
build.sh: drop -lrumpdev hack introduced in previous The existing trick in sys/rump/librump/rumpdev/rump_dev.c was not updated after the renames in the kernel. kudos to riastradh. PR kern/56599
Revision 1.367 / (download) - annotate - [select for diffs], Sun Apr 23 02:01:33 2023 UTC (6 weeks ago) by uwe
Branch: MAIN
Changes since 1.366: +38 -17
lines
Diff to previous 1.366 (colored)
build.sh: tweak rumptest and RUMP_LIBSETS Use --no-whole-archive to keep us as honest as currently possible. PR kern/56599
Revision 1.366 / (download) - annotate - [select for diffs], Mon Mar 13 11:52:29 2023 UTC (2 months, 3 weeks ago) by martin
Branch: MAIN
Changes since 1.365: +16 -12
lines
Diff to previous 1.365 (colored)
Avoid the dependency on a populated tooldir (or building the tools) when simply doing mkrepro-timestamp and the current repository setups does not actually require it.
Revision 1.365 / (download) - annotate - [select for diffs], Sun Aug 21 07:57:50 2022 UTC (9 months, 1 week ago) by lukem
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.364: +56 -53
lines
Diff to previous 1.364 (colored)
build.sh: usage improvements Use UPPERCASE as the convention to describe an option argument, as it's more noticable than lowercase in the help description. Expand tabs in the help. Editorial improvements.
Revision 1.364 / (download) - annotate - [select for diffs], Sun Aug 21 07:10:03 2022 UTC (9 months, 1 week ago) by lukem
Branch: MAIN
Changes since 1.363: +5 -16
lines
Diff to previous 1.363 (colored)
Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC Remove support for building extsrc/: 1. Makefile: remove do-extsrc target. 2. build.sh: remove options -y and -Y extsrcdir. 3. distrib/sets: remove support for extsrc in various tools including the options -L ext and -y, and the extsrc sets. 4. doc/BUILDING.mdoc: remove docs for extsrc/, EXTSRCSRCDIR, MKEXTSRC (etc) 5. bsd.own.mk and various Makefiles: remove support for extsrc/, EXTSRCSRCDIR, MKEXTSRC. As proposed on tech-kern and tech-userlevel on 2022-01-07 and followed up on 2022-08-21.
Revision 1.363 / (download) - annotate - [select for diffs], Mon Aug 15 10:06:00 2022 UTC (9 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.362: +70 -43
lines
Diff to previous 1.362 (colored)
build.sh: improve help and usage Split help into synopsis and help. Only display the synopsis for usage errors (not the full help). Print usage errors to stderr not stdout. Don't print a usage error for -? before the help message. Improve error messages for unknown options and missing arguments. Remove trailing "." present in some error messages. Alway use 'quote' instead of `quote' in some error messages.
Revision 1.362 / (download) - annotate - [select for diffs], Sun Aug 14 08:51:41 2022 UTC (9 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.361: +27 -10
lines
Diff to previous 1.361 (colored)
build.sh: improve help versus usage Rework help / usage semantics: - send help to stdout, exit 0. - send usage to stderr, exit 1.
Revision 1.361 / (download) - annotate - [select for diffs], Fri Dec 31 15:43:35 2021 UTC (17 months ago) by christos
Branch: MAIN
Changes since 1.360: +2 -3
lines
Diff to previous 1.360 (colored)
Don't try to install netbsd-CONFIG.debug files build with kernel=
Revision 1.360 / (download) - annotate - [select for diffs], Wed Dec 29 22:22:12 2021 UTC (17 months ago) by christos
Branch: MAIN
Changes since 1.359: +3 -2
lines
Diff to previous 1.359 (colored)
Enable split-debug files for kernels. Enabled by default with MKDEBUG=yes.
Revision 1.359 / (download) - annotate - [select for diffs], Mon Oct 4 21:02:40 2021 UTC (19 months, 4 weeks ago) by andvar
Branch: MAIN
Changes since 1.358: +3 -3
lines
Diff to previous 1.358 (colored)
remove duplicate the article in comments.
Revision 1.358 / (download) - annotate - [select for diffs], Sat Sep 18 01:47:07 2021 UTC (20 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.357: +4 -2
lines
Diff to previous 1.357 (colored)
Patch the build script and toolchain to allow passing through HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks the build. These variables are necessary to support building NetBSD from a GNU Guix or NixOS host, where /usr/include, /lib, and all but /bin/sh do not exist. In many cases, support for HOST_CPPFLAGS was incomplete. From Ryan Sundberg
Revision 1.357 / (download) - annotate - [select for diffs], Fri Sep 17 21:22:38 2021 UTC (20 months, 2 weeks ago) by joerg
Branch: MAIN
Changes since 1.356: +7 -4
lines
Diff to previous 1.356 (colored)
Fix timestamp extraction logic for Mercurial repos to use UTC. Extend logic to also cover "hg archive".
Revision 1.356 / (download) - annotate - [select for diffs], Thu Sep 9 15:00:01 2021 UTC (20 months, 3 weeks ago) by martin
Branch: MAIN
Changes since 1.355: +19 -4
lines
Diff to previous 1.355 (colored)
Add a new operation "mkrepro-timestamp" to extract the timestamp a build with -P would use. Example usage: ./build.sh -T /usr/tools -P mkrepro-timestamp This allows us to extract this information once, make other use of it, and replicate it on other machines with -V MKREPRO=yes -V MKREPRO_TIMESTAMP=..
Revision 1.355 / (download) - annotate - [select for diffs], Sun Aug 29 09:02:01 2021 UTC (21 months ago) by christos
Branch: MAIN
Changes since 1.354: +26 -20
lines
Diff to previous 1.354 (colored)
Fix rumptest target && enable separate rump target. From Damien Zammit
Revision 1.354 / (download) - annotate - [select for diffs], Fri Aug 6 07:55:13 2021 UTC (21 months, 4 weeks ago) by andvar
Branch: MAIN
Changes since 1.353: +3 -3
lines
Diff to previous 1.353 (colored)
fix various typos in comments.
Revision 1.353 / (download) - annotate - [select for diffs], Mon Jun 7 17:11:16 2021 UTC (23 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.352: +2 -10
lines
Diff to previous 1.352 (colored)
Good bye oabi! Tested building earmv7hf.
Revision 1.352 / (download) - annotate - [select for diffs], Thu May 27 21:03:26 2021 UTC (2 years ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Changes since 1.351: +3 -3
lines
Diff to previous 1.351 (colored)
kre@ does not like the subshell :-)
Revision 1.351 / (download) - annotate - [select for diffs], Wed May 26 21:58:58 2021 UTC (2 years ago) by christos
Branch: MAIN
Changes since 1.350: +8 -3
lines
Diff to previous 1.350 (colored)
handle different flavors of date(1)
Revision 1.350 / (download) - annotate - [select for diffs], Mon May 17 17:12:12 2021 UTC (2 years ago) by christos
Branch: MAIN
Changes since 1.349: +3 -3
lines
Diff to previous 1.349 (colored)
for mercurial, use the latest revision instead of limiting the output to 1 (requested by joerg)
Revision 1.349 / (download) - annotate - [select for diffs], Mon May 17 13:50:39 2021 UTC (2 years ago) by christos
Branch: MAIN
Changes since 1.348: +36 -4
lines
Diff to previous 1.348 (colored)
Handle git and mercurial for reproducible builds.
Revision 1.348 / (download) - annotate - [select for diffs], Fri May 14 22:06:34 2021 UTC (2 years ago) by christos
Branch: MAIN
Changes since 1.347: +7 -3
lines
Diff to previous 1.347 (colored)
ignore cvslatest errors in expert mode
Revision 1.347 / (download) - annotate - [select for diffs], Sun Apr 25 22:29:22 2021 UTC (2 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: cjep_staticlib_x-base
Branch point for: cjep_staticlib_x
Changes since 1.346: +4 -2
lines
Diff to previous 1.346 (colored)
Add mipsn64e[bl] targets which use 64 bit binaries instead of n32 ones.
Revision 1.346 / (download) - annotate - [select for diffs], Thu Jan 28 10:36:27 2021 UTC (2 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.345: +3 -2
lines
Diff to previous 1.345 (colored)
Modify the generated make wrapper to avoid complaints about non-writable OBJDIR from make (which happen a lot when cross-building kernels re-using a makewrapper build for some other user).
Revision 1.345 / (download) - annotate - [select for diffs], Sun Sep 20 10:29:05 2020 UTC (2 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.344: +13 -4
lines
Diff to previous 1.344 (colored)
add "distsets" alias for "distribution sets".
Revision 1.344 / (download) - annotate - [select for diffs], Mon Sep 14 09:02:11 2020 UTC (2 years, 8 months ago) by kim
Branch: MAIN
Changes since 1.343: +3 -3
lines
Diff to previous 1.343 (colored)
Fix typo in usage
Revision 1.343 / (download) - annotate - [select for diffs], Sun Jul 26 09:17:24 2020 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.342: +4 -4
lines
Diff to previous 1.342 (colored)
make(1): remove references to the removed lst.lib
Revision 1.342 / (download) - annotate - [select for diffs], Tue Jun 30 21:22:19 2020 UTC (2 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.341: +24 -5
lines
Diff to previous 1.341 (colored)
New build.sh option: -c <compiler> Could never remember what the incantation is to do a clang build, so now it's just `build.sh -c clang'.
Revision 1.341 / (download) - annotate - [select for diffs], Sat Jun 13 18:00:29 2020 UTC (2 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.340: +5 -5
lines
Diff to previous 1.340 (colored)
Nix trailing whitespace.
Revision 1.340 / (download) - annotate - [select for diffs], Sat Jun 13 11:42:47 2020 UTC (2 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.339: +8 -3
lines
Diff to previous 1.339 (colored)
nbmake bootstrap: silent configure if MAKEVERBOSE==0 Be consistent with the silencing of configure in tools/ and suppress the output in build.sh configure of nbmake
Revision 1.339 / (download) - annotate - [select for diffs], Sun May 24 04:55:53 2020 UTC (3 years ago) by rin
Branch: MAIN
Changes since 1.338: +4 -2
lines
Diff to previous 1.338 (colored)
Add missing MACHINE_ARCH=earmv5hf{,eb} for evbarm.
Revision 1.338 / (download) - annotate - [select for diffs], Sat May 23 17:26:32 2020 UTC (3 years ago) by jmcneill
Branch: MAIN
Changes since 1.337: +3 -3
lines
Diff to previous 1.337 (colored)
When MACHINE_ARCH is missing, give direction on how to get a list of valid options
Revision 1.337 / (download) - annotate - [select for diffs], Sat May 23 11:04:43 2020 UTC (3 years ago) by jmcneill
Branch: MAIN
Changes since 1.336: +4 -7
lines
Diff to previous 1.336 (colored)
Remove plain "earm" targets, and require an explicit MACHINE_ARCH for evbarm instead of selecting a default.
Revision 1.336 / (download) - annotate - [select for diffs], Sat May 23 10:59:25 2020 UTC (3 years ago) by jmcneill
Branch: MAIN
Changes since 1.335: +2 -4
lines
Diff to previous 1.335 (colored)
Remove evbarm OABI targets
Revision 1.335 / (download) - annotate - [select for diffs], Mon May 18 21:19:34 2020 UTC (3 years ago) by jmcneill
Branch: MAIN
Changes since 1.334: +24 -2
lines
Diff to previous 1.334 (colored)
Separate devicetree .dts -> .dtb building from kernel builds. They are now part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This defaults to yes for earmv[67]* and aarch64, and no everywhere else.
Revision 1.334 / (download) - annotate - [select for diffs], Sat Mar 28 20:13:13 2020 UTC (3 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406
Changes since 1.333: +3 -3
lines
Diff to previous 1.333 (colored)
Allow path components that start with ~
Revision 1.333 / (download) - annotate - [select for diffs], Fri Jun 7 15:49:20 2019 UTC (3 years, 11 months ago) by sborrill
Branch: MAIN
CVS Tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
is-mlppp-base,
is-mlppp
Branch point for: netbsd-9
Changes since 1.332: +3 -3
lines
Diff to previous 1.332 (colored)
Fix long-term broken pattern match when determining if uname -p output is valid. [^a-z] syntax isn't valid.
Revision 1.332 / (download) - annotate - [select for diffs], Thu May 2 02:51:01 2019 UTC (4 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.331: +3 -2
lines
Diff to previous 1.331 (colored)
on netbsd when defaulting to the native system, also derived MACHINE_ARCH from the uname -p value already fetched. this means eg, build.sh on evbarm will build the native platform rather than "earm" (armv5) -- which was the default even on arm64 hosts.
Revision 1.331 / (download) - annotate - [select for diffs], Thu Apr 25 05:12:49 2019 UTC (4 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.330: +3 -3
lines
Diff to previous 1.330 (colored)
Tyop in error message...
Revision 1.330 / (download) - annotate - [select for diffs], Fri Feb 8 02:05:32 2019 UTC (4 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.329: +19 -19
lines
Diff to previous 1.329 (colored)
add aliases for evbarm without saying 'earm': - copy all the 'evbearm' alias as 'evbarm'.
Revision 1.329 / (download) - annotate - [select for diffs], Sun Dec 30 23:19:40 2018 UTC (4 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127,
pgoyette-compat-20190118
Changes since 1.328: +22 -2
lines
Diff to previous 1.328 (colored)
add build libs (undocumented).
Revision 1.328 / (download) - annotate - [select for diffs], Thu Aug 9 08:30:29 2018 UTC (4 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Changes since 1.327: +5 -3
lines
Diff to previous 1.327 (colored)
Add some aliases (from phone)
Revision 1.327 / (download) - annotate - [select for diffs], Wed May 2 07:34:44 2018 UTC (5 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521
Branch point for: phil-wifi
Changes since 1.326: +2 -2
lines
Diff to previous 1.326 (colored)
Re-add files that were accidentally deleted in my previous commit.
Revision 1.326, Wed May 2 07:19:58 2018 UTC (5 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.325: +2 -2
lines
FILE REMOVED
Synch with HEAD
Revision 1.325 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:01 2018 UTC (5 years, 2 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407
Changes since 1.324: +4 -4
lines
Diff to previous 1.324 (colored)
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@) - sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@) - add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
Revision 1.324 / (download) - annotate - [select for diffs], Wed Jan 24 09:04:40 2018 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.323: +2 -3
lines
Diff to previous 1.323 (colored)
Remove port-acorn26 OK core@
Revision 1.323 / (download) - annotate - [select for diffs], Mon Jan 15 20:39:53 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.322: +4 -9
lines
Diff to previous 1.322 (colored)
Restore formatting/indentation of the configure call in rebuildmake() to what it used to be.
Revision 1.322 / (download) - annotate - [select for diffs], Mon Jan 15 19:52:54 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
Changes since 1.321: +3 -3
lines
Diff to previous 1.321 (colored)
Make sure nbmake is always built with the right _PATH_DEFSYSPATH.
Revision 1.321 / (download) - annotate - [select for diffs], Sun Oct 8 01:05:13 2017 UTC (5 years, 7 months ago) by kre
Branch: MAIN
Changes since 1.320: +31 -5
lines
Diff to previous 1.320 (colored)
Better validation of var name args to -V and -Z, in a way that makes it trivial to add a list of banned var names for either of those args should that ever be considered desireable (as the XXX suggests it might.) I've had this mod locked in my tree for (at least) months - time to set it free.
Revision 1.320 / (download) - annotate - [select for diffs], Sun Oct 8 00:45:25 2017 UTC (5 years, 7 months ago) by kre
Branch: MAIN
Changes since 1.319: +18 -7
lines
Diff to previous 1.319 (colored)
If we're going xsrc hunting, lets's do it properly. In particular it is not "good" just because ../xsrc or /usr/xsrc exists, if the user said -X /no/xsrc/here ... Further, when we find it, remember it. While here, also look in my favourite place: .../src/xsrc - src/x would be better (or src/x11) but that's too hard given the cvs module name and src tarball format.
Revision 1.319 / (download) - annotate - [select for diffs], Tue Oct 3 11:02:36 2017 UTC (5 years, 8 months ago) by maya
Branch: MAIN
Changes since 1.318: +5 -4
lines
Diff to previous 1.318 (colored)
Simplify.
Revision 1.318 / (download) - annotate - [select for diffs], Tue Oct 3 10:59:04 2017 UTC (5 years, 8 months ago) by maya
Branch: MAIN
Changes since 1.317: +5 -3
lines
Diff to previous 1.317 (colored)
Accept also ../xsrc in our sanity check, we use this as a default too, if it exists.
Revision 1.317 / (download) - annotate - [select for diffs], Mon Oct 2 15:40:00 2017 UTC (5 years, 8 months ago) by maya
Branch: MAIN
Changes since 1.316: +7 -2
lines
Diff to previous 1.316 (colored)
Add sanity check: passed -x but no xsrc directory
Revision 1.316 / (download) - annotate - [select for diffs], Sat Apr 8 18:22:35 2017 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.315: +8 -6
lines
Diff to previous 1.315 (colored)
- Allow all other targets (like kernel=) to obey mkrepro (-P) - Print the timestamp in UTC
Revision 1.315 / (download) - annotate - [select for diffs], Fri Mar 10 17:15:47 2017 UTC (6 years, 2 months ago) by sevan
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.314: +4 -3
lines
Diff to previous 1.314 (colored)
State the reason script bombed. Reword recommendation.
Revision 1.314 / (download) - annotate - [select for diffs], Sun Dec 18 19:39:05 2016 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.313: +4 -4
lines
Diff to previous 1.313 (colored)
add a trailing / to force symlink resolution.
Revision 1.313 / (download) - annotate - [select for diffs], Sun Dec 18 19:00:20 2016 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.312: +3 -2
lines
Diff to previous 1.312 (colored)
Bail out on error computing the timestamp
Revision 1.312 / (download) - annotate - [select for diffs], Sun Dec 18 02:20:30 2016 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.311: +77 -38
lines
Diff to previous 1.311 (colored)
Add -P for reproducible builds based on the latest cvs timestamp.
Revision 1.311 / (download) - annotate - [select for diffs], Sun Nov 13 14:47:46 2016 UTC (6 years, 6 months ago) by ast
Branch: MAIN
Changes since 1.310: +4 -3
lines
Diff to previous 1.310 (colored)
With driver modulization of if_loop.c through introduction of sys/net/if_module.h, build.sh rumptest of -lrumpnet_virtif now also requires -lrumpdev -lrumpvfs for if_loop.c:config_cfdriver_attach() and kern_pmf.c:do_sys_sync().
Revision 1.310 / (download) - annotate - [select for diffs], Fri Jun 3 00:00:01 2016 UTC (7 years ago) by kre
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.309: +3 -3
lines
Diff to previous 1.309 (colored)
When setting TOP the idea is to run the [/usr]/bin/pwd binary, and exclude any skell builtin. There are two ways to guarantee exec'ing a binary, using a path, or using exec. To use a path we would need to find it first (which certainly could be done.) Using exec here is easier.
Revision 1.309 / (download) - annotate - [select for diffs], Fri Apr 29 16:08:09 2016 UTC (7 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.308: +23 -16
lines
Diff to previous 1.308 (colored)
Provide the correct system Makefile path to the tools make. This is needed because although the arch-specific make wrapper sets $MAKEFLAGS to include the proper system Makefile path, configure clears $MAKEFLAGS before it invokes $MAKE to figure out which dependency style to use. This made the build fail during the gcc build.
Revision 1.308 / (download) - annotate - [select for diffs], Sat Jun 27 06:00:28 2015 UTC (7 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.307: +3 -3
lines
Diff to previous 1.307 (colored)
Make evbarm64 (little endian) the default for aarch64.
Revision 1.307 / (download) - annotate - [select for diffs], Wed May 6 17:31:49 2015 UTC (8 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.306: +3 -3
lines
Diff to previous 1.306 (colored)
Fix typo in usage. From Christopher M. Fuhrman in PR 49882.
Revision 1.306 / (download) - annotate - [select for diffs], Sun Feb 1 18:49:25 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.305: +3 -3
lines
Diff to previous 1.305 (colored)
Fix the build kernels target with -n, disable temporarily runcmd while we are fetching the allkernels variable.
Revision 1.305 / (download) - annotate - [select for diffs], Sun Nov 30 15:53:29 2014 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.304: +5 -16
lines
Diff to previous 1.304 (colored)
Add a new build make variable, CONFIGOPTS, which is passed to config(1) when building kernels. Revert "mkernel=*" and "mkernels" in favor of this option. Diff posted on source-changes-d@, approved by (null).
Revision 1.304 / (download) - annotate - [select for diffs], Sun Nov 16 06:08:13 2014 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.303: +7 -0
lines
Diff to previous 1.303 (colored)
build.sh mkernels: Build all kernels in modular build
Revision 1.303 / (download) - annotate - [select for diffs], Sun Nov 16 05:39:09 2014 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.302: +4 -4
lines
Diff to previous 1.302 (colored)
Expand TABs in usage.
Revision 1.302 / (download) - annotate - [select for diffs], Sun Nov 16 05:38:10 2014 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.301: +11 -5
lines
Diff to previous 1.301 (colored)
build.sh mkernel=*: New command to build kernel in modular
Revision 1.301 / (download) - annotate - [select for diffs], Mon Nov 10 09:59:33 2014 UTC (8 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.300: +24 -31
lines
Diff to previous 1.300 (colored)
Replace '.' and '-' in ${op} with '_', before setting d_${op}=true. Also remove or simplify older code that did the same thing in a different way. The old code handled most cases, but did not change op=kernel.gdb to op=kernel_gdb.
Revision 1.300 / (download) - annotate - [select for diffs], Thu Nov 6 02:02:48 2014 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.299: +20 -2
lines
Diff to previous 1.299 (colored)
build.sh: New operation "kernels" to build all kernels
Revision 1.299 / (download) - annotate - [select for diffs], Wed Nov 5 08:19:17 2014 UTC (8 years, 7 months ago) by snj
Branch: MAIN
Changes since 1.298: +4 -4
lines
Diff to previous 1.298 (colored)
iso -> images
Revision 1.298 / (download) - annotate - [select for diffs], Tue Sep 30 14:57:51 2014 UTC (8 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.297: +3 -3
lines
Diff to previous 1.297 (colored)
Prefer dash to bash when searching for a usable shell. I have tested a complete build with HOST_SH=dash on NetBSD.
Revision 1.297 / (download) - annotate - [select for diffs], Fri Sep 19 17:59:57 2014 UTC (8 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.296: +4 -2
lines
Diff to previous 1.296 (colored)
Add riscv32 and riscv64 platforms.
Revision 1.296 / (download) - annotate - [select for diffs], Wed Sep 3 19:32:18 2014 UTC (8 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.295: +3 -2
lines
Diff to previous 1.295 (colored)
Add or1k MACHINE/MACHINE_ARCH.
Revision 1.295 / (download) - annotate - [select for diffs], Fri Aug 15 18:34:19 2014 UTC (8 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.294: +10 -7
lines
Diff to previous 1.294 (colored)
Only the -m command line option, not MACHINE from the environment, is supposed override MACHINE_ARCH from the environment with the default MACHINE_ARCH for the requested machine. Add and use an opt_m variable to enforce this.
Revision 1.294 / (download) - annotate - [select for diffs], Sun Aug 10 05:56:36 2014 UTC (8 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: tls-maxphys-base,
netbsd-7-base
Branch point for: netbsd-7
Changes since 1.293: +4 -2
lines
Diff to previous 1.293 (colored)
Changes to existing files to enable building AARCH64 userland. evbarm64-el This is clang only. While gcc4.8 supports aarch64, no netbsd support has been written for aarch64 with gcc4.8.
Revision 1.293 / (download) - annotate - [select for diffs], Thu Aug 7 18:10:20 2014 UTC (8 years, 9 months ago) by apb
Branch: MAIN
CVS Tags: tls-earlyentropy-base
Changes since 1.292: +9 -5
lines
Diff to previous 1.292 (colored)
MACHINE_ARCH from the environment may be overridden by getarch (based on the MACHINE), but MACHINE_ARCH from the -a option should not be overridden. The previous commit accidentally removed this behaviour.
Revision 1.292 / (download) - annotate - [select for diffs], Thu Aug 7 17:54:28 2014 UTC (8 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.291: +61 -3
lines
Diff to previous 1.291 (colored)
Add a list-arch operation to build.sh. This lists all known MACHINE/MACHINE_ARCH values, optionally filtered by glob patterns given in the "-m" and "-a" options. For example: build.sh -a '*arm*' list-arch
Revision 1.291 / (download) - annotate - [select for diffs], Thu Aug 7 15:15:48 2014 UTC (8 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.290: +8 -4
lines
Diff to previous 1.290 (colored)
In the usage message, mention that the -m arg may be an alias. Also adjust a comment around alias processing.
Revision 1.290 / (download) - annotate - [select for diffs], Wed Aug 6 12:29:13 2014 UTC (8 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.289: +3 -3
lines
Diff to previous 1.289 (colored)
When searching for a default MACHINE_ARCH for a given MACHINE, don't break out of the loop too early.
Revision 1.289 / (download) - annotate - [select for diffs], Mon Aug 4 21:56:30 2014 UTC (8 years, 10 months ago) by apb
Branch: MAIN
Changes since 1.288: +34 -12
lines
Diff to previous 1.288 (colored)
Synchronise several shell_quote implementations, and: * Elide some unnecessary pairs of quotation marks, to improve readability. For example, shell_quote "''" is now \'\' instead of ''\'''\'''. * Don't add quotes around words that contain only safe characters, to improve readability. * LC_COLLATE=C to prevent [a-zA-Z] from matching non-ASCII characters. * Use ${SED} if defined.
Revision 1.288 / (download) - annotate - [select for diffs], Sun Aug 3 17:11:44 2014 UTC (8 years, 10 months ago) by riz
Branch: MAIN
Changes since 1.287: +3 -4
lines
Diff to previous 1.287 (colored)
hpcarm wants earmv4 because some models only have v4 CPUs.
Revision 1.287 / (download) - annotate - [select for diffs], Sun Aug 3 09:22:29 2014 UTC (8 years, 10 months ago) by apb
Branch: MAIN
Changes since 1.286: +10 -2
lines
Diff to previous 1.286 (colored)
BUILDINFO part 4: build.sh Add BUILDINFO to the list of variables saved in the makewrapper script, and print any non-blank BUILDINFO lines near the beginning of the output from build.sh. Index: build.sh =================================================================== RCS file: /cvsroot/src/build.sh,v retrieving revision 1.286 diff -d -p -u -r1.286 build.sh --- build.sh 3 Aug 2014 01:03:41 -0000 1.286 +++ build.sh 3 Aug 2014 09:20:46 -0000 @@ -1299,6 +1299,7 @@ parseoptions() # makeenv="${makeenv} TOOLDIR MACHINE MACHINE_ARCH MAKEFLAGS" [ -z "${BUILDID}" ] || makeenv="${makeenv} BUILDID" + [ -z "${BUILDINFO}" ] || makeenv="${makeenv} BUILDINFO" MAKEFLAGS="-de -m ${TOP}/share/mk ${MAKEFLAGS}" MAKEFLAGS="${MAKEFLAGS} MKOBJDIRS=${MKOBJDIRS-yes}" export MAKEFLAGS MACHINE MACHINE_ARCH @@ -2078,6 +2079,13 @@ main() if [ -n "${BUILDID}" ]; then statusmsg2 "BUILDID:" "${BUILDID}" fi + if [ -n "${BUILDINFO}" ]; then + printf "%b\n" "${BUILDINFO}" | \ + while read -r line ; do + [ -s "${line}" ] && continue + statusmsg2 "BUILDINFO:" "${line}" + done + fi rebuildmake validatemakeparams
Revision 1.286 / (download) - annotate - [select for diffs], Sun Aug 3 01:03:41 2014 UTC (8 years, 10 months ago) by riz
Branch: MAIN
Changes since 1.285: +17 -16
lines
Diff to previous 1.285 (colored)
Make EABI the default for arm ports, as discussed on current-users and port-arm.
Revision 1.285 / (download) - annotate - [select for diffs], Sun Jul 6 18:04:44 2014 UTC (8 years, 11 months ago) by apb
Branch: MAIN
Changes since 1.284: +36 -10
lines
Diff to previous 1.284 (colored)
Make the makewrapper script robust against variables with embedded special characters. * Add a shell_quote function, identical to that in postinstall(1) and etcupdate(1). * In the variable=value lines emitted to the wrapper script, quote the values, because they may contain special characters. * Sort the variable names, not the variable=value lines, in case the value contains newlines.
Revision 1.284 / (download) - annotate - [select for diffs], Sun Jul 6 17:49:20 2014 UTC (8 years, 11 months ago) by apb
Branch: MAIN
Changes since 1.283: +4 -4
lines
Diff to previous 1.283 (colored)
Set USETOOLS and MAKEWRAPPERMACHINE in parseoptions(), where several other make variables are set, insteadof in special case code in createmakewrapper().
Revision 1.283 / (download) - annotate - [select for diffs], Sun Jul 6 17:35:09 2014 UTC (8 years, 11 months ago) by apb
Branch: MAIN
Changes since 1.282: +4 -4
lines
Diff to previous 1.282 (colored)
Fix two incorrect attempts to skip blank lines or comment lines. They failed to account for the space that is appended to ${line} before comparison.
Revision 1.282 / (download) - annotate - [select for diffs], Sat Jun 14 12:25:00 2014 UTC (8 years, 11 months ago) by apb
Branch: MAIN
Changes since 1.281: +5 -2
lines
Diff to previous 1.281 (colored)
Print BUILDID near the beginning of build.sh.
Revision 1.281 / (download) - annotate - [select for diffs], Mon May 5 19:12:19 2014 UTC (9 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9
Changes since 1.280: +11 -5
lines
Diff to previous 1.280 (colored)
Add a new action kernel.gdb=MYCONF to build a kernel with debuginfo (and generate netbsd.gdb)
Revision 1.280 / (download) - annotate - [select for diffs], Tue Apr 29 11:52:51 2014 UTC (9 years, 1 month ago) by uebayasi
Branch: MAIN
Changes since 1.279: +0 -1
lines
Diff to previous 1.279 (colored)
Revert previous for now; resolvepath() has to work for file paths too.
Revision 1.279 / (download) - annotate - [select for diffs], Tue Apr 29 06:51:57 2014 UTC (9 years, 1 month ago) by uebayasi
Branch: MAIN
Changes since 1.278: +3 -2
lines
Diff to previous 1.278 (colored)
resolvepath: Resolve .. in absolute paths.
Revision 1.278 / (download) - annotate - [select for diffs], Mon Mar 31 19:29:21 2014 UTC (9 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.277: +3 -3
lines
Diff to previous 1.277 (colored)
Typo
Revision 1.277 / (download) - annotate - [select for diffs], Mon Mar 31 11:25:47 2014 UTC (9 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.276: +3 -2
lines
Diff to previous 1.276 (colored)
Bring back the playstation2 port - now that a toolchain for it is available again.
Revision 1.276 / (download) - annotate - [select for diffs], Mon Feb 24 07:23:38 2014 UTC (9 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.275: +3 -3
lines
Diff to previous 1.275 (colored)
Rename NetBSD/hp700 to NetBSD/hppa. Unfortunately our VCS isn't very helpful here.
Revision 1.275 / (download) - annotate - [select for diffs], Mon Feb 10 08:20:05 2014 UTC (9 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.274: +18 -18
lines
Diff to previous 1.274 (colored)
Move the "-U or -E must be set for build as an unprivileged user." test from sanitycheck() to validatemakeparams(). If MKUNPRIVED is set in mk.conf (and not on the build.sh command line) then it's not yet available for use in the sanitycheck function. Also move some other code for consistency.
Revision 1.274 / (download) - annotate - [select for diffs], Mon Jan 13 20:00:20 2014 UTC (9 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.273: +3 -3
lines
Diff to previous 1.273 (colored)
In the sanitycheck function, treat undefined MKUNPRIVED like "no". Other uses of MKUNPRIVED should not need this treatment, because bsd.own.mk sets it to "no" by default, and build.sh uses getmakevar to pick up that default (but that happens too late for the sanitycheck function to take advantage of it).
Revision 1.273 / (download) - annotate - [select for diffs], Fri Aug 30 10:29:06 2013 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.272: +3 -3
lines
Diff to previous 1.272 (colored)
Rename RUMPTEST_BUILDSH to RUMPKERN_ONLY. Turns out not building any POSIX implementations of hypercalls is useful beyond the build.sh test, such as when building rump kernels for non-POSIX hosts.
Revision 1.272 / (download) - annotate - [select for diffs], Tue Aug 6 05:47:58 2013 UTC (9 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.271: +15 -7
lines
Diff to previous 1.271 (colored)
Use earmv4 for ecats enetwinder eshark Add evbearm variants for earmv{4,5}{,eb} earmv7{,hf} earmv6{,hf}{,eb}
Revision 1.271 / (download) - annotate - [select for diffs], Mon Aug 5 00:28:52 2013 UTC (9 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.270: +6 -2
lines
Diff to previous 1.270 (colored)
Add evbearmv7-eb and evbearmv7hf-eb aliases for evbarm. These are because cortex (armv7a) cores uses a different big-endian binary format that previous big-endian arm systems.
Revision 1.270 / (download) - annotate - [select for diffs], Thu Jul 18 22:08:59 2013 UTC (9 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2,
riastradh-drm2-base1
Changes since 1.269: +3 -2
lines
Diff to previous 1.269 (colored)
Add stub port for evbcf which has enough to do a distribution build.
Revision 1.269 / (download) - annotate - [select for diffs], Fri Jun 28 06:17:37 2013 UTC (9 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: riastradh-drm2-base
Branch point for: riastradh-drm2
Changes since 1.268: +3 -3
lines
Diff to previous 1.268 (colored)
The default of hpcarm's MACHINE_ARCH is arm.
Revision 1.268 / (download) - annotate - [select for diffs], Thu Jun 27 01:02:13 2013 UTC (9 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.267: +8 -7
lines
Diff to previous 1.267 (colored)
Add earm aliases for various arm ports (ecats, hpcearm, eshark, etc.)
Revision 1.267 / (download) - annotate - [select for diffs], Wed May 1 13:12:00 2013 UTC (10 years, 1 month ago) by kiyohara
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.266: +3 -2
lines
Diff to previous 1.266 (colored)
Support to build for epoc32 userland.
Revision 1.266 / (download) - annotate - [select for diffs], Sun Apr 28 12:54:39 2013 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.265: +4 -3
lines
Diff to previous 1.265 (colored)
fix "build.sh rumptest" wrt private hypercalls
Revision 1.265 / (download) - annotate - [select for diffs], Thu Mar 7 04:51:58 2013 UTC (10 years, 3 months ago) by oki
Branch: MAIN
CVS Tags: agc-symver-base,
agc-symver
Changes since 1.264: +3 -3
lines
Diff to previous 1.264 (colored)
fixed typo on comment.
Revision 1.264 / (download) - annotate - [select for diffs], Wed Feb 13 02:17:54 2013 UTC (10 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.263: +30 -2
lines
Diff to previous 1.263 (colored)
add a disk-image=target option
Revision 1.263 / (download) - annotate - [select for diffs], Sun Feb 3 05:37:43 2013 UTC (10 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.262: +4 -2
lines
Diff to previous 1.262 (colored)
Add MACHINE=evbarm MACHINE_ARCH=earmhf ALIAS=evbearmhf-el MACHINE=evbarm MACHINE_ARCH=earmhfeb ALIAS=evbearmhf-eb
Revision 1.262 / (download) - annotate - [select for diffs], Sat Feb 2 02:08:37 2013 UTC (10 years, 4 months ago) by hubertf
Branch: MAIN
Changes since 1.261: +4 -3
lines
Diff to previous 1.261 (colored)
If the initial build of nbmake fails, make the configure logfile available (and tell where it is).
Revision 1.261 / (download) - annotate - [select for diffs], Mon Jan 14 13:02:59 2013 UTC (10 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.260: +3 -2
lines
Diff to previous 1.260 (colored)
Scrub TERMINFO from host env lest it leaks into libterminfo build.
Revision 1.260 / (download) - annotate - [select for diffs], Sun Dec 2 19:19:36 2012 UTC (10 years, 6 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.259: +33 -36
lines
Diff to previous 1.259 (colored)
Move some tests from validatemakeparams() to sanitycheck(), so the related error messages can be printed before build.sh builds a new version of make. Also make some sanity tests unconditional, instead of conditional on ${do_build} || ${do_distribution} || ${do_release} || ${do_install}.
Revision 1.259 / (download) - annotate - [select for diffs], Thu Nov 15 23:51:53 2012 UTC (10 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.258: +3 -4
lines
Diff to previous 1.258 (colored)
Move the build_install logic from lib/Makefile into share/mk and re-use it for tools. The existing logic broke for the LLVM build with the recent .ORDER changes in make.
Revision 1.258 / (download) - annotate - [select for diffs], Wed Oct 31 13:05:09 2012 UTC (10 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.257: +211 -174
lines
Diff to previous 1.257 (colored)
Replace getarch and validatearch with table-driven implementations.
Revision 1.257 / (download) - annotate - [select for diffs], Thu Oct 18 16:15:29 2012 UTC (10 years, 7 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.256: +16 -3
lines
Diff to previous 1.256 (colored)
Print the value of MAKECONF.
Revision 1.256 / (download) - annotate - [select for diffs], Sat Sep 29 04:02:42 2012 UTC (10 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.255: +5 -6
lines
Diff to previous 1.255 (colored)
Fix build.sh "modules" target build which has been broken since do-sys-modules target was removed from src/Makefile in rev 1.299. Fixes PR/46994. Also remove a redundant bomb message which is already handled by make_in_dir().
Revision 1.255 / (download) - annotate - [select for diffs], Sun Aug 5 04:39:09 2012 UTC (10 years, 10 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.254: +16 -4
lines
Diff to previous 1.254 (colored)
Add support for MACHINE_ARCH matching earm or earmeb Make evbearm-e[bl] a shortcut for evbarm and earmeb or earm. Allow cats, iyonic, netwiner, shark, zaurus to specify earm though they still default to arm.
Revision 1.254 / (download) - annotate - [select for diffs], Sun Feb 26 20:32:40 2012 UTC (11 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4
Changes since 1.253: +21 -9
lines
Diff to previous 1.253 (colored)
Add sanity checks for live-image and install-image targets (which require mtree spec files built with MKUNPRIVED=yes) to avoid unexpected makefs(8) error during image builds: - if release op is specified with live-image or install-image at the same time, make sure -U is also specified for the image builds - before perform live-image and install-image ops check METALOG file in DESTDIR to see if the build have been performed with MKUNPRIVED XXX: Probably toolchain should create consistent spec files in XXX: DESTDIR/etc/mtree dir regardless of MKUNPRIVED settings.
Revision 1.253 / (download) - annotate - [select for diffs], Sun Jan 22 03:53:32 2012 UTC (11 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.252: +25 -2
lines
Diff to previous 1.252 (colored)
Add "live-image" and "install-image" target support to build.sh. "live-image" target builds pre-installed disk images that can be used on emulators or boot from USB memory sticks to try NetBSD without installation. Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax (which have working emulators and don't require extra tools like preparing msdosfs or partitioning MD label structures) support this target. "install-image" target builds an bootable installation disk image that can be used as an install CD but burned into USB memory sticks etc. Current only amd64 and i386 (which would support USB boot) have this target. For more details (and known issue) see following posts on netbsd-bugs@: http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html No particular comments about implementation, and "go ahead" comments from mrg@, riz@ and christos@. Closes PR toolchain/45153 and PR misc/45155.
Revision 1.252 / (download) - annotate - [select for diffs], Mon Dec 5 23:04:39 2011 UTC (11 years, 6 months ago) by jym
Branch: MAIN
Changes since 1.251: +3 -3
lines
Diff to previous 1.251 (colored)
do_sys_sync() is part of vfs, hence rumpvfs. Used by pmf(9) during device suspend, so explicitly link against rumpvfs to resolve that symbol when linking rumpdev. Unbreaks "rumptest" target.
Revision 1.251 / (download) - annotate - [select for diffs], Mon Oct 17 16:22:12 2011 UTC (11 years, 7 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.250: +3 -3
lines
Diff to previous 1.250 (colored)
wheher -> whether
Revision 1.250 / (download) - annotate - [select for diffs], Wed Sep 14 17:35:44 2011 UTC (11 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.249: +9 -7
lines
Diff to previous 1.249 (colored)
When using random versions of make to try to find the TOOLDIR, redirect 2>/dev/null. This should hide error messages like "*** missing separator. Stop." when GNU make doesn't understand ".include".
Revision 1.249 / (download) - annotate - [select for diffs], Fri Sep 9 18:48:34 2011 UTC (11 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.248: +237 -11
lines
Diff to previous 1.248 (colored)
Add tests for the shell under which build.sh is run. If the shell fails the tests, then build.sh tries to re-exec itself under a more suitable shell.
Revision 1.248 / (download) - annotate - [select for diffs], Fri Sep 9 13:29:23 2011 UTC (11 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.247: +31 -14
lines
Diff to previous 1.247 (colored)
Allow MAKEFLAGS to be set via build.sh -V. Somebody asked for this in 2008. Also add comments above a few functions in build.sh, and bump copyright dates.
Revision 1.247 / (download) - annotate - [select for diffs], Tue Aug 30 12:04:12 2011 UTC (11 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.246: +4 -4
lines
Diff to previous 1.246 (colored)
Escape '$' in double quotes.
Revision 1.246 / (download) - annotate - [select for diffs], Mon Aug 15 14:48:00 2011 UTC (11 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.245: +46 -46
lines
Diff to previous 1.245 (colored)
Add `-h' and `-y' to `Usage' (which were missing there); synchronize the options list from `Usage' with its own summary, and re-outline that list; two corrections in the order of the options in (parseoptions) list; a small punctuation change; remove trailing whitespace in one line. From Snader_LB.
Revision 1.245 / (download) - annotate - [select for diffs], Mon Aug 8 22:15:42 2011 UTC (11 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.244: +24 -3
lines
Diff to previous 1.244 (colored)
add an installmodules=<dir> command to build.sh
Revision 1.244 / (download) - annotate - [select for diffs], Wed Jan 26 01:18:43 2011 UTC (12 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.243: +3 -3
lines
Diff to previous 1.243 (colored)
Add support for the Extensible MIPS ("eMIPS") platform. The NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the Giano system simulator. eMIPS is a platform developed at Microsoft Research for researching reconfigurable computing. eMIPS allows dynamic loading and scheduling of application-specific circuits for the purpose of accelerating computations based on the current workload. NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research by Alessandro Forin and Neil Pittman. Microsoft Corporation has donated full copyright to The NetBSD Foundation. Platform support for eMIPS is the first part of Microsoft's contribution. The second part includes the hardware accelerator framework and will be proposed on tech-kern soon.
Revision 1.243 / (download) - annotate - [select for diffs], Sun Jan 23 06:50:53 2011 UTC (12 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.242: +4 -4
lines
Diff to previous 1.242 (colored)
Add arc64 alias
Revision 1.242 / (download) - annotate - [select for diffs], Mon Dec 6 09:08:39 2010 UTC (12 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.241: +4 -4
lines
Diff to previous 1.241 (colored)
* test librumpdev_dm * update rumpcrypto name
Revision 1.241 / (download) - annotate - [select for diffs], Tue Nov 23 18:30:26 2010 UTC (12 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.240: +4 -3
lines
Diff to previous 1.240 (colored)
ld wants to create a 0-byte file before it starts linking, with the default being ./a.out. If we run build.sh rumptest from a r/o fs, linking fails before it gets to the parts that interest us and the whole test silently fails. So: 1) use -o /tmp/rumptest.$$ (objdir might be better, but I couldn't determine with a high confidence how to obtain the definite one in build.sh) 2) catch "cannot open output file" error from ld
Revision 1.240 / (download) - annotate - [select for diffs], Tue Aug 24 20:52:31 2010 UTC (12 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.239: +6 -4
lines
Diff to previous 1.239 (colored)
Replace a couple uses of '$@' with '$*' In statusmsg2() make the msg variable local. More thanks to Robert Elz.
Revision 1.239 / (download) - annotate - [select for diffs], Tue Aug 24 15:28:22 2010 UTC (12 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.238: +4 -4
lines
Diff to previous 1.238 (colored)
Quote the $msg variable to ensure that leading/trailing spaces get counted. Thanks to Robert Elz.
Revision 1.238 / (download) - annotate - [select for diffs], Tue Aug 24 13:35:32 2010 UTC (12 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.237: +36 -16
lines
Diff to previous 1.237 (colored)
Improve formatting of column-aligned output, as discussed on current-users.
Revision 1.237 / (download) - annotate - [select for diffs], Thu Jun 17 08:19:02 2010 UTC (12 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.236: +3 -2
lines
Diff to previous 1.236 (colored)
add tty to rumptest
Revision 1.236 / (download) - annotate - [select for diffs], Thu May 27 05:41:54 2010 UTC (13 years ago) by pgoyette
Branch: MAIN
Changes since 1.235: +3 -3
lines
Diff to previous 1.235 (colored)
Minor grammar improvement in status message.
Revision 1.235 / (download) - annotate - [select for diffs], Tue May 11 20:36:04 2010 UTC (13 years ago) by pooka
Branch: MAIN
Changes since 1.234: +3 -2
lines
Diff to previous 1.234 (colored)
Test for barebones rump network config (i.e. just rumpnet and kernel base).
Revision 1.234 / (download) - annotate - [select for diffs], Sun May 9 18:53:03 2010 UTC (13 years ago) by morr
Branch: MAIN
Changes since 1.233: +3 -2
lines
Diff to previous 1.233 (colored)
Don't try to build xldscripts during build.sh modules
Revision 1.233 / (download) - annotate - [select for diffs], Tue Mar 30 13:17:47 2010 UTC (13 years, 2 months ago) by cegger
Branch: MAIN
Changes since 1.232: +11 -9
lines
Diff to previous 1.232 (colored)
move change from rev 1.232 to the initialization part. This fixes the problem 'nbconfig: cannot create /GENERIC' when KERNOBJDIR has a relative path and is defined as env variable. Problem reported and fix proposed on tech-toolchain@. 'commit it then' christos@
Revision 1.232 / (download) - annotate - [select for diffs], Fri Mar 26 18:02:14 2010 UTC (13 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.231: +9 -2
lines
Diff to previous 1.231 (colored)
make kernobjdir absolute.
Revision 1.231 / (download) - annotate - [select for diffs], Sun Mar 7 17:34:25 2010 UTC (13 years, 3 months ago) by hans
Branch: MAIN
Changes since 1.230: +3 -3
lines
Diff to previous 1.230 (colored)
Make build.sh work again with /usr/xpg4/bin/sh on Solaris. Ok by pooka.
Revision 1.230 / (download) - annotate - [select for diffs], Sun Mar 7 16:57:41 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.229: +5 -3
lines
Diff to previous 1.229 (colored)
* detect missing libraries (such as -lrumpfs_msdosfs) * fix spelling of -lrumpfs_msdos * update linklists
Revision 1.229 / (download) - annotate - [select for diffs], Fri Feb 26 18:57:06 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.228: +2 -3
lines
Diff to previous 1.228 (colored)
Don't need to set NORUMPUSER since rumpuser isn't built from sys anymore.
Revision 1.228 / (download) - annotate - [select for diffs], Wed Jan 13 02:24:06 2010 UTC (13 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.227: +6 -3
lines
Diff to previous 1.227 (colored)
need object directory for etc/mtree to run distrib-dirs
Revision 1.227 / (download) - annotate - [select for diffs], Wed Jan 13 02:18:25 2010 UTC (13 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.226: +7 -5
lines
Diff to previous 1.226 (colored)
In rumptest, create obj dirs before distrib dirs. Fail if distrib dir creation fails. per clue-by-4 from mrg
Revision 1.226 / (download) - annotate - [select for diffs], Sat Dec 26 14:13:08 2009 UTC (13 years, 5 months ago) by mbalmer
Branch: MAIN
Changes since 1.225: +4 -4
lines
Diff to previous 1.225 (colored)
'build.sh ... modules' only builds modules, but does not install them, reflect that in the scripts output. While here, fix the past form of build.
Revision 1.225 / (download) - annotate - [select for diffs], Thu Dec 17 15:30:37 2009 UTC (13 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.224: +4 -4
lines
Diff to previous 1.224 (colored)
Add cobalt64 alias and indicte cobalt can be mips64el too.
Revision 1.224 / (download) - annotate - [select for diffs], Mon Dec 14 01:11:02 2009 UTC (13 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.223: +18 -2
lines
Diff to previous 1.223 (colored)
Merge from matt-nb5-mips64
Revision 1.223 / (download) - annotate - [select for diffs], Sat Dec 5 16:29:10 2009 UTC (13 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.222: +3 -3
lines
Diff to previous 1.222 (colored)
Remove support for NetBSD/playstation2.
Revision 1.222 / (download) - annotate - [select for diffs], Mon Nov 30 16:13:22 2009 UTC (13 years, 6 months ago) by uebayasi
Branch: MAIN
CVS Tags: playstation2-eol-2009
Changes since 1.221: +17 -4
lines
Diff to previous 1.221 (colored)
Support "extsrc", externally added programs and libraries. Users can write their own reach-overs, cross-build, install, and get set files just like base and X11 / X.org. (These sets are not included as TNF releases.)
Revision 1.221 / (download) - annotate - [select for diffs], Tue Nov 24 13:39:07 2009 UTC (13 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.220: +14 -5
lines
Diff to previous 1.220 (colored)
For rumptest, ignore unresolved symbols which are in the toolchain namespace: 1) anything starting with __ 2) MD quirks as defined by sys/rump/Makefile.rump
Revision 1.220 / (download) - annotate - [select for diffs], Mon Nov 23 14:07:45 2009 UTC (13 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.219: +5 -3
lines
Diff to previous 1.219 (colored)
Add more rumpdev configurations to rumptest.
Revision 1.219 / (download) - annotate - [select for diffs], Wed Nov 18 18:05:19 2009 UTC (13 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.218: +85 -2
lines
Diff to previous 1.218 (colored)
Add rumptest command for testing rump linkage.
Revision 1.218 / (download) - annotate - [select for diffs], Tue Nov 17 20:49:34 2009 UTC (13 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.217: +5 -3
lines
Diff to previous 1.217 (colored)
Set LC_ALL=C before we try to parse the output from any command. This will ensure that awk is not invoked in a way that tickles the bug described in PR 42320.
Revision 1.217 / (download) - annotate - [select for diffs], Wed Nov 4 12:58:01 2009 UTC (13 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.216: +4 -2
lines
Diff to previous 1.216 (colored)
If do_expertmode is false, then add DESTDIR and RELEASEDIR to makeenv. This reinstates behaviour that was accidentally lost in revision 1.215.
Revision 1.216 / (download) - annotate - [select for diffs], Thu Oct 15 03:21:45 2009 UTC (13 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.215: +3 -3
lines
Diff to previous 1.215 (colored)
There is no variable called __SRC_TOP_OBJ__. Use the correct one instead.
Revision 1.215 / (download) - annotate - [select for diffs], Wed Oct 14 19:03:12 2009 UTC (13 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.214: +31 -16
lines
Diff to previous 1.214 (colored)
Bomb if TOOLDIR, DESTDIR, or RELEASEDIR changes after we have created the top level object directory. This can happen if /etc/mk.conf overrides values passed to build.sh in the environment or on the command line.
Revision 1.214 / (download) - annotate - [select for diffs], Sat Oct 3 19:19:59 2009 UTC (13 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.213: +16 -3
lines
Diff to previous 1.213 (colored)
Add an additional check for whether to rebuild make. This fixes a problem I saw where building first without and then with OBJMACHINE confused build.sh into not building a new nbmake in the new TOOLDIR.
Revision 1.213 / (download) - annotate - [select for diffs], Sun Sep 27 22:02:41 2009 UTC (13 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.212: +88 -47
lines
Diff to previous 1.212 (colored)
Replace try_set_TOOLDIR with a new function, print_tooldir_make, which does much of the same work but prints a result instead of setting a global variable. Adjust the rebuildmake function to suit. Improve the comments describing how we try to figure out whether the existing tooldir make needs to be rebuilt.
Revision 1.212 / (download) - annotate - [select for diffs], Sun Sep 27 18:08:24 2009 UTC (13 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.211: +68 -61
lines
Diff to previous 1.211 (colored)
* Use a more robust method of creating the top level object directory. Use getmakevar to expand MAKEOBJDIRPREFIX or MAKEOBJDIR, or (if neither of those variables is set) use a non-recursive "make obj" in the top level source directory. * Do not let TOP_objdir default to ${TOP}. It's now set only by the -M or -O command line options, or after using getmakevar to expand MAKEOBJDIRPREFIX or MAKEOBJDIR. * Make try_set_TOOLDIR handle MAKEOBJDIRPERFIX passed from the environment. It runs too early to use getmakevar, so it will not work if the value contains embedded '${...}' variable references. * Use '$TOOLDIR' (with a literal '$') instead of 'nonexistent' in a message when rebuilding make when TOOLDIR is not yet known.
Revision 1.211 / (download) - annotate - [select for diffs], Sun Sep 27 17:55:53 2009 UTC (13 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.210: +8 -3
lines
Diff to previous 1.210 (colored)
Introduce a done_rebuildmake variable, instead of abusing do_rebuildmake to mean both "must rebuild make" and "have already rebuilt make".
Revision 1.210 / (download) - annotate - [select for diffs], Sun Sep 27 17:48:19 2009 UTC (13 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.209: +23 -14
lines
Diff to previous 1.209 (colored)
Rename raw_getmakevar to bomb_getmakevar. It wasn't "raw" at all; it was (and is) a wrapper around nobomb_getmakevar.
Revision 1.209 / (download) - annotate - [select for diffs], Sun Sep 27 17:28:38 2009 UTC (13 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.208: +5 -5
lines
Diff to previous 1.208 (colored)
Allow build.sh "-C cdextra" option to be specified multiple times.
Revision 1.208 / (download) - annotate - [select for diffs], Sun Sep 27 17:25:01 2009 UTC (13 years, 8 months ago) by apb
Branch: MAIN
Changes since 1.207: +29 -29
lines
Diff to previous 1.207 (colored)
Make resolvepath and resolvepaths slightly less magic. They now take a variable name as an arg unstead of always working on $OPTARG, and resolveepaths is now a wrapper around resolvepath instead of duplicating code.
Revision 1.207 / (download) - annotate - [select for diffs], Mon Sep 7 04:14:17 2009 UTC (13 years, 8 months ago) by jnemeth
Branch: MAIN
Changes since 1.206: +36 -2
lines
Diff to previous 1.206 (colored)
Add a modules operation to build.sh, which builds and installs kernel modules into DESTDIR. This is based on the patch provided by tsutsui@ on tech-toolchain@.
Revision 1.206 / (download) - annotate - [select for diffs], Fri Mar 13 16:23:31 2009 UTC (14 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.205: +6 -2
lines
Diff to previous 1.205 (colored)
Add a MKARZERO flag, which invokes ar(1) with the new D flag when it is set to "yes" -- defaults to "no" except for build.sh builds. This results in a deterministic .a file rather than one that reflects timestamps and permissions on the source files. Also, clean up the ar flags we're using, and remove a redundant use of ranlib that on a modern POSIX ar can be done with the "s" flag. Discussed on tech-toolchain
Revision 1.205 / (download) - annotate - [select for diffs], Mon Mar 9 06:25:51 2009 UTC (14 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.204: +3 -3
lines
Diff to previous 1.204 (colored)
Add "-", "_", and "A-Z" to the set of allowed characters in the result from `uname -p`. We already have a platform with an underline ("x86_64"), and the other chars seem harmless.
Revision 1.204 / (download) - annotate - [select for diffs], Fri Mar 6 16:29:40 2009 UTC (14 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.203: +15 -6
lines
Diff to previous 1.203 (colored)
In build.sh and bsd.own.mk, if uname -p fails, or prints "unknown", or prints something that does not look like an identifier, then use uname -m instead. (Cygwin prints "unknown", and OpenBSD prints a long string containing several spaces; this code should handle both.)
Revision 1.203 / (download) - annotate - [select for diffs], Wed Feb 25 23:34:10 2009 UTC (14 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.202: +22 -25
lines
Diff to previous 1.202 (colored)
Implement make_in_dir <dir> <op> to simplify various operations
Revision 1.202 / (download) - annotate - [select for diffs], Tue Feb 24 22:25:24 2009 UTC (14 years, 3 months ago) by sketch
Branch: MAIN
Changes since 1.201: +6 -4
lines
Diff to previous 1.201 (colored)
Make 'build.sh tools' work with the Sun Studio compiler, although bugs in some of the generated tools still prevent building a full release using them.
Revision 1.201 / (download) - annotate - [select for diffs], Sat Feb 21 22:04:35 2009 UTC (14 years, 3 months ago) by plunky
Branch: MAIN
Changes since 1.200: +3 -3
lines
Diff to previous 1.200 (colored)
update usage message for -x to "build X11" rather than "build X11R6"
Revision 1.200 / (download) - annotate - [select for diffs], Sat Jan 3 08:23:00 2009 UTC (14 years, 5 months ago) by apb
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.199: +4 -3
lines
Diff to previous 1.199 (colored)
"\t" does not represent a tab in sed regular expressions, so use a ${tab} variable instead. This bug was found by Jeremy C. Reed.
Revision 1.199 / (download) - annotate - [select for diffs], Thu Nov 13 20:40:11 2008 UTC (14 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.198: +8 -6
lines
Diff to previous 1.198 (colored)
Add support for new MAKEVERBOSE levels 3 and 4. The complete list is now: 0 Minimal output ("quiet") 1 Describe what is occurring 2 Describe what is occurring and echo the actual command 3 Ignore the effect of the "@" prefix in make commands 4 Trace shell commands using the shell's -x flag The default remains MAKEVERBOSE=2.
Revision 1.198 / (download) - annotate - [select for diffs], Sun Oct 26 23:40:06 2008 UTC (14 years, 7 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-5-base
Branch point for: netbsd-5
Changes since 1.197: +36 -9
lines
Diff to previous 1.197 (colored)
Try harder to guess the correct TOOLDIR. Adapted from a proposal by Izumi Tsutsui in tech-toolchain.
Revision 1.197 / (download) - annotate - [select for diffs], Fri Aug 22 23:41:24 2008 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
matt-mips64-base2
Changes since 1.196: +3 -23
lines
Diff to previous 1.196 (colored)
Remove support for printing "'-x' has been replaced by 'xxxxx'". The old option hasn't worked since 2003/01/23 (before NetBSD 2.0.)
Revision 1.196 / (download) - annotate - [select for diffs], Mon Aug 18 06:40:09 2008 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.195: +7 -3
lines
Diff to previous 1.195 (colored)
Fix "-n releasekernel=..." Patch from Jukka Salmi in PR 33096.
Revision 1.195 / (download) - annotate - [select for diffs], Mon Aug 18 05:26:05 2008 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.194: +21 -19
lines
Diff to previous 1.194 (colored)
Implement "cleandir". Inspired by PR 39362. Consistently expand tabs in the usage.
Revision 1.194 / (download) - annotate - [select for diffs], Sat Aug 16 00:10:04 2008 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.193: +23 -14
lines
Diff to previous 1.193 (colored)
Determine top-level objdir from the environment $MAKEOBJDIRPREFIX early on, and store in the (non-exported) $TOP_objdir. (We can't do the same for the environment $MAKEOBJDIR since it may contain make(1) expressions that aren't easily parseable by sh(1)) Remember appropriate variations of '-M modp' and '-O mod' in $TOP_objdir (replacing $makeobjdir misuse). Use $TOP_objdir when trying to guess the TOOLDIR, and when detecting if the top-level objdir needs to be created. Fixes problems observed when testing fixes for PR 39360 and 39361. Fix the TOOLDIR path used when guessing the TOOLDIR. PR 39360 from Andrew Cagney <cagney@gnu.org> Use stricter result checking from make(1) when guessing the TOOLDIR. PR 39361 from Andrew Cagney <cagney@gnu.org>
Revision 1.193 / (download) - annotate - [select for diffs], Fri Aug 15 22:22:15 2008 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.192: +3 -3
lines
Diff to previous 1.192 (colored)
crank copyright
Revision 1.192 / (download) - annotate - [select for diffs], Fri Aug 8 07:30:42 2008 UTC (14 years, 9 months ago) by apb
Branch: MAIN
Changes since 1.191: +7 -5
lines
Diff to previous 1.191 (colored)
Don't bomb if we can't detect the top level obj directory name. Apparently there are things you can do in the environment or mk.conf to set your object directory in a way that the previous code couldn't detect. (This is an interim measure until we can properly detect and create the top level object directory in all cases.)
Revision 1.191 / (download) - annotate - [select for diffs], Tue Aug 5 22:35:32 2008 UTC (14 years, 10 months ago) by apb
Branch: MAIN
Changes since 1.190: +33 -6
lines
Diff to previous 1.190 (colored)
If neither -M nor -O was specified, but the source directory is /usr/src, then try to figure out what object directory would be chosen by bsd.obj.mk, and pre-create it.
Revision 1.190 / (download) - annotate - [select for diffs], Tue Aug 5 19:43:33 2008 UTC (14 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.189: +17 -6
lines
Diff to previous 1.189 (colored)
Builds now use "BUILDSEED" so that c++ binaries are reproduceable. By default BUILDSEED is set to NetBSD-{majorversion} -- a -S flag may be used to change it. Discussed on tech-toolchain.
Revision 1.189 / (download) - annotate - [select for diffs], Fri Jun 27 21:38:36 2008 UTC (14 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.188: +25 -4
lines
Diff to previous 1.188 (colored)
Make build.sh -C work as advertised.
Revision 1.188 / (download) - annotate - [select for diffs], Wed Apr 30 13:10:46 2008 UTC (15 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.187: +2 -9
lines
Diff to previous 1.187 (colored)
Convert TNF licenses to new 2 clause variant
Revision 1.187 / (download) - annotate - [select for diffs], Fri Mar 28 04:24:18 2008 UTC (15 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.186: +3 -3
lines
Diff to previous 1.186 (colored)
The phase of the build that -u prevents is "make cleandir", not merely "make clean"; adjust build.sh's usage message to reflect this.
Revision 1.186 / (download) - annotate - [select for diffs], Sun Mar 16 07:52:59 2008 UTC (15 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: matt-armv6-nbase,
keiichi-mipv6-base
Changes since 1.185: +11 -7
lines
Diff to previous 1.185 (colored)
Obtain RELEASEMACHINEDIR from the make environment. Display the path to the binary set dir upon completion of "sets".
Revision 1.185 / (download) - annotate - [select for diffs], Mon Feb 25 11:14:31 2008 UTC (15 years, 3 months ago) by apb
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.184: +36 -3
lines
Diff to previous 1.184 (colored)
* Installing as non-root is a bad idea. Print a warning in expert mode, or bomb in non-expert mode. * If a previous build.sh run with the -U (unprivileged) flag created a METALOG, then subsequent build.sh runs must also specify the -U flag. In expert mode, this is just a warning. * While I was here, changed spaces to tabs in one existing line.
Revision 1.184 / (download) - annotate - [select for diffs], Sun Feb 3 06:10:53 2008 UTC (15 years, 4 months ago) by matt
Branch: MAIN
Branch point for: keiichi-mipv6
Changes since 1.183: +3 -3
lines
Diff to previous 1.183 (colored)
sh5 is dead. sh[35]e[bl] -> sh3e[bl]
Revision 1.183 / (download) - annotate - [select for diffs], Fri Jan 18 09:45:05 2008 UTC (15 years, 4 months ago) by jmmv
Branch: MAIN
Changes since 1.182: +4 -4
lines
Diff to previous 1.182 (colored)
Add ofppc64 as a machine target for the tools alongside evbppc64 and macppc64 that are already there (even if not useful for anything else, AFAIK).
Revision 1.182 / (download) - annotate - [select for diffs], Wed Jan 9 11:25:58 2008 UTC (15 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.181: +3 -7
lines
Diff to previous 1.181 (colored)
Remove support for NetBSD/pc532.
Revision 1.181 / (download) - annotate - [select for diffs], Mon Dec 17 19:23:44 2007 UTC (15 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: pc532-eol-2008,
matt-armv6-base
Changes since 1.180: +3 -3
lines
Diff to previous 1.180 (colored)
Add rs6000 to this file so it can be easily cross-built.
Revision 1.180 / (download) - annotate - [select for diffs], Fri Nov 23 19:38:43 2007 UTC (15 years, 6 months ago) by jnemeth
Branch: MAIN
CVS Tags: cube-autoconf-base,
cube-autoconf
Changes since 1.179: +2 -3
lines
Diff to previous 1.179 (colored)
Delete mention of 'iso-dir=cdextras'. This was a leftover from the original implementation of cdextra as an operation instead of a being paramater.
Revision 1.179 / (download) - annotate - [select for diffs], Fri Nov 23 16:19:28 2007 UTC (15 years, 6 months ago) by sborrill
Branch: MAIN
Changes since 1.178: +5 -5
lines
Diff to previous 1.178 (colored)
Add support for CDBUILDEXTRA which acts like CDEXTRA to add extra items to the CD-ROM image. Make CDEXTRA and CDBUILDEXTRA be able to contain lists of files and directories which are added in turn. Add support for CDEXTRA_SKIP which contains a list of fnmatch(3) items to skip during the copy. This is _very_ useful for skipping CVS dirs for example. CDBUILDEXTRA and CDEXTRA_SKIP are to be used in Makefiles creating the images, CDEXTRA remains to be used from build.sh. Update documentation and build.sh help text to show that -C can be used to specify a list of files and directories rather than just a single dir.
Revision 1.178 / (download) - annotate - [select for diffs], Tue Nov 20 01:33:32 2007 UTC (15 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.177: +3 -3
lines
Diff to previous 1.177 (colored)
Indent.
Revision 1.177 / (download) - annotate - [select for diffs], Tue Nov 20 01:30:07 2007 UTC (15 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.176: +15 -10
lines
Diff to previous 1.176 (colored)
Sort variable definitions. No functional change expected.
Revision 1.176 / (download) - annotate - [select for diffs], Wed Oct 17 23:23:02 2007 UTC (15 years, 7 months ago) by garbled
Branch: MAIN
Changes since 1.175: +3 -3
lines
Diff to previous 1.175 (colored)
remove pmppc as a target
Revision 1.175 / (download) - annotate - [select for diffs], Tue Sep 18 12:57:37 2007 UTC (15 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.174: +3 -3
lines
Diff to previous 1.174 (colored)
Fix a tyop and align properly
Revision 1.174 / (download) - annotate - [select for diffs], Sat Sep 1 09:32:19 2007 UTC (15 years, 9 months ago) by jnemeth
Branch: MAIN
Changes since 1.173: +12 -20
lines
Diff to previous 1.173 (colored)
Convert build.sh iso-dir=directory option to -C cddir as per jmmv@ on source-changes.
Revision 1.173 / (download) - annotate - [select for diffs], Sat Sep 1 08:15:27 2007 UTC (15 years, 9 months ago) by jnemeth
Branch: MAIN
Changes since 1.172: +25 -3
lines
Diff to previous 1.172 (colored)
Add an iso-dir=directory option. When combined with iso-image or iso-image-source, it will cause directory to be added to the CD-ROM image.
Revision 1.172 / (download) - annotate - [select for diffs], Thu Aug 30 05:30:02 2007 UTC (15 years, 9 months ago) by jnemeth
Branch: MAIN
Changes since 1.171: +10 -4
lines
Diff to previous 1.171 (colored)
Add an iso-image-source option which does the same thing as iso-image but includes source sets as well. The infrastructure for this was already there, although it needed a bug fix. Will look at adding arbitrary directories next.
Revision 1.171 / (download) - annotate - [select for diffs], Tue Jun 26 12:59:38 2007 UTC (15 years, 11 months ago) by apb
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.170: +11 -11
lines
Diff to previous 1.170 (colored)
Move several variable initialisations to the beginning of initdefaults(). This should fix a bug reported by Valeriy E. Ushakov in which we called setmakevar() before instead of after initialising makeenv.
Revision 1.170 / (download) - annotate - [select for diffs], Sat Apr 14 10:50:48 2007 UTC (16 years, 1 month ago) by apb
Branch: MAIN
Changes since 1.169: +9 -5
lines
Diff to previous 1.169 (colored)
Fix some problems with the change from revision 1.167: * Allow "" or "." as the last component of PATH, but do not allow arbitrary single-character components. * Make a comment match the code.
Revision 1.169 / (download) - annotate - [select for diffs], Sun Apr 8 09:35:21 2007 UTC (16 years, 2 months ago) by scw
Branch: MAIN
Changes since 1.168: +2 -9
lines
Diff to previous 1.168 (colored)
Remove support for NetBSD/{,evb}sh5.
Revision 1.168 / (download) - annotate - [select for diffs], Sat Apr 7 14:49:40 2007 UTC (16 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.167: +81 -16
lines
Diff to previous 1.167 (colored)
Try not to rebuild nbmake so often: * Add a try_set_TOOLDIR function which tries to be clever about setting TOOLDIR if possible; * Call try_set_TOOLDIR from rebuildmake; * Add nobomb_getmakevar, which works like raw_getmakevar except never bombs; * Reimplement raw_getmakevar in terms of nobomb_getmakevar; * Add a second arg to find_in_PATH to control the result when the program cannot be found.
Revision 1.167 / (download) - annotate - [select for diffs], Thu Apr 5 10:02:10 2007 UTC (16 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.166: +4 -4
lines
Diff to previous 1.166 (colored)
Don't abort the build if teh last component of $PATH is .
Revision 1.166 / (download) - annotate - [select for diffs], Mon Apr 2 11:00:10 2007 UTC (16 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.165: +2 -3
lines
Diff to previous 1.165 (colored)
The "${progname} started: ${build_start}" message will appear in the "Summary of results", so don't print it again just before that.
Revision 1.165 / (download) - annotate - [select for diffs], Mon Apr 2 10:57:36 2007 UTC (16 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.164: +13 -6
lines
Diff to previous 1.164 (colored)
* Report the NetBSD version being built. * Report the host platform. * Print more of the initial messages in the same part of the code.
Revision 1.164 / (download) - annotate - [select for diffs], Sun Mar 25 12:36:01 2007 UTC (16 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.163: +4 -3
lines
Diff to previous 1.163 (colored)
s/PATH/PATH environment variable" in an error message.
Revision 1.163 / (download) - annotate - [select for diffs], Sun Mar 25 07:56:38 2007 UTC (16 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.162: +26 -2
lines
Diff to previous 1.162 (colored)
If the PATH contains any components that are not absolute directory names, print a message and abort. In expert mode, downgrade this error to a warning. Fixes PR 36048
Revision 1.162 / (download) - annotate - [select for diffs], Mon Feb 19 14:20:11 2007 UTC (16 years, 3 months ago) by briggs
Branch: MAIN
Changes since 1.161: +7 -3
lines
Diff to previous 1.161 (colored)
Don't treat -m evbarm like the other arm-based platforms. Set MACHINE_ARCH only if it's not already set. This prevents build.sh -m evbarm-eb from ending up with MACHINE_ARCH=arm instead of =armeb (since MACHINE is stripped of the -eb suffix just above).
Revision 1.161 / (download) - annotate - [select for diffs], Mon Feb 5 18:26:01 2007 UTC (16 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.160: +3 -3
lines
Diff to previous 1.160 (colored)
Whenever we try to parse the output from make, run make with the -B flag. This ensures that -j<N> isn't accidentally inherited from the environment, because the "--- foo ---" headers printed with -j<N> would interfere with parsing the output.
Revision 1.160 / (download) - annotate - [select for diffs], Mon Jan 29 00:08:13 2007 UTC (16 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.159: +8 -14
lines
Diff to previous 1.159 (colored)
Remove duplicate evbarm-e[bl] cases. Add evbppc64 and macppc64.
Revision 1.159 / (download) - annotate - [select for diffs], Sun Jan 28 20:15:44 2007 UTC (16 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.158: +14 -2
lines
Diff to previous 1.158 (colored)
Add evbarm-e[bl] machine aliases for evbarm/armeb and evbarm/arm, respectively.
Revision 1.158 / (download) - annotate - [select for diffs], Sat Jan 27 11:27:33 2007 UTC (16 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.157: +36 -20
lines
Diff to previous 1.157 (colored)
Add aliases evbarm-eb and evbarm-el, for consistency with several existing *-e[bl] aliases. build.sh -m MACHINE_ALIAS is (almost) equivalent to build.sh -m MACHINE -a MACHINE_ARCH.
Revision 1.157 / (download) - annotate - [select for diffs], Wed Jan 17 03:43:18 2007 UTC (16 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.156: +4 -2
lines
Diff to previous 1.156 (colored)
Added a friendly error message in case the user forgot to "build.sh tools".
Revision 1.156 / (download) - annotate - [select for diffs], Sun Jan 14 17:02:56 2007 UTC (16 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.155: +4 -4
lines
Diff to previous 1.155 (colored)
Only cd "$(dirname $0)" when usr.bin/make doesn't exist. This caused grief when I make my wrapper script source build.sh. I can also think of other times when it would be a PITA. Abort the build if make fails in raw_getmakevar() - as tends to happen when make itself is badly broken.
Revision 1.155 / (download) - annotate - [select for diffs], Sat Dec 16 02:59:33 2006 UTC (16 years, 5 months ago) by ober
Branch: MAIN
Changes since 1.154: +3 -3
lines
Diff to previous 1.154 (colored)
Updated to include the new Zaurus port for ARM. OK'd by gimpy
Revision 1.154 / (download) - annotate - [select for diffs], Sat Dec 9 20:13:13 2006 UTC (16 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.153: +4 -3
lines
Diff to previous 1.153 (colored)
Change the name of the host disklabel to nbdisklabel-${MAKEWRAPPERMACHINE}, where ${MAKEWRAPPERMACHINE} is the suffix XXX on the target's make wrapper, nbmake-XXX. Fixes toolchain/30673, "single arch host disklabel isn't enough".
Revision 1.153 / (download) - annotate - [select for diffs], Fri Sep 29 19:53:54 2006 UTC (16 years, 8 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.152: +101 -12
lines
Diff to previous 1.152 (colored)
Use ${HOST_SH} instead of the host system's /bin/sh wherever possible: * Try to guess a suitable value for HOST_SH, if it was not set in the environment. First try host-specific heuristics (Solaris has /usr/xpg4/bin/sh); then try to find the name of the shell that was used to run build.sh itself (by parsing the output from ps -p $$ -o comm); then fall back to "sh". * Having found a value for HOST_SH, copy it to BSHELL and CONFIG_SHELL. * Use ${HOST_SH} instead of /bin/sh when creating the make wrapper. * Use ${HOST_SH} instead of unqualified sh when running shell scripts.
Revision 1.152 / (download) - annotate - [select for diffs], Fri Sep 1 21:52:55 2006 UTC (16 years, 9 months ago) by uwe
Branch: MAIN
Changes since 1.151: +3 -3
lines
Diff to previous 1.151 (colored)
Recognize MACHINE=landisk (sh3el).
Revision 1.151 / (download) - annotate - [select for diffs], Sun Aug 27 05:05:05 2006 UTC (16 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.150: +3 -3
lines
Diff to previous 1.150 (colored)
When going from -m {evb,sb}mips64-e[bl] to MACHINE, make sure to remove 64-e[bl] so we wind up with just evbmips or sbmips.
Revision 1.150 / (download) - annotate - [select for diffs], Fri Aug 25 23:35:04 2006 UTC (16 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.149: +14 -4
lines
Diff to previous 1.149 (colored)
Add enough configury glue so that src/tools can build a N64 mips toolchain.
Revision 1.149 / (download) - annotate - [select for diffs], Wed Aug 9 22:13:12 2006 UTC (16 years, 9 months ago) by jnemeth
Branch: MAIN
Changes since 1.148: +3 -3
lines
Diff to previous 1.148 (colored)
PR/30842 -- compatibility issue with mksh from Thorsten Glaser
Revision 1.148 / (download) - annotate - [select for diffs], Thu Jun 22 20:00:18 2006 UTC (16 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.147: +6 -3
lines
Diff to previous 1.147 (colored)
preliminary support for powerpc64 toolchain: - allow "-m macppc/evbppc" to also take "-a powerpc64" to build a powerpc64 toolchain. XXX this may change, as an evbppc64 port may be required. XXX deal with that when we have some code...
Revision 1.147 / (download) - annotate - [select for diffs], Mon Jun 19 18:12:30 2006 UTC (16 years, 11 months ago) by dogcow
Branch: MAIN
Changes since 1.146: +4 -4
lines
Diff to previous 1.146 (colored)
Huzzah. /bin/pwd -P, instead of silently failing, now returns an error code on many linuces I've tried. If so, bail and invoke /bin/pwd sans argument.
Revision 1.146 / (download) - annotate - [select for diffs], Fri Feb 3 12:29:41 2006 UTC (17 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.145: +8 -2
lines
Diff to previous 1.145 (colored)
Fix the iso-image action. These changes were accidentally omitted from the previous commit.
Revision 1.145 / (download) - annotate - [select for diffs], Sat Jan 28 21:34:07 2006 UTC (17 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.144: +3 -3
lines
Diff to previous 1.144 (colored)
* Add an "iso-image" target in the top level Makefile, which invokes make iso-image in the etc directory. * Add an "iso-image" action in build.sh, which invokes make iso-image. * Document the above in doc/BUILDING.mdoc. * Re-generate BUILDING. Approved by christos
Revision 1.144 / (download) - annotate - [select for diffs], Sun Jan 8 11:03:40 2006 UTC (17 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.143: +8 -7
lines
Diff to previous 1.143 (colored)
Use separate invocations of make for cleandir dependall and install of tools so that a parallel make doesn't start running dependall before cleandir has finished. Unfortunately make doesn't support .WAIT on the command line :-(
Revision 1.143 / (download) - annotate - [select for diffs], Sat Jan 7 18:45:15 2006 UTC (17 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.142: +6 -6
lines
Diff to previous 1.142 (colored)
Use parallel makes more often.
Revision 1.142 / (download) - annotate - [select for diffs], Wed Jan 4 15:31:40 2006 UTC (17 years, 5 months ago) by apb
Branch: MAIN
Changes since 1.141: +7 -5
lines
Diff to previous 1.141 (colored)
Add a new "syspkgs" target, which simply chains to the "syspkgs" target in the top level Makefile. Reviewed by agc
Revision 1.141 / (download) - annotate - [select for diffs], Thu Dec 29 15:38:54 2005 UTC (17 years, 5 months ago) by tsutsui
Branch: MAIN
Changes since 1.140: +3 -3
lines
Diff to previous 1.140 (colored)
Add ews4800mips to mipseb ports. Build for ews4800mips might fail (yet), but please don't complain for now.
Revision 1.140 / (download) - annotate - [select for diffs], Mon Dec 12 04:51:55 2005 UTC (17 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.139: +3 -2
lines
Diff to previous 1.139 (colored)
Nuke LESSCHARSET as well since it affects the output character set of groff
Revision 1.139 / (download) - annotate - [select for diffs], Sun Sep 25 05:34:21 2005 UTC (17 years, 8 months ago) by isaki
Branch: MAIN
Changes since 1.138: +4 -4
lines
Diff to previous 1.138 (colored)
It needs the braceexpand option for PD KSH, regardless of whether the host system is OpenBSD. from Wim Lewis. reviewed by sjg@.
Revision 1.138 / (download) - annotate - [select for diffs], Wed Aug 17 07:13:32 2005 UTC (17 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.137: +4 -4
lines
Diff to previous 1.137 (colored)
Initial pass at an in-tree ia64 toolchain. From PR 29141 with some fixes from me.
Revision 1.137 / (download) - annotate - [select for diffs], Sun May 29 10:54:40 2005 UTC (18 years ago) by bouyer
Branch: MAIN
Changes since 1.136: +2 -15
lines
Diff to previous 1.136 (colored)
Remove support for build.sh -m xen, this has been merged in the i386 build. Pointed out by Chuck Silvers.
Revision 1.136 / (download) - annotate - [select for diffs], Thu May 19 01:37:30 2005 UTC (18 years ago) by lukem
Branch: MAIN
Changes since 1.135: +9 -4
lines
Diff to previous 1.135 (colored)
Unset INFODIR in the makewrapper. Should fix a build problem observed when installing .info files when the build user's environment has INFODIR set.
Revision 1.135 / (download) - annotate - [select for diffs], Sat Mar 26 06:02:13 2005 UTC (18 years, 2 months ago) by isaki
Branch: MAIN
Changes since 1.134: +8 -2
lines
Diff to previous 1.134 (colored)
Avoid the brace expansion on OpenBSD. approved by sjg@.
Revision 1.134 / (download) - annotate - [select for diffs], Wed Oct 13 23:28:34 2004 UTC (18 years, 7 months ago) by gavan
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.133: +3 -3
lines
Diff to previous 1.133 (colored)
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.
Revision 1.133 / (download) - annotate - [select for diffs], Mon Oct 11 06:18:38 2004 UTC (18 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.132: +0 -9
lines
Diff to previous 1.132 (colored)
Backout previous on request from mrg - it breaks cross compilation for sparc64. Matt will recommit a fixed version later.
Revision 1.132 / (download) - annotate - [select for diffs], Sat Oct 9 20:38:01 2004 UTC (18 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.131: +11 -2
lines
Diff to previous 1.131 (colored)
add new ${uname_p} (as `uname -p`). set ${arches} to "sparc64 sparc" for MACHINE=sparc64. for 32 bit sparc64 host, default to building 32 bit world (same as native).
Revision 1.131 / (download) - annotate - [select for diffs], Tue Aug 17 14:00:30 2004 UTC (18 years, 9 months ago) by junyoung
Branch: MAIN
Changes since 1.130: +8 -3
lines
Diff to previous 1.130 (colored)
Remove trailing / in pathname. From Alan Barrett. See tech-toolchain@ for related discussion.
Revision 1.130 / (download) - annotate - [select for diffs], Fri Jul 2 04:25:24 2004 UTC (18 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.129: +4 -3
lines
Diff to previous 1.129 (colored)
Add a change requested in PR#15548 and append the args passed to build.sh into the comments in the make wrapper.
Revision 1.129 / (download) - annotate - [select for diffs], Fri Jun 25 15:03:39 2004 UTC (18 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.128: +3 -2
lines
Diff to previous 1.128 (colored)
Document -h. From Karsten Kruse in PR 25974.
Revision 1.128 / (download) - annotate - [select for diffs], Wed May 12 16:56:41 2004 UTC (19 years ago) by cl
Branch: MAIN
Changes since 1.127: +15 -2
lines
Diff to previous 1.127 (colored)
``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen for i386. The resulting release consists of: - NetBSD/xen for i386 kernel, loader and docuemntation - NetBSD/i386 userland sets
Revision 1.127 / (download) - annotate - [select for diffs], Fri Feb 6 23:19:30 2004 UTC (19 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.126: +18 -6
lines
Diff to previous 1.126 (colored)
Add -x set MKX11=yes -X x11src set X11SRCDIR to x11src
Revision 1.126 / (download) - annotate - [select for diffs], Wed Feb 4 11:23:40 2004 UTC (19 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.125: +4 -4
lines
Diff to previous 1.125 (colored)
highlight that the noisyless level is the MAKEVERBOSE level
Revision 1.125 / (download) - annotate - [select for diffs], Fri Nov 14 12:38:12 2003 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.124: +40 -32
lines
Diff to previous 1.124 (colored)
tweak usage message. when performing "sets", highlight that DESTDIR should be pre-populated. suggested by glen mccready.
Revision 1.124 / (download) - annotate - [select for diffs], Wed Nov 12 15:51:45 2003 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.123: +6 -6
lines
Diff to previous 1.123 (colored)
Now that MKUPDATE and MKUNPRIVED are "normalized" with getmakevar(), test with "${MKxxx}" = "no" instead of -z "${MKxxx}" Ignore errors when running pwd -P. (GNU coreutils incorrectly complains) Both problems pointed out in private email from Christian Limpach.
Revision 1.123 / (download) - annotate - [select for diffs], Fri Oct 31 01:46:39 2003 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.122: +3 -7
lines
Diff to previous 1.122 (colored)
Always use `/bin/pwd -P` to get the "TOP" of the source tree, so that MAKEOBJDIR (and other parameters) work correctly with symlinks, amd(8), etc. Should fix PR [bin/23313], and possibly others.
Revision 1.122 / (download) - annotate - [select for diffs], Sun Oct 26 03:12:21 2003 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.121: +4 -2
lines
Diff to previous 1.121 (colored)
Explain why make is being rebuilt. Patch from Hubert Feyrer in [toolchain/23156].
Revision 1.121 / (download) - annotate - [select for diffs], Sun Oct 26 02:17:46 2003 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.120: +4 -7
lines
Diff to previous 1.120 (colored)
Improve how build.sh -N and MAKEVERBOSE interoperate; rather than adding '-s' to make's command line in the makewrapper, use the .SILENT target based on MAKEVERBOSE's value. This means that you can do: ./build.sh -N 1 makewrapper $TOOLDIR/bin/nbmake-$MACHINE # runs at MAKEVERBOSE==1, with command lines suppressed $TOOLDIR/bin/nbmake-$MACHINE MAKEVERBOSE=2 # runs at MAKEVERBOSE==2 for this invocation, with command lines shown
Revision 1.120 / (download) - annotate - [select for diffs], Sun Oct 26 02:00:37 2003 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.119: +10 -2
lines
Diff to previous 1.119 (colored)
"Normalise" MKOBJDIRS MKUPDATE MKUNPRIVED with getmakevar() before trying to use them internally to build.sh. Fixes issue where build.sh would run "make cleandir" if MKUPDATE=yes was set in mk.conf and -u wasn't given to build.sh.
Revision 1.119 / (download) - annotate - [select for diffs], Sat Oct 25 03:46:09 2003 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.118: +29 -9
lines
Diff to previous 1.118 (colored)
Implement build -N noisy, which sets MAKEVERBOSE to noisy and adds `-s' to MAKEFLAGS for noisy < 2.
Revision 1.118 / (download) - annotate - [select for diffs], Sun Oct 19 03:37:36 2003 UTC (19 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.117: +3 -3
lines
Diff to previous 1.117 (colored)
Teach build.sh about the ibmnws port.
Revision 1.117 / (download) - annotate - [select for diffs], Wed Sep 24 00:24:53 2003 UTC (19 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.116: +2 -3
lines
Diff to previous 1.116 (colored)
Revert part of previous commit and do NOT explicitly set BSDSRCDIR in the makewrapper, as doing so can break various builds. (Setting NETBSDSRCDIR isn't strictly necessary either, but AFAICT, it shouldn't hurt)
Revision 1.116 / (download) - annotate - [select for diffs], Sat Sep 20 10:14:41 2003 UTC (19 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.115: +7 -2
lines
Diff to previous 1.115 (colored)
Set BSDSRCDIR and NETBSDSRCDIR in the make wrapper, so we always get the right source directories (in case they are defined in mk.conf using '?=').
Revision 1.115 / (download) - annotate - [select for diffs], Wed Sep 10 18:05:52 2003 UTC (19 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.114: +3 -3
lines
Diff to previous 1.114 (colored)
Pass '-de' to make(1) to get the expected behavior ("failed target" and "failed command" messages).
Revision 1.114 / (download) - annotate - [select for diffs], Sat Aug 16 11:46:44 2003 UTC (19 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.113: +3 -3
lines
Diff to previous 1.113 (colored)
in getkernelconf(), remove check for non-empty $makeobjdir, as it's not performed elsewhere in similar code, and causes problems if you run "kernel=" without an operation that performs "make obj" in sys/ beforehand.
Revision 1.113 / (download) - annotate - [select for diffs], Mon Aug 11 19:26:04 2003 UTC (19 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.112: +3 -3
lines
Diff to previous 1.112 (colored)
Fix 2 remaining places items are depending on execute permissions coming out from a cvs checkout on scripts.
Revision 1.112 / (download) - annotate - [select for diffs], Sun Aug 10 16:20:37 2003 UTC (19 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.111: +4 -3
lines
Diff to previous 1.111 (colored)
Improve usage for -U so others won't make the mistake I just made.
Revision 1.111 / (download) - annotate - [select for diffs], Tue Jul 29 10:07:15 2003 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.110: +27 -6
lines
Diff to previous 1.110 (colored)
Add build.sh -Z var, to unset a variable and ensure it's unset in makewrapper. For -M MAKEOBJDIRPREFIX, unset MAKEOBJDIR. For -O MAKEOBJDIR, unset MAKEOBJDIRPREFIX.
Revision 1.110 / (download) - annotate - [select for diffs], Mon Jul 28 12:33:42 2003 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.109: +3 -4
lines
Diff to previous 1.109 (colored)
Add missing "cd ${TOP}" to buildtools(). Problem identified by John Nemeth in private mail. Remove some debugging messages that crept in a little while ago.
Revision 1.109 / (download) - annotate - [select for diffs], Sun Jul 20 09:26:49 2003 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.108: +16 -24
lines
Diff to previous 1.108 (colored)
* set & export LC_ALL=C, so that end-user use of non `C' LC_COLLATE locales won't cause expressions such as `echo [0-9a-z]*` to match "CVS" * add getmakeenv(var, value), and use appropriatly.
Revision 1.108 / (download) - annotate - [select for diffs], Fri Jul 18 08:30:07 2003 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.107: +14 -14
lines
Diff to previous 1.107 (colored)
Replace UNPRIVED=yes with MKUNPRIVED=yes. Replace UPDATE=yes with MKUPDATE=yes.
Revision 1.107 / (download) - annotate - [select for diffs], Wed Jul 16 13:21:47 2003 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.106: +6 -4
lines
Diff to previous 1.106 (colored)
add "params" operation
Revision 1.106 / (download) - annotate - [select for diffs], Mon May 26 06:35:17 2003 UTC (20 years ago) by lukem
Branch: MAIN
Changes since 1.105: +16 -14
lines
Diff to previous 1.105 (colored)
Broaden the scope of when "make obj NOSUBDIR=" will be run in tools/ to be at any time that build.sh is run without -o, because we need the objdir of the top-level to exist if build.sh is going to provide a default DESTDIR/RELEASEDIR, and with the previous code, if MAKEOBJDIRPREFIX was used and the objdir of the source tree didn't exist, build.sh would incorrectly determine the DESTDIR. (mmm, obscure bugs).
Revision 1.105 / (download) - annotate - [select for diffs], Sun May 25 12:34:27 2003 UTC (20 years ago) by lukem
Branch: MAIN
Changes since 1.104: +80 -47
lines
Diff to previous 1.104 (colored)
all: * add "releasekernel=conf", to install a gzipped copy of the kernels built by "kernel=conf" to RELEASEDIR/MACHINE/binary/kernel build.sh: * be more consistent in various status messages * move the {release,}kernel=conf conf parsing code into getkernelconf() and use in both buildkernel() and releasekernel() * only warn once when building multiple kernels without updating the tools
Revision 1.104 / (download) - annotate - [select for diffs], Sun May 18 10:57:11 2003 UTC (20 years ago) by lukem
Branch: MAIN
Changes since 1.103: +4 -2
lines
Diff to previous 1.103 (colored)
* Display the start time again just before the end time, to make it easier to work out how long things took. Suggested by Alistair Crooks. * Explicitly display the makewrapper path
Revision 1.103 / (download) - annotate - [select for diffs], Sat May 17 07:52:52 2003 UTC (20 years ago) by lukem
Branch: MAIN
Changes since 1.102: +12 -3
lines
Diff to previous 1.102 (colored)
Change evbsh3 to be like evbmips, in that a default MACHINE_ARCH won't be provided for a MACHINE of "evbsh3"; the user has to explicitly use "evbsh3-eb" or "evbsh3-el"
Revision 1.102 / (download) - annotate - [select for diffs], Mon May 12 03:01:16 2003 UTC (20 years ago) by lukem
Branch: MAIN
Changes since 1.101: +7 -5
lines
Diff to previous 1.101 (colored)
* Display default DESTDIR & RELEASEDIR. (Well, they're actually in the .OBJDIR of the top of the source tree, but expressing that in 1 line or less starts to get complicated). Requested by Hubert. * When using a -el or -eb MACHINE "shortcut", use that original value as the MACHINE for the default makewrapper filename. Requested by Simon.
Revision 1.101 / (download) - annotate - [select for diffs], Mon May 12 02:33:17 2003 UTC (20 years ago) by lukem
Branch: MAIN
Changes since 1.100: +16 -5
lines
Diff to previous 1.100 (colored)
* Add support for MACHINEs: evbmips-eb evbmips-el sbmips-eb sbmips-el which sets the appropriate MACHINE_ARCH and rewrites MACHINE to lose the -e[bl] suffix. * Don't default to a MACHINE_ARCH for evbmips or sbmips. Per discussion wth Simon Burge.
Revision 1.100 / (download) - annotate - [select for diffs], Sat May 10 07:12:37 2003 UTC (20 years ago) by lukem
Branch: MAIN
Changes since 1.99: +7 -5
lines
Diff to previous 1.99 (colored)
Add "sourcesets" argument/target, which builds source sets into RELEASEDIR/source/sets
Revision 1.99 / (download) - annotate - [select for diffs], Fri May 9 09:10:06 2003 UTC (20 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.98: +4 -3
lines
Diff to previous 1.98 (colored)
When providing a default DESTDIR & RELEASEDIR in non-expert mode, add these to makeenv so that the generated makewrapper contains these settings...
Revision 1.98 / (download) - annotate - [select for diffs], Thu May 8 14:19:39 2003 UTC (20 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.97: +323 -258
lines
Diff to previous 1.97 (colored)
New features: * If not expert mode, provide defaults for: DESTDIR /top/of/obj/destdir.${MACHINE} RELEASEDIR /top/of/obj/releasedir * Collate the various status messages output during the run and display them at the end in a "summary report". * Cross-check the validity of MACHINE against MACHINE_ARCH. Fixes PR [toolchain/20193] from David Maxwell. * Highlight that the tools will be rebuilt if UPDATE isn't set. * Add stronger language recommending against -E unless you * Improve whitespace use in usage() Code stuff: * Be consistent about using "${var}" * Be more consistent how [ tests ] are run * Improve some comments * Rename getmakevar() to raw_getmakevar() * Rename safe_getmakevar() to getmakevar() * cd back to ${TOP} after a kernel build. * Always keep the tmpdir around for the build (it's where the status messages are collated, for one).
Revision 1.97 / (download) - annotate - [select for diffs], Thu May 8 12:49:45 2003 UTC (20 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.96: +3 -3
lines
Diff to previous 1.96 (colored)
CYGWIN needs -X too (John Gordon)
Revision 1.96 / (download) - annotate - [select for diffs], Sat Apr 26 18:42:34 2003 UTC (20 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.95: +6 -3
lines
Diff to previous 1.95 (colored)
Adapt for x86_64 -> amd64 rename.
Revision 1.95 / (download) - annotate - [select for diffs], Fri Mar 14 05:22:50 2003 UTC (20 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.94: +12 -3
lines
Diff to previous 1.94 (colored)
Put -X into MAKEFLAGS on FreeBSD and Mac OS X; they have a small ARG_MAX.
Revision 1.94 / (download) - annotate - [select for diffs], Fri Mar 7 01:22:16 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.93: +2 -3
lines
Diff to previous 1.93 (colored)
remove unnecessary message
Revision 1.93 / (download) - annotate - [select for diffs], Tue Mar 4 02:20:28 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.92: +10 -9
lines
Diff to previous 1.92 (colored)
don't print the command & start time until after the options are parsed...
Revision 1.92 / (download) - annotate - [select for diffs], Tue Feb 18 23:59:06 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.91: +9 -2
lines
Diff to previous 1.91 (colored)
Display the build.sh command line and the start & end times. Based on suggestion from Andrew Brown <atatat@netbsd.org>.
Revision 1.91 / (download) - annotate - [select for diffs], Sun Feb 16 04:35:03 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.90: +12 -4
lines
Diff to previous 1.90 (colored)
Enhance "kernel=" to print pathnames of newly built kernels for cut & paste. (Previously we just printed the build directory.)
Revision 1.90 / (download) - annotate - [select for diffs], Thu Feb 6 22:19:06 2003 UTC (20 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.89: +4 -3
lines
Diff to previous 1.89 (colored)
Consistently, don't expand ${MACHINE} in help message.
Revision 1.89 / (download) - annotate - [select for diffs], Fri Jan 31 01:38:35 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.88: +3 -3
lines
Diff to previous 1.88 (colored)
another DESTDIR clarification
Revision 1.88 / (download) - annotate - [select for diffs], Sun Jan 26 13:12:05 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.87: +3 -2
lines
Diff to previous 1.87 (colored)
add missing usage for "sets"
Revision 1.87 / (download) - annotate - [select for diffs], Sun Jan 26 06:19:12 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.86: +10 -4
lines
Diff to previous 1.86 (colored)
- Add "sets" top-level Makefile target and build.sh operation. [Latter suggested by Julio Merino in private email] - Add "help" build.sh operation.
Revision 1.86 / (download) - annotate - [select for diffs], Sun Jan 26 05:34:32 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.85: +31 -16
lines
Diff to previous 1.85 (colored)
Change build.sh so that at least one operation is required. Add "makewrapper" operation to build.sh. [The above changes were suggested by Alan Barrett on current-users@] Fail if building as non-root unless: UNPRIVED is set, -U is given, or -E (expert mode) is given. [Suggested by James Wetterau in private email] Improve the examples in BUILDING.
Revision 1.85 / (download) - annotate - [select for diffs], Fri Jan 24 01:17:52 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.84: +7 -7
lines
Diff to previous 1.84 (colored)
Can't check if cross building with "install=" until after $MACHINE has been validated. Noted by Anthony Mallet on current-users@
Revision 1.84 / (download) - annotate - [select for diffs], Thu Jan 23 16:24:08 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.83: +687 -450
lines
Diff to previous 1.83 (colored)
Rework how build.sh functions, so that command line options set various parameters, and a list of "operations" defines what to do. The full usage is show below. Notes: `-b' has been deprecated (it always occurs now) `-d' is replaced by "distribution" `-R rel' onlys sets RELEASEDIR; use "release" to build a release `-k kern' has been replaced by "kernel=kern" `-i idir' has been replaced by "install=idir" -r now occurs before nbmake is rebuilt Add a copyright (long due!). Rework the code to (a KNF inspired) ShellNF. Use functions appropriately. Allow `nb' prefix to be easily changed to something else. Solve world peace (just kidding) This is part of the (never achievable) goal of attempting to make NetBSD easier to build... --8<-- new usage follows --8<-- Usage: build.sh [-EnorUu] [-a arch] [-B buildid] [-D dest] [-j njob] [-M obj] [-m mach] [-O obj] [-R release] [-T tools] [-V var=[value]] [-w wrapper] [operation [...] ] System build operations (all imply "obj" and "tools"): build Run "make build" distribution Run "make distribution" (includes etc/ files) release Run "make release" (includes kernels & distrib media) Other operations: obj Run "make obj" (default unless -o) tools Build and install tools kernel=conf Build kernel with config file `conf' install=idir Run "make installworld" to `idir' (useful after 'distribution' or 'release') Options: -a arch Set MACHINE_ARCH to arch (otherwise deduced from MACHINE) -B buildId Set BUILDID to buildId -D dest Set DESTDIR to dest -E Set "expert" mode; disables some DESTDIR checks -j njob Run up to njob jobs in parallel; see make(1) -M obj Set obj root directory to obj (sets MAKEOBJDIRPREFIX) -m mach Set MACHINE to mach (not required if NetBSD native) -n Show commands that would be executed, but do not execute them -O obj Set obj root directory to obj (sets a MAKEOBJDIR pattern) -o Set MKOBJDIRS=no (do not create objdirs at start of build) -R release Set RELEASEDIR to release -r Remove contents of TOOLDIR and DESTDIR before building -T tools Set TOOLDIR to tools. If unset, and TOOLDIR is not set in the environment, nbmake will be (re)built unconditionally. -U Set UNPRIVED -u Set UPDATE -V v=[val] Set variable `v' to `val' -w wrapper Create nbmake script as wrapper (default: ${TOOLDIR}/bin/nbmake-${MACHINE})
Revision 1.83 / (download) - annotate - [select for diffs], Wed Jan 22 11:26:11 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.82: +33 -29
lines
Diff to previous 1.82 (colored)
reorder usage so that "mutually exclusive build" operations are listed separately from "set variable" operations, in an attempt to make build.sh easier to use
Revision 1.82 / (download) - annotate - [select for diffs], Wed Jan 15 01:49:03 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.81: +43 -39
lines
Diff to previous 1.81 (colored)
Improvements from Alan Barrett (in private email), with minor tweaking: (Thanks Alan!) * Before attempting to use KERNOBJDIR, we now need to "make obj" in ${KERNSRCDIR}/${KERNARCHDIR}/compile, not in ${TOP}/etc as used to be the case. * Fix one place where getmakevar was invoked unconditionally. It needs to be conditional on $runcmd != "echo", so that we can rely on the existence of the new $make executable. * Add a sanity check to getmakevar, to bomb if a similar error is introduced in the future. * Changed the bomb function to print to stderr instead of to stdout, and to kill the top level shell process. Without this, an attempted bomb from inside getmakevar did not work properly. * Moved some duplicated code into a new safe_getmakevar function, which calls getmakevar if that is safe, or else emits a literal '$' followed by the variable name. Improvements from me: * Always 'trap "exit 1" 1 2 3 15', so the kill in bomb() doesn't cause ugly output.
Revision 1.81 / (download) - annotate - [select for diffs], Sat Jan 4 14:55:44 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.80: +10 -9
lines
Diff to previous 1.80 (colored)
improve usage
Revision 1.80 / (download) - annotate - [select for diffs], Sat Jan 4 12:55:32 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.79: +23 -6
lines
Diff to previous 1.79 (colored)
Add "-V var=[value]", for setting arbitrary variables which will also be added to the nbmake-${MACHINE} wrapper. Useful for setting RELEASEDIR, without -R's habit of building a release.
Revision 1.79 / (download) - annotate - [select for diffs], Thu Jan 2 23:11:07 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.78: +38 -27
lines
Diff to previous 1.78 (colored)
some cleanups and tweaks to my preferred "sh KNF" (SNF ? :)
Revision 1.78 / (download) - annotate - [select for diffs], Thu Jan 2 05:11:12 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.77: +4 -2
lines
Diff to previous 1.77 (colored)
cd `dirname $0` so that this runs from the directory that build.sh is in. Per discussion with Andrew Brown.
Revision 1.77 / (download) - annotate - [select for diffs], Wed Dec 25 00:42:50 2002 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.76: +30 -10
lines
Diff to previous 1.76 (colored)
- Implement "-i installworlddir", which runs make INSTALLWORLDDIR=installworlddir installworld after every other operation has completed. If you want to run this target without rebuilding, use -b as well... - Cache the output of `uname -s` and `uname -m` for future use.
Revision 1.76 / (download) - annotate - [select for diffs], Mon Dec 9 12:49:55 2002 UTC (20 years, 5 months ago) by scw
Branch: MAIN
Changes since 1.75: +3 -3
lines
Diff to previous 1.75 (colored)
The walnut port has been subsumed by evbppc.
Revision 1.75 / (download) - annotate - [select for diffs], Mon Dec 9 03:13:41 2002 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.74: +3 -3
lines
Diff to previous 1.74 (colored)
improve message. suggestion from Scott Reynolds
Revision 1.74 / (download) - annotate - [select for diffs], Sun Dec 8 22:14:00 2002 UTC (20 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.73: +16 -6
lines
Diff to previous 1.73 (colored)
Add -E - "expert mode". If this is not specified, builds to DESTDIR=/ are not permitted. By using this flag, you are taking responsibility for any issues that may occur because of this...
Revision 1.73 / (download) - annotate - [select for diffs], Sun Dec 8 08:42:51 2002 UTC (20 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.72: +31 -31
lines
Diff to previous 1.72 (colored)
- be consistent about option ordering in build.sh usage display - use Fl and Ar instead of Sy and Em to format options
Revision 1.72 / (download) - annotate - [select for diffs], Sun Nov 17 12:59:37 2002 UTC (20 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.71: +79 -39
lines
Diff to previous 1.71 (colored)
Apply fixes & enhancements from Alan Barrett. (Thanks Alan!) * When building a kernel with the -k option, make obj in $TOP/etc to ensure that the correct KERNOBJDIR is created and used. Previously, KERNOBJDIR could sometimes be an objdir outside the source tree and sometimes $TOP/sys/arch/$ARCH/compile inside the source tree, depending on whether or not a complete build had beed done before the kernel build. * Renamed KERNCONFNAME to kernconfname, for consistency with what seems to be a convention that variables local to build.sh (as opposed to make or environment variables) have lowercase names. * Renamed the do_buildonlytools and do_buildonlykernel variables to do_buildtools and do_buildkernel, because the word "only" is no longer appropriate now that more than one of them can be active simultaneously. * Changed a few '|| exit 1' tests to '|| bomb "message"', and added a few more similar tests. * Changed all 'echo "===> ..."' to use $runcmd, and added a few more similar echos. Previously, some used $runcmd and some did not.
Revision 1.71 / (download) - annotate - [select for diffs], Tue Nov 5 01:53:58 2002 UTC (20 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.70: +4 -4
lines
Diff to previous 1.70 (colored)
In the function usage(), - The -n and -t option was missing in sample command line. - Indent the description of -r option correctly. - Use `basename $0` instead of $0.
Revision 1.70 / (download) - annotate - [select for diffs], Sun Oct 20 15:48:01 2002 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.69: +85 -37
lines
Diff to previous 1.69 (colored)
- Add support for ./build.sh -k kern, which configures and builds the named kernel using the $TOOLDIR toolchain. If kern doesn't contain `/', it will be searched for in ${KERNCONFDIR} (typically, sys/arch/${MACHINE}/conf). - Improve ./build.sh usage. - Add some examples to the documentation. This is heavily based on [toolchain/18739] from Alan Barrett <apb@cequrux.com>, with improvements by me.
Revision 1.69 / (download) - annotate - [select for diffs], Wed Oct 2 16:57:29 2002 UTC (20 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.68: +6 -3
lines
Diff to previous 1.68 (colored)
Add sh5 cases.
Revision 1.68 / (download) - annotate - [select for diffs], Wed Sep 18 15:20:53 2002 UTC (20 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +10 -8
lines
Diff to previous 1.67 (colored)
Remove USE_NEW_TOOLCHAIN, replacing it with similar logic using TOOLCHAIN_MISSING and EXTERNAL_TOOLCHAIN.
Revision 1.67 / (download) - annotate - [select for diffs], Fri Sep 13 23:27:13 2002 UTC (20 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +19 -10
lines
Diff to previous 1.66 (colored)
* Use /usr/bin/env to invoke the real interpreter. This allows us to get the POSIX shell on more systems. * Deal with a broken "pwd" on Solaris (suggested by Christos).
Revision 1.66 / (download) - annotate - [select for diffs], Fri Sep 13 22:17:04 2002 UTC (20 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.65: +3 -5
lines
Diff to previous 1.65 (colored)
Back out previous; I'll figure out another way.
Revision 1.65 / (download) - annotate - [select for diffs], Fri Sep 13 18:36:01 2002 UTC (20 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.64: +5 -3
lines
Diff to previous 1.64 (colored)
Use /bin/test explicitly in one place, rather than [ or test (which might be a shell built-in). This allows this script to work otherwise unchanged with Solaris 8's /bin/sh.
Revision 1.64 / (download) - annotate - [select for diffs], Tue Sep 3 22:03:48 2002 UTC (20 years, 9 months ago) by bjh21
Branch: MAIN
Changes since 1.63: +6 -2
lines
Diff to previous 1.63 (colored)
Unset PWD so that pwd is guaranteed to return a physical path. This fixes PR 17313. Thanks to Ian Dall for providing the fix.
Revision 1.63 / (download) - annotate - [select for diffs], Tue Jul 9 06:36:16 2002 UTC (20 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.62: +3 -3
lines
Diff to previous 1.62 (colored)
fix pasto in error message reported by Andrew Freedman in toolchain/17530
Revision 1.62 / (download) - annotate - [select for diffs], Mon Jun 10 14:08:05 2002 UTC (20 years, 11 months ago) by fredette
Branch: MAIN
Changes since 1.61: +6 -3
lines
Diff to previous 1.61 (colored)
Add hppa as a supported MACHINE_ARCH.
Revision 1.61 / (download) - annotate - [select for diffs], Wed Jun 5 06:27:10 2002 UTC (21 years ago) by augustss
Branch: MAIN
Changes since 1.60: +3 -3
lines
Diff to previous 1.60 (colored)
Remove redundant pattern in case.
Revision 1.60 / (download) - annotate - [select for diffs], Wed Jun 5 02:32:15 2002 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
Allow ns32k.
Revision 1.59 / (download) - annotate - [select for diffs], Fri May 24 14:43:31 2002 UTC (21 years ago) by msaitoh
Branch: MAIN
Changes since 1.58: +3 -3
lines
Diff to previous 1.58 (colored)
add armeb as valid MACHINE_ARCH
Revision 1.58 / (download) - annotate - [select for diffs], Mon May 13 01:44:34 2002 UTC (21 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.57: +11 -5
lines
Diff to previous 1.57 (colored)
add "-M makeobjdirprefix" to build.sh
Revision 1.57 / (download) - annotate - [select for diffs], Thu May 2 22:13:31 2002 UTC (21 years, 1 month ago) by sommerfeld
Branch: MAIN
Changes since 1.56: +6 -6
lines
Diff to previous 1.56 (colored)
Correct BUGS in BUILDING.mdoc now that most ports are USE_NEW_TOOLCHAIN Obsolete NBUILDJOBS; build.sh just passes -jN through to make(1), which inherits it cooperatively through the build tree. Fix documentation so that it's shown to be deprecated. If you use build -jN, please save full build logs so that errors due to missing dependancies can be analyzed and corrected.
Revision 1.56 / (download) - annotate - [select for diffs], Thu Apr 18 01:38:11 2002 UTC (21 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.55: +3 -2
lines
Diff to previous 1.55 (colored)
Bomb if share/mk/bsd.own.mk is missing.
Revision 1.55 / (download) - annotate - [select for diffs], Tue Apr 2 16:34:49 2002 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +3 -6
lines
Diff to previous 1.54 (colored)
Switch remaining ARM ports (acorn32, cats, shark) to ELF.
Revision 1.54 / (download) - annotate - [select for diffs], Sun Mar 24 22:21:41 2002 UTC (21 years, 2 months ago) by bjh21
Branch: MAIN
Changes since 1.53: +3 -3
lines
Diff to previous 1.53 (colored)
Rename arm26 -> acorn26.
Revision 1.53 / (download) - annotate - [select for diffs], Thu Mar 21 10:54:50 2002 UTC (21 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.52: +39 -29
lines
Diff to previous 1.52 (colored)
Crank up robustness.
Revision 1.52 / (download) - annotate - [select for diffs], Thu Mar 14 18:33:04 2002 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +15 -5
lines
Diff to previous 1.51 (colored)
Add a -B option to set the BUILDID for the build. This also causes the make(1) wrapper script to be named "nbmake-MACHINE-BUILDID".
Revision 1.51 / (download) - annotate - [select for diffs], Thu Mar 7 14:59:04 2002 UTC (21 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.50: +3 -3
lines
Diff to previous 1.50 (colored)
Add evbmips. XXX: This is hard-coded to little-endian here, but there's not reason for some this. The MALTA can be used with either-endianness.
Revision 1.50 / (download) - annotate - [select for diffs], Wed Mar 6 23:32:52 2002 UTC (21 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.49: +3 -3
lines
Diff to previous 1.49 (colored)
Add sbmips.
Revision 1.49 / (download) - annotate - [select for diffs], Sat Mar 2 03:51:02 2002 UTC (21 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.48: +4 -20
lines
Diff to previous 1.48 (colored)
Nuke my "mkdirp" hack. "mkdir -p" is used so liberally throughout the tree that the hack is just a maintenance annoyance here.
Revision 1.48 / (download) - annotate - [select for diffs], Sat Mar 2 02:09:18 2002 UTC (21 years, 3 months ago) by mjl
Branch: MAIN
Changes since 1.47: +3 -3
lines
Diff to previous 1.47 (colored)
powerpc is a valid MACHINE_ARCH too.
Revision 1.47 / (download) - annotate - [select for diffs], Fri Mar 1 21:06:40 2002 UTC (21 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.46: +13 -2
lines
Diff to previous 1.46 (colored)
Related to PR toolchain/15780, sanity check MACHINE_ARCH.
Revision 1.46 / (download) - annotate - [select for diffs], Fri Mar 1 20:57:26 2002 UTC (21 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.45: +9 -2
lines
Diff to previous 1.45 (colored)
Related to PR 15781, explain better in a comment why it is not possible to grovel mk.conf using sed/awk/etc. before nbmake is available.
Revision 1.45 / (download) - annotate - [select for diffs], Wed Feb 27 21:19:08 2002 UTC (21 years, 3 months ago) by scw
Branch: MAIN
Changes since 1.44: +3 -3
lines
Diff to previous 1.44 (colored)
Add mvmeppc to powerpc case.
Revision 1.44 / (download) - annotate - [select for diffs], Wed Feb 27 13:55:28 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.43: +8 -4
lines
Diff to previous 1.43 (colored)
add -U; set UNPRIVED=
Revision 1.43 / (download) - annotate - [select for diffs], Sun Feb 10 19:09:13 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +4 -4
lines
Diff to previous 1.42 (colored)
Shark is not yet MACHINE_ARCH=arm.
Revision 1.42 / (download) - annotate - [select for diffs], Sun Feb 10 18:28:12 2002 UTC (21 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored)
s/dnard/shark/
Revision 1.41 / (download) - annotate - [select for diffs], Tue Jan 29 08:46:59 2002 UTC (21 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.40: +3 -3
lines
Diff to previous 1.40 (colored)
chdir out of $tmpdir before removing it; some vendors' rm(1) programs will not remove cwd....
Revision 1.40 / (download) - annotate - [select for diffs], Sat Jan 19 16:49:28 2002 UTC (21 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.39: +4 -3
lines
Diff to previous 1.39 (colored)
Honor HOST_{CC,CFLAGS,CPPFLAGS,LDFLAGS} passed in from the environment when building nbmake. Use the correct defaults if not set (HOST_CC=cc, HOST_CFLAGS=-O).
Revision 1.39 / (download) - annotate - [select for diffs], Tue Jan 15 19:19:35 2002 UTC (21 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored)
Make sure buildmake.sh is run with "sh", rather than depending on executable status. (XXX we should probably come up with a HOST_SH variable for these instances....)
Revision 1.38 / (download) - annotate - [select for diffs], Tue Jan 15 19:17:23 2002 UTC (21 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.37: +4 -6
lines
Diff to previous 1.37 (colored)
Make use of new make(1) bootstrap in src/tools/make.
Revision 1.37 / (download) - annotate - [select for diffs], Wed Dec 19 20:59:07 2001 UTC (21 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.36: +5 -4
lines
Diff to previous 1.36 (colored)
Apply workaround for some Bourne shells not handling IFS in the POSIX way. Based on the change suggested by <david@l8s.co.uk> on current-users.
Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 17 13:16:10 2001 UTC (21 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.35: +6 -6
lines
Diff to previous 1.35 (colored)
Sort options in usage in default order (AaBb...).
Revision 1.35 / (download) - annotate - [select for diffs], Wed Dec 12 23:50:27 2001 UTC (21 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.34: +3 -3
lines
Diff to previous 1.34 (colored)
Change check for USE_NEW_TOOLCHAIN to just looking for it being defined.
Revision 1.34 / (download) - annotate - [select for diffs], Tue Dec 11 23:57:49 2001 UTC (21 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.33: +3 -3
lines
Diff to previous 1.33 (colored)
as -m mach is optional, indicate this in the usage
Revision 1.33 / (download) - annotate - [select for diffs], Tue Dec 11 21:13:35 2001 UTC (21 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.32: +5 -5
lines
Diff to previous 1.32 (colored)
Honor HOST_LDFLAGS in environment. Add bash to the suggestions of alternative shells if /bin/sh isn't enough.
Revision 1.32 / (download) - annotate - [select for diffs], Tue Dec 11 20:45:31 2001 UTC (21 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.31: +2 -3
lines
Diff to previous 1.31 (colored)
Revert part of rev. 1.28. DO NOT set MAKE_MACHINE, since "nbmake" is a platform-independent binary. It should have no default. Setting MACHINE is the purpose of the wrapper script.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Dec 9 06:07:16 2001 UTC (21 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.30: +7 -3
lines
Diff to previous 1.30 (colored)
Make -t and -u behave together so a -t doesn't always force a cleandir in the tools directory.
Revision 1.30 / (download) - annotate - [select for diffs], Tue Dec 4 04:28:23 2001 UTC (21 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.29: +22 -3
lines
Diff to previous 1.29 (colored)
Check if this platform is supported for USE_NEW_TOOLCHAIN and exit with a complaint if it's not. Point out to run a traditional make and also how to force a new toolchain build if one wants to test
Revision 1.29 / (download) - annotate - [select for diffs], Mon Dec 3 08:18:00 2001 UTC (21 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.28: +6 -4
lines
Diff to previous 1.28 (colored)
Make sure the makes running before the make build rule include -m <top dir>/share/mk
Revision 1.28 / (download) - annotate - [select for diffs], Fri Nov 30 02:18:13 2001 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +5 -3
lines
Diff to previous 1.27 (colored)
- Define MAKE_MACHINE reasonably for the bootstrap make. - Don't unset IFS; some shells don't like that. Instead save, and restore IFS.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Nov 26 05:57:33 2001 UTC (21 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.26: +11 -2
lines
Diff to previous 1.26 (colored)
If using objdirs make sure the objdir root is made before starting the build. Otherwise problems with bsd.own.mk and _SRC_TOP_OBJ can result.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Nov 25 18:35:06 2001 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +9 -6
lines
Diff to previous 1.25 (colored)
Add a "-d" option that uses the "distribution" target, rather than the "build" target.
Revision 1.25 / (download) - annotate - [select for diffs], Thu Nov 15 00:14:35 2001 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored)
If using -t, do a "cleandir" before building/installing the tools. This is something the old "build" hack used to do.
Revision 1.24 / (download) - annotate - [select for diffs], Tue Nov 13 19:03:08 2001 UTC (21 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.23: +5 -4
lines
Diff to previous 1.23 (colored)
Revert part of rev. 1.20 -- $DESTDIR and $TOOLDIR are deliberately shown symbolically with "-n", as these may come from mk.conf after building the bootstrap make. Add a comment to that effect.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Nov 12 23:16:17 2001 UTC (21 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.22: +3 -3
lines
Diff to previous 1.22 (colored)
Major overhaul of src/tools and host toolchain. Summary of changes: * Rewrite src/tools Make logic to work like the rest of the tree wrt "dependall" and "install". The old "make build" hack is gone. * Remove the MKTOOLS logic. This was linked to the "make build" hack, and was only needed because TOOLDIR originally had no writable default. * Redo the GNU configure/make logic to make it fit reasonably in a BSD make wrapper. Use new ${.ALLTARGETS} variable to scan for targets in $(srcdir), and mark them with .MADE: to prevent rebuilding. * Only build cross tools in src/tools; remove some messy logic in src/usr.* and src/gnu/usr.* that would do target filename rewriting (improves consistency and readability). * Add the ability to build cross gdb at tool build time by setting MKCROSSGDB (default no) to "yes" in mk.conf. * Add src/tools/groff and set up paths to work with this cross groff.
Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 12 08:54:58 2001 UTC (21 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.21: +4 -4
lines
Diff to previous 1.21 (colored)
change MACHINE_ARCH of evbsh3 from sh3el to sh3eb because all config files for evbsh3 defaults to big endian.
Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 11 01:34:30 2001 UTC (21 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.20: +17 -19
lines
Diff to previous 1.20 (colored)
Always rebuild the nbmake wrapper script. Otherwise the options passed to build.sh just get lost if they differ from a previous invocation (i.e. letting MKOBJDIRS get set the first time, -o will get ignored after this unless a rebuild of the script happens). It's low overhead so this adds little burden to getting it right.
Revision 1.20 / (download) - annotate - [select for diffs], Fri Nov 9 04:14:17 2001 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +6 -5
lines
Diff to previous 1.19 (colored)
* Fix a quoting error so that when using -n, we actually see $TOOLDIR and $DESTDIR in their expanded form. * Set USETOOLS=yes in the make wrapper script; it's pretty pointless using the make wrapper unless you're using the host tools. * In the -t case, make sure to only echo the "make obj" command if -n.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 5 02:17:47 2001 UTC (21 years, 7 months ago) by dillo
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
export DESTDIR when set via -D.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 2 05:07:22 2001 UTC (21 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.17: +45 -31
lines
Diff to previous 1.17 (colored)
* Always use the makewrapper when starting a build phase. * Set stuff mostly in the environment, not on make(1)'s command line. This is needed for MACHINE and MACHINE_ARCH (noted by bjh21), and keeps the mk.conf-overriding-env behavior (suggested by several people). * Use MAKEFLAGS to make the wrapper script more readable. * When prepping objdir in tools for the default TOOLDIR value, just make that objdir; leave the recursive "make obj" for later.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 1 01:49:44 2001 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +4 -4
lines
Diff to previous 1.16 (colored)
When doing an only-tools build, don't use the makewrapper.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 1 00:14:17 2001 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +20 -8
lines
Diff to previous 1.15 (colored)
Add a -t option that builds and installs the toolchain only (and thus implies -b). To make this work, we also check do_buildsystem when doing the DESTDIR sanity check.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 31 19:59:43 2001 UTC (21 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.14: +125 -75
lines
Diff to previous 1.14 (colored)
Major cleanup and overhaul: * Allow MACHINE to be set automatically on NetBSD native builds. Require -m only if the host is not NetBSD. * Fail if DESTDIR is set to root (/) and the build is not NetBSD native, or the build is attempting a "make release" (option -R). * Warn the user if DESTDIR is set to root (/) that the kernel must be up to date, or else the build might hose the system. Also, do not remove DESTDIR on -r if it is set to root. * Fail if TOOLDIR is set to / or empty after checking with nbmake. * Allow DESTDIR and TOOLDIR to be set in mk.conf and/or by the new default from <bsd.own.mk>. Note that if -T is not used to set TOOLDIR, and TOOLDIR is not set in the environment, then nbmake will always be bootstrapped (rather than looking at nbmake's timestamp). This is because /bin/sh doesn't know how to get TOOLDIR from mk.conf without first having nbmake (...which lives in TOOLDIR). * Do a pass of "make obj" through src/tools before installing nbmake (so long as -o/MKOBJDIRS=no is not specified). This ensures that objdirs exist if they are desired, and paves the way for using build.sh to build all the src/tools without building everything else. * Add "-w" option, which allows the builder to specify where the nbmake wrapper shell script should be created. If not specified, $TOOLDIR/bin/nbmake-$MACHINE is still created as a default. * Print the values of DESTDIR and TOOLDIR after bootstrapping nbmake, for informational purposes. It should now be possible to type just "./build.sh" on a NetBSD-current host and get a new build in / for the appropriate architecture. However, building in-place like this has *not* been extensively tested yet, so be careful.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 31 18:23:55 2001 UTC (21 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.13: +11 -2
lines
Diff to previous 1.13 (colored)
Add a sanity check. Don't rm -rf / if TOOLDIR or DESTDIR got set to / and -r was an option
Revision 1.13 / (download) - annotate - [select for diffs], Wed Oct 31 13:12:35 2001 UTC (21 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.12: +4 -4
lines
Diff to previous 1.12 (colored)
Rollback
Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 31 01:56:10 2001 UTC (21 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.11: +28 -14
lines
Diff to previous 1.11 (colored)
* Fix brokenness created by the -n option additions ("eval" still kept quoting, so the commands were thought to be one big word with embedded whitespace) * New options: -O obj Set root of an obj tree; sets MAKEOBJDIR to an appropriate substitution pattern. -o Sets MKOBJDIRS=no (otherwise sets MKOBJDIRS=yes) -u Sets UPDATE
Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 31 00:08:03 2001 UTC (21 years, 7 months ago) by reinoud
Branch: MAIN
Changes since 1.10: +4 -4
lines
Diff to previous 1.10 (colored)
Acorn's MACHINE_ARFCH is now arm, not arm32 ... moving it effectively to ELF (Yay!)
Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 30 22:33:00 2001 UTC (21 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.9: +68 -41
lines
Diff to previous 1.9 (colored)
* Clean up a bit; always use [] for comparison tests. * Don't require DESTDIR when -b is set. * Add -n option, which prints the commands that would be run by build.sh, but doesn't run them (much like make's -n option). * Auto-resolve relative paths for -D, -R, and -T (but not for the corresponding environment variables). * Explicitly declare defaults of all shell variables used where feasible, rather than sprinkling ${varname-value} expansions. * Prefix shell true/false variables with "do_" to indicate their use as actual values in shell expressions (like "$do_buildsystem && echo foo").
Revision 1.9 / (download) - annotate - [select for diffs], Tue Oct 30 21:04:05 2001 UTC (21 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.8: +11 -6
lines
Diff to previous 1.8 (colored)
Add -b option. Bootstrap only. i.e. build and install nbmake and then exit
Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 29 19:47:51 2001 UTC (21 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored)
Set TOOLDIR in the nbmake-MACHINE wrapper script.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 26 23:25:03 2001 UTC (21 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (colored)
Netwinder's MACHINE_ARCH is arm, not arm32
Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 24 14:55:09 2001 UTC (21 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
Re-instate MACHINE -> MACHINE_ARCH entry for arm26, which I left out of the last change.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 24 14:00:24 2001 UTC (21 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.4: +7 -4
lines
Diff to previous 1.4 (colored)
Sync the MACHINE -> MACHINE_ARCH mapping for ARM platforms with sys/arch/*/param.h. While not necessarily correct, param.h is at least definitively incorrect.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 24 02:39:56 2001 UTC (21 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.3: +101 -30
lines
Diff to previous 1.3 (colored)
- Supply full list of MACHINEs for implicit MACHINE_ARCH evaluation. If a machine is not known, abort. - Emulate "mkdir -p" for Old "mkdir" programs on some host OS's. - Add "-a" option to provide MACHINE_ARCH explicitly (for MACHINEs that are capable of having more than one MACHINE_ARCH, such as sh3 and sparc64) - Where "getopts" is not available in the shell, try using "getopt". It's not whitespace compatible, but works in most cases. - Rename "bmake" to "nbmake" per suggestions. - When building nbmake, create a temporary directory for the purpose of holding host compiler objects that might be created in the cwd. Delete this directory if aborted via sh's "trap". - Create a wrapper script in $TOOLDIR/bin called "nbmake-$MACHINE", which can be run by hand for building parts of a cross tree easily. Use this script when finally starting the build.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 19 16:43:47 2001 UTC (21 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.2: +16 -14
lines
Diff to previous 1.2 (colored)
Move mkdir of TOOLDIR/bin to after removing TOOLDIR as specified by -r. Add -R option to specify RELEASEDIR directory and flag using "make release" instead of "make build" (inverted logic from removed -n option).
Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 19 02:25:48 2001 UTC (21 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.1: +9 -5
lines
Diff to previous 1.1 (colored)
Add error handling to bmake build, and add "-j" option to set NBUILDJOBS.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 19 02:21:03 2001 UTC (21 years, 7 months ago) by tv
Branch: MAIN
Script to automate bootstrapping a build on any host platform. Creates a bmake (rebuilds, if necessary) and invokes that to start the build.