Commit Graph

229167 Commits

Author SHA1 Message Date
apb
3b7feb0ead Unhook gkermit from the build.
It is being replaced by the BSD-licenced ekermit, as proposed
on tech-userlevel on 7 Aug 2014.
2014-08-08 19:38:47 +00:00
apb
97d8576cce Add ekermit to the build.
It will replace gkermit, as proposed in tech-userlevel on 7 Aug 2014.
2014-08-08 19:34:35 +00:00
apb
de7534c9a7 Add reachover build infrastructure for ekermit. 2014-08-08 19:30:35 +00:00
apb
755f450934 Make ekermit compile on NetBSD:
* Add several #includes of standard headers in platform.h.
* #undef X_OK in platform.h.  It's defined in the standard <access.h>,
  but also used in the local "kermit.h" for a differentpurpose.
* Declare {struct k_data}.dbf as a function returning void, not int,
  to match the way it's used.
2014-08-08 19:29:34 +00:00
gson
4cfcf01b16 Fix comment: Error, Fatal, and Punt take any number of arguments, not two. 2014-08-08 19:20:39 +00:00
apb
a704a1616e Import ekermit-1.7 from
http://www.kermitproject.org/ftp/kermit/archives/ek17.tar

EK (Embedded Kermit, E-Kermit) is an implementation of the Kermit file
transfer protocol written in ANSI C and designed for embedding in
devices or firmware, use in realtime applications, or for construction
of DLLs and libraries.  A sample calling environment and i/o support are
provided for Unix.
2014-08-08 19:20:38 +00:00
gson
f3b28c737c Whitespace fix 2014-08-08 19:14:45 +00:00
joerg
0c7d9d4853 Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
2014-08-08 16:56:30 +00:00
isaki
7e2a6d5287 Remove OBJCOPY?=objcopy.
Falling back to the hosttool is not a good way now.
2014-08-08 15:20:10 +00:00
isaki
baeb212aa1 Remove STRIP?=strip.
Falling back to the hosttool is not a good way now.
2014-08-08 15:19:51 +00:00
joerg
694cb36aee Fix RCS ID. 2014-08-08 14:48:55 +00:00
reinoud
246b083921 Fix missed clock interrupts calculation 2014-08-08 14:43:14 +00:00
joerg
dad6006456 The bpendtsleep label has been gone for a long time, so cleanup the
associated hack here.
2014-08-08 14:42:58 +00:00
joerg
465192a6ff Cleanup cargo cult. 2014-08-08 14:00:30 +00:00
wiz
c7eb405116 Update tzdata section. 2014-08-08 11:00:56 +00:00
jmcneill
efcc9e68ef wpi_fix_channel hack no longer needed with recent scanning changes 2014-08-08 10:17:07 +00:00
apb
580ccc375e Adapt tzdata2netbsd script to the new source location.
* Change src/share/zoneinfo to src/external/public-domain/tz.
* The NEWS file is not distributed in the tzdata tar.gz file,
  but it logically belongs with it.  We were already downloading the
  NEWS file from a different location, but now we also add it to the
  import directory.
2014-08-08 09:47:28 +00:00
apb
2c9001de40 Hook external/public-domain/tz into the build, and unhook share/zoneinfo.
The timezone files are still installed in ${DESTDIR}/usr/share/zoneinfo/**,
and they are identical before and after this change.

This is almost the last step in moving NetBSD's tzdata sources from
share/zoneinfo to external/public/tz/dist, to ease future maintenance.
All that remains is to delete src/share/zoneinfo, but that will be
delayed for a while.
2014-08-08 09:34:10 +00:00
apb
a7eb98960f Part of the new infrastructure for building tzdata under src/public-domain/tz. 2014-08-08 09:18:02 +00:00
apb
dd837652ad Adapt to the new source location under src/public-domain/tz. 2014-08-08 09:17:03 +00:00
apb
1528d314bb Add infrastructure for building tzdata under src/external/public-domain/tz. 2014-08-08 09:14:40 +00:00
apb
102b42707c Copy src/share/zoneinfo/tzdata2netbsd (revision 1.5) to
src/external/public-domain/tz/tzdata2netbsd.

This is a verbatim copy, as part of moving the zoneinfo sources in the
NetBSD tree.  It will need to be edited before it works.
2014-08-08 09:08:19 +00:00
apb
6fcb06fd20 Copy src/share/zoneinfo/Makefile (revision 1.47) to
src/external/public-domain/tz/share/zoneinfo/Makefile.

This is a verbatim copy, as part of moving the zoneinfo sources in the
NetBSD tree.  It will need to be edited before it works.
2014-08-08 09:06:41 +00:00
apb
b10f80964b Import tzdata2014f from ftp://ftp.iana.org/tz/releases/tzdata2014f.tar.gz
and NEWS file from https://github.com/eggert/tz/raw/2014f/NEWS.

NetBSD's tzdata code is being moved from src/share/zoneinfo to
src/external/public-domain/tz/dist, to simplify future maintenance.

This is the same version of tzata that was previously imported to
src/share/zoneinfo.  The NEWS file has been added to the import,
although it is not distributed in the tzdata2014f.tar.gz file.
2014-08-08 08:56:47 +00:00
skrll
a62f26f71e Comment whitespace. 2014-08-08 07:47:24 +00:00
skrll
919516a171 Spell user with an e. 2014-08-08 07:47:05 +00:00
martin
a845136cfb Make all ramdisk root sizes equal again 2014-08-08 07:45:04 +00:00
christos
7d1fb1358b make constants unsigned (joerg@) 2014-08-08 07:40:35 +00:00
skrll
9012adca20 Update a comment. Probably still needs tweaking further. 2014-08-08 07:34:02 +00:00
skrll
a812f26123 Trailing whitespace. 2014-08-08 07:30:51 +00:00
rtr
822872eada split PRU_RCVD function out of pr_generic() usrreq switches and put into
separate functions

  - always KASSERT(solocked(so)) even if not implemented

  - replace calls to pr_generic() with req = PRU_RCVD with calls to
    pr_rcvd()
2014-08-08 03:05:44 +00:00
jmcneill
128b925846 add a pmf shutdown handler to switch genfb into polling mode 2014-08-08 02:27:40 +00:00
jmcneill
9a19abb6a6 Scan one channel at a time instead of trying to do them all at once and
trying to outsmart the ieee80211 state machine.
2014-08-07 22:10:05 +00:00
apb
8c73ed278b regen BUILDING from doc/BUILDING.mdoc 2014-08-07 21:46:43 +00:00
apb
c170baae9a Add advice about avoiding common pitfalls.
This is taken from the patch in PR 48741, by David H. Gutteridge,
but I made small changes to wording and markup.
2014-08-07 21:45:27 +00:00
apb
a960e5c872 Document build.sh list-arch 2014-08-07 21:32:11 +00:00
christos
50424a900e convert to unsigned multiplication. 2014-08-07 20:05:10 +00:00
jmcneill
db85a00740 scanning fixes 2014-08-07 19:54:23 +00:00
macallan
7f58aa68f7 remove obsolete comment 2014-08-07 19:05:18 +00:00
apb
76ee568117 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.
2014-08-07 18:10:20 +00:00
apb
3058a673ed 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
2014-08-07 17:54:28 +00:00
christos
8e2b2a8fd3 cast to LHS type and minor KNF. 2014-08-07 17:24:03 +00:00
gdt
03d5c785ca Get macppc to build again by adjusting sizes.
In addition to the ramdisk size, it is necessary to have matching MD
sizes.  Increase the MD sizes, and leave a comment near the ramdisk
size to ease future changes.
2014-08-07 16:51:56 +00:00
gdt
dbadcbcebd I need 2244k for src/distrib/macppc/floppies/ramdisk, rather than
2240k.  My build is normal, with a few uncommitted changes that really
shouldn't change the install situation.  Because 2240k isn't near a
magic boundary, just increase it a hair.
2014-08-07 15:48:19 +00:00
apb
b0a459328c In the usage message, mention that the -m arg may be an alias.
Also adjust a comment around alias processing.
2014-08-07 15:15:48 +00:00
jmmv
daa4f8c5c7 Add missing Kyuafile. 2014-08-07 14:22:13 +00:00
joerg
5d592fb4e3 Use cmpw. 2014-08-07 13:56:57 +00:00
joerg
bcbe3c1d77 Use cmpwi. 2014-08-07 09:08:41 +00:00
joerg
26a08d1efc Panic after openfirm, it is not supposed to return. 2014-08-07 09:08:09 +00:00
joerg
26542d948c Use cmpwi. 2014-08-07 09:06:53 +00:00