lukem
a93ea220fc
Rework how dependency generation is performed:
...
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
jdolecek
4ecc3047b1
also rewrite emul_find_interp() calls to include the ${COMPAT_UTIL_OVERRIDE}
...
prefix
2003-04-22 17:23:20 +00:00
dsl
b7c921ed3d
The IDT is an array of struct gate_descriptor.
2003-03-04 10:39:10 +00:00
matt
3b768ce056
PPC_MPC6XX is now PPC_OEA
2003-02-06 22:23:11 +00:00
jdolecek
fdb9be22e1
add basic framework to build compat_irix LKM
...
the LKM is not likely to actually do anything useful, but this is good
to quickly check compat/irix is buildable
2002-11-30 13:41:40 +00:00
jdolecek
8ad945a36b
add freebsd_fork.c
2002-11-28 21:55:48 +00:00
lha
f882e535ec
deal with the .s -> .S change for i386
2002-11-23 02:15:45 +00:00
fvdl
b3e87c44a4
Adjust callers to setgate() to match new prototype.
2002-10-06 10:40:04 +00:00
thorpej
8e9b95428b
Revert rev. 1.10 of Makefile and fix the problem properly by adding
...
-D_KERNEL -D_LKM to AFLAGS in Makefile.common.
2002-06-02 23:46:49 +00:00
itojun
3ec91458b1
not sure if it is right, but svr4_sigcode.s does not compile on i386 without it.
...
PR 17121
2002-06-01 20:13:42 +00:00
jdolecek
ff2064e0c8
make compat_linux LKM buildable on macppc
2002-05-19 18:18:36 +00:00
mycroft
baf701415e
Fix a file name.
2002-04-10 04:21:27 +00:00
mycroft
bdfc53717b
Fix SRCS so this compiles again.
2002-04-10 04:12:42 +00:00
enami
101714165d
Now linux_sigarray.c is included by newly created linux_signo.c.
2002-04-01 06:54:55 +00:00
kent
d469e9cf08
Use compat_util with overriding.
2002-03-29 17:09:30 +00:00
kent
2260d0eb5d
Copy syscall entries for SYSVSHM to syncronize kernel option.
2002-03-27 20:54:29 +00:00
kent
9392b84ff9
Introduce a new LKM `compat_pecoff'
...
Add it to SUBDIR.
To enable PECOFF, do the following:
# modload /usr/lkm/compat_pecoff.o
*then*
# modload /usr/lkm/exec_pecoff.o
2002-03-25 06:52:41 +00:00
fvdl
99d2b6e3ef
Add linux_sysctl.c
2002-02-23 16:46:03 +00:00
is
372cac3316
The linux lkm doesn't compile anymore on m68k
2002-02-16 11:02:37 +00:00
mrg
42aa4bc31d
use MACHINE_ARCH for sparc & sparc64.
2002-02-10 16:25:35 +00:00
mrg
d3fc678205
look in sys/arch/${MACHINE}/${MACHINE} as well as ${MACHINE_ARCH}
2002-02-10 15:43:41 +00:00
mrg
1b9f6c7a2e
build svr4_sigcode.s on sparc
2002-02-10 15:42:57 +00:00
mrg
cf5b2d8368
build sunos_machdep.c and sunos_sigcode.s on sparc & sparc64
2002-02-10 15:41:58 +00:00
mrg
34b423fa60
don't build compat_aout LKM; hasn't been tested.
2002-02-10 15:40:32 +00:00
lukem
c10ff7575c
YANOMAN=
2001-12-13 01:26:39 +00:00
lukem
b574ee0f82
define NOMAN= once, at the real top level of lkm
2001-12-12 12:06:45 +00:00
lukem
00255d260d
define NOMAN= once, at the top level
2001-12-12 11:44:43 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
thorpej
b5ea4050f9
Update for core dump changes.
2001-12-10 19:18:49 +00:00
gmcgarry
6f71c27e26
MACHINE_ARCH -> MACHINE_CPU
2001-12-10 07:27:52 +00:00
gmcgarry
47e4542449
Pull in <bsd.own.mk> early so we can use MACHINE_CPU. Use
...
MACHINE_CPU instead of MACHINE_ARCH.
2001-12-10 07:26:47 +00:00
thorpej
165f442f86
Update for "coredumps now exec-format/emulation specific".
2001-12-08 00:37:07 +00:00
lukem
f5e6ca8797
add RCSIDs
2001-11-12 23:22:57 +00:00
jdolecek
f15ae836f3
kill duplicates
2001-10-31 21:13:23 +00:00
jdolecek
76dc75c365
svr4 compat LKMs work on i386
2001-10-31 18:30:18 +00:00
jdolecek
060f8eead1
Add the COMPAT_UTIL_OVERRIDE stuff, and (commented out) COMPAT_43 stuff
2001-10-31 18:27:31 +00:00
jdolecek
af8a31dd42
For i386, set gate for fasttraps appropriately when loaded (and
...
unset on unload), similarily to what i386/machdep.c does #ifdef
COMPAT_SVR4. This makes the svr4 LKM actually work on i386.
XXX kind of ugly, but doing this more generic way would be overkill
2001-10-31 18:25:53 +00:00
jdolecek
899455e34e
freebsd LKM works too
2001-10-27 12:10:02 +00:00
jdolecek
a24e94e460
Move the compat_util.c handling to lkm/compat/Makefile.inc. The users
...
are expected to set COMPAT_UTIL_OVERRIDE to preferred emulation name
prefix.
Use this for compat_freebsd and compat_linux LKMs.
2001-10-27 12:09:34 +00:00
jdolecek
ef8abe0767
Make the setregs hook emulation-specific, rather than executable
...
format specific.
Struct emul has a e_setregs hook back, which points to emulation-specific
setregs function. es_setregs of struct execsw now only points to
optional executable-specific setup function (this is only used for
ECOFF).
2001-09-18 19:36:32 +00:00
mrg
6ca0883022
build netbsd32, sunos32, svr4 and svr4_32 LKM's on sparc64.
2001-08-14 12:00:01 +00:00
jdolecek
d3dad41a97
Add -DINET6 to CPPFLAGS, so that the check for pre-RFC2553 sockaddr_in6
...
is included.
Remove uipc_syscalls_43.c from (commented out) list, it's no longer needed.
2001-07-04 10:29:16 +00:00
jdolecek
74e9588fda
Add linux_trap.c for i386
2001-06-19 18:18:42 +00:00
mrg
b1708374d0
build svr4 & svr4_32 on sparc64.
2001-06-06 21:38:49 +00:00
mrg
c272b4d4a8
build an svr4_32 LKM. create common framework for svr4 & svr4_32
2001-06-06 21:38:01 +00:00
mrg
8b1f9462dc
make this build.
2001-06-06 21:34:23 +00:00
mrg
1833b2e5e6
define COMPAT_10 and COMPAT_13, add netbsd32_kern_sig.c and netbsd32_uvm_unix.c,
...
and on sparc64, add netbsd32_machdep.c netbsd32_sigcode.s.
2001-06-06 21:33:24 +00:00
mrg
b95ce67182
add sunos32_machdep.c sunos_sigcode.s for MACHINE=sparc64
2001-06-06 21:31:49 +00:00
mrg
e598a3319c
this is sunos32 not sunos
2001-06-05 12:44:23 +00:00
jdolecek
09afb2735c
Add recently added linux_time.c to list
2001-06-01 23:02:55 +00:00