Commit Graph

33 Commits

Author SHA1 Message Date
msmith
8cc551e045 genassym depends on the presence of common variables, disable the use
of -fno-common in this case.
2002-01-10 03:52:54 +00:00
ru
7af6b8b2fa Removed mentions of TARGET_ARCH from non-cross places. 2001-10-04 14:13:16 +00:00
schweikh
7e0835e7db pseudo-device -> device in kernel config.
Reviewed by:	joerg, dd
2001-05-01 11:26:14 +00:00
peter
e2336f24e7 Zap obsolete (died with LKM) EXPORT_SYMS variable 2001-02-04 10:52:25 +00:00
peter
a7f86be978 Zap some bad examples:
opt_foo.h:
	touch opt_foo.h
.. is unnecessary - kmod.mk does this for us.
2001-02-04 08:23:14 +00:00
obrien
c269c9fb36 Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
sheldonh
a5b7c6517a Decommission the svr4(8) shell script, which has been pointless since
our kernel module system learned how to handle dependencies.

Providing a whole bunch of shell scripts that do nothing but load
a similarly named kernel loadable module is out of vogue.

The svr4(8) manual page has been replaced with a much better svr4(4)
page.
2000-11-29 10:40:53 +00:00
ru
0127deea8c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 17:05:46 +00:00
obrien
cd0e1ea5f5 Don't install manpages.
They are being moved elsewhere, and they are causing problems being here.
2000-10-08 16:56:04 +00:00
obrien
6389b1b3b0 Only install secondary components if the destination directory exists.
This may be a WIP, but `make release' needs it sooner than later.
2000-10-04 07:20:24 +00:00
obrien
05f7bf4f57 Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
bde
a5752e4f08 Use the genassym script here too. The linux and svr4 modules were broken. 2000-06-03 07:40:19 +00:00
peter
ea11d3cf1c Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
2000-05-27 01:14:33 +00:00
obrien
466a12192c Support non-i386 architectures. 2000-05-10 01:05:11 +00:00
peter
1b38e19179 Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
2000-05-04 12:08:52 +00:00
phantom
8bf15d0ff0 . add manpage for svr4(8)
. s/freebsd/FreeBSD
2000-01-10 08:48:11 +00:00
bde
d42b1f1b39 Cleaned up options handling:
- don't generate unusable headers or #defines.
- removed duplicate opt_svr4.h in CLEANFILES.
- removed bogus dependency of svr4.h on options headers.
2000-01-09 13:11:19 +00:00
bde
661138e5c3 Compile svr4_genassym.c with ordinary ${CFLAGS}. The (small) need for
-U_KERNEL became negative when all all the genassym.c's were converted
to be cross-built.

Use "genassym ... > ${.TARGET}", not "genassym -o $@ ...", so that
genassym(1) doesn't need to support -o.

Removed duplicate -D_KERNEL from CFLAGS.

Removed triplicate -D_KERNEL from flags for compiling svr4_locore.s.
2000-01-09 10:16:12 +00:00
peter
d53e4c1d80 Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
1999-12-29 05:07:58 +00:00
marcel
882af3f7d6 Use genassym(1) and <sys/assym.h> to generate assembler symbols. 1999-12-23 21:19:32 +00:00
marcel
9c42a64866 Add opt_svr4.h to SRCS. This fixes make depend. 1999-12-08 17:27:40 +00:00
newton
802528d8ff SVR4 emulator source files now take their compilation options from
opt_global.h and opt_svr4.h, instead of from the command line.  This
brings them in-line with most of the rest of the kernel.

svr4_ioctl.c has also failed to compile with debugging for a while
now;  fixed by adding systm.h and socketvar.

Some svr4 source files are automatically generated from syscalls.master;
these have been committed as consequential changes, otherwise everyone
will have to "make svr4_sysent.c".

Changes:

sys/svr4/svr4.h			include opt_global.h and opt_svr4.h
sys/svr4/svr4_ioctl.c		include svr4.h, sys/systm.h and sys/socketvar.h
sys/svr4/svr4_ipc.c		include svr4.h
sys/svr4/svr4_resource.c 	include svr4.h
sys/svr4/svr4_socket.c		include svr4.h
sys/svr4/svr4_ttold.c		include svr4.h
sys/svr4/syscalls.master	include svr4.h
sys/svr4/svr4_syscallnames.c	dependent on syscalls.master
sys/svr4/svr4_sysent.c		dependent on syscalls.master
sys/svr4/svr4_syscall.h		dependent on syscalls.master
sys/svr4/svr4_proto.h		dependent on syscalls.master
sys/modules/svr4/Makefile	create opt_global.h and opt_svr4.h
1999-12-08 10:51:17 +00:00
bde
d7156780d3 Removed special rules for building and cleaning device interface files
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).
1999-11-28 18:53:47 +00:00
obrien
861ace7610 Install {ibcs2,svr4}.sh in /usr/sbin and not in /usr/bin.
related to PR:		13545
1999-09-05 05:19:08 +00:00
newton
0938ef15b0 Add MAINTAINER line 1999-09-01 00:32:18 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
newton
3b57b22298 Initial checkin 1999-07-30 12:50:48 +00:00
newton
5ac6d3874c Clarify use of the 'streams' pseudo-device (i.e.: static or kld).
Trust me, this stuff will be in a real manpage before 4.0 ships :-)
1999-07-30 12:46:16 +00:00
newton
2d24e4c75d Converted "streams" pseudo-device into a KLD 1999-02-22 11:44:46 +00:00
bde
87e388cc70 Honor ${LDFLAGS} for building svr4_genassym. This is part of fixing
world breakage (mainly for cross-world cases).  The world Makefile
attempts to build tools static so that nonexistent or wrong shared
libraries and interpreters don't get used.  This is broken anyway
since the world Makefile doesn't know about svr4_genassym.

Force building svr4_genassym static.  This is part of "fixing"
aout-to-elf-build breakage.  aout-to-elf-build abuses NOTOOLS to
avoid rebuilding all the aout tools.  This saves time and avoids
some complications.  However, it breaks all the internal tools --
they get linked to target libraries which might not work.  Cases
where the host can run the target's static libraries are "fixed"
by encrufting all Makefiles that build internal tools to build the
tools static.

Don't add .depend to CLEANFILES -- it just breaks the separation of
`make cleandepend' from `make clean'.

Removed some superflous explicit dependencies.
1999-02-06 07:48:24 +00:00
newton
0e1a8a83aa Nuked the "hello, world!" program from this directory (it has
been teleported to share/examples/svr4).
1999-01-30 08:44:59 +00:00
newton
bf3da5661c Added a "README" file containing text taken from the message I sent
to -current explaining how to use this sucker.
1999-01-30 06:49:01 +00:00
newton
3997fb47ad Emulator KLD for SysVR4 executables grabbed from NetBSD.
See http://www.freebsd.org/~newton/freebsd-svr4 for limitations,
capabilities, history and TO-DO list.
1999-01-30 06:29:48 +00:00