Commit Graph

183 Commits

Author SHA1 Message Date
tsutsui
c2aee7cf41 Make sure machine and ${MACHINE_ARCH} symlinks are always created. 2009-01-12 07:23:59 +00:00
tsutsui
2a366090a5 Add some make variables to suppress errors on build without DESTDIR. 2009-01-12 07:20:35 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tsutsui
a07f7c8069 Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
2008-01-12 09:54:21 +00:00
garbled
d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
christos
27e0d2b78b kill MFSNAMELEN 2007-07-17 20:17:52 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
mrg
19ad9e5482 change some variable types from int to size_t, since that's what libsa
dv_strategy() wants for the 6th argument.
2006-05-20 20:38:39 +00:00
mrg
2d245c626f change some char to u_char to match other variables and functions. 2006-05-20 20:37:15 +00:00
he
ab9a43a85f Follow up rename of in_cksum.c to ip_cksum.c. 2006-02-26 19:20:57 +00:00
christos
606bb2caed free -> dealloc
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
skrll
504686f15c Don't try and create/cleanup symlinks before objdirs are created.
Doesn't everyone use ro src?
2005-12-28 08:04:44 +00:00
he
daa2326eba Make this build again after the libc/libkern consolidation by referring
to common/lib/libc/Makefile.inc via ${S}/..

Add use of ashrdi3.c inet_addr.c strncpy.c strlen.c, from common/lib.
2005-12-27 12:38:53 +00:00
perry
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
tsutsui
34c8c3e9fe Move some definitions from CFLAGS to CPPFLAGS so that SRT0.S can
include <m68k/asm.h> properly.
2005-12-24 22:22:33 +00:00
tsutsui
8343611e9c Adapt to libkern reorganization. 2005-12-24 22:18:40 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
he
e1ffd766c2 Make the bugscopen() function match it's prototype. 2005-07-03 22:22:50 +00:00
junyoung
e63501d234 #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h" 2005-06-28 21:00:41 +00:00
junyoung
c42b06f995 ANSI & KNF. 2005-06-28 20:26:04 +00:00
junyoung
e5d633d728 ANSI, KNF, drop trailing spaces, and etc. 2005-06-28 20:23:50 +00:00
junyoung
cd62ed2ea9 ANSIfy and remove trailing spaces. 2005-06-28 20:15:29 +00:00
junyoung
d305a14978 ANSI, KNF, etc. 2005-06-28 20:13:25 +00:00
junyoung
6cb3e5962d ANSIfy & remove trailing spaces. 2005-06-28 14:41:47 +00:00
junyoung
17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
christos
362a4a0bd5 Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to
implement, xtoa(), but I think defining the samestring 50 times is a bit
too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...
2005-05-17 04:14:57 +00:00
jmc
92b54a6cd9 Don't need realdepend/realall depends now that .BEGIN works again 2005-05-11 18:59:34 +00:00
he
8e58484dd6 Adapt to the statfs -> statvfs changes. 2004-05-21 08:35:00 +00:00
agc
7db1d33cba Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
2003-12-10 12:06:25 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
scw
b9b144d190 Add -ffreestanding 2003-10-24 21:28:24 +00:00
he
47a6e783ff Adapt to const-ification of the first arg of the open function of fs_ops. 2003-08-24 14:43:29 +00:00
dsl
6c51a53afa Add memmove - needed for symlink processing in ufs.c 2003-08-22 21:00:26 +00:00
agc
aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
he
672b90d3f1 Fix this so that it compiles after the UFS2 merge. This program can
still only deal with UFS1 file systems.

Reviewed by scw.
2003-04-07 11:45:55 +00:00
he
cea7b7a329 Add the newly separated-out ether_sprintf.c here, so that the booters
can be allowed to link with no unresolved symbols again.
2003-03-16 08:39:58 +00:00
drochner
e7bde1e9c7 adapt for void *io_netif 2003-03-13 12:44:48 +00:00
scw
2125ffc454 Move the -D__daddr_t from libsa/Makefile to Makefile.booters so
the bootloaders get to benefit from it, not just libsa.
2003-02-27 20:38:34 +00:00
matt
938c539a86 Add CPPFLAGS+=-D__daddr_t=int32_t
Add snprintf.c to libsa/Makefile
2003-02-04 13:34:56 +00:00
fvdl
a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
provos
d94186ee91 more trailing \r cleanup; pointed out by wiz 2002-10-01 20:41:22 +00:00
provos
0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
lukem
fb7bc8541e arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
2002-08-27 08:53:14 +00:00
bjh21
23f7ce3522 .WAIT after building libbug and libsa, and before building anything that uses
them.
2002-05-28 19:34:15 +00:00
bjh21
0d79902e3f Use ${PRINTOBJDIR} rather that rolling our own.
This prevents parallel builds passing "--- xxx ---" (which make prints to
indicate it's building target "xxx") to ld.
2002-05-28 19:32:42 +00:00
jdolecek
9eed164863 remove redundant (and wrong) main() prototype 2002-05-05 20:11:37 +00:00
scw
132a9c91d5 Make sure main() has a prototype and a return type of "int". 2002-05-04 22:05:29 +00:00
scw
caf7ed0a69 main()'s return type should be int', not void'. 2002-05-03 20:48:34 +00:00
scw
d5ecd48d67 DTRT to avoid installing "netbsd.tmp" in /usr/mdec.
Addresses port-mvme68k/16282.
2002-04-10 18:43:21 +00:00
scw
6a75b57b3d Simplify generation of the s-record boot file using objcopy instead
of a homebrew tool.

Addresses port-mvme68k/16256.
2002-04-09 19:37:22 +00:00