Commit Graph

88 Commits

Author SHA1 Message Date
thorpej
ce4c770f88 Make sure CPP, AR, AS, and RANLIB are defined. 1997-11-12 23:11:50 +00:00
thorpej
a421995756 Define LORDER, NM, and TSORT here, like we do the rest of the tools. 1997-11-12 22:25:31 +00:00
fvdl
30c7fa3e36 Move kernel entry address down to f0100000 1997-10-20 00:43:21 +00:00
lukem
7d508b124f define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier
1997-10-03 07:17:00 +00:00
christos
90ac749fae PR/4162: Chris Jones: make cleandir does not work properly; it does not
remove the object files and the .depend file in the kernel build directory.
1997-09-30 22:10:32 +00:00
leo
198bd713f2 Generate assym.h dependencies when making 'depend'. 1997-07-12 22:07:36 +00:00
mycroft
d0c586a17f Put the genassym.sh output in a temp file, and mv -f it, in case
it fails spectacularly and doesn't clean up.  Also, remove dependencies for
genassym.o (since it no longer exists).
1997-03-14 23:16:08 +00:00
mycroft
2929dff5bd Use genassym.sh, to support cross-compilation. 1997-02-26 23:50:04 +00:00
perry
19d153fc48 Nuke some options GENERIC residue. 1997-02-04 04:57:10 +00:00
perry
0b3a46d6b3 Nuke some GENERIC residue. 1997-02-04 04:31:55 +00:00
cgd
8afda473db update for new kernel library Makefile.inc expectations 1997-01-23 23:07:56 +00:00
jonathan
4c1d96de78 * Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
Lets users over-ride with makeoptions COPTS="..." in kernel config files.

  Leave `mandatory' flags (like  -msoft-float which  on m68k enforces no
  FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
christos
c47b25b2e5 add -Wall -Wstrict-prototypes -Wmissing-prototypes.
We are compiling cleanly now!
1996-10-11 00:04:22 +00:00
jtk
04f1e23fe1 BIOS trampoline is a static beast; generate it in the sources like
syscalls.h & friends, and include it when needed from the source directory.
1996-09-13 00:02:36 +00:00
mycroft
b3ffba62a6 Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s.  Remove $TOUCH.  Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft
30a617c634 Wrap the default definition of S' in .ifndef'. 1996-08-31 21:40:47 +00:00
jtk
b86b695240 add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
1996-08-25 23:38:57 +00:00
mycroft
558d72128e Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft
cdfce2d74f Theres no microcode/Makefile.inc now. 1996-08-10 08:40:53 +00:00
mycroft
cf67f29afe * Add a HOSTED_C_C variable, which strips -p', -pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft
f94052ed3a * Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mycroft
540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
cgd
3d67685d36 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
mycroft
2ce52ae489 Define build programs with ?=', so they can be overridden with makeoptions'. 1996-02-26 02:53:20 +00:00
mycroft
753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
mycroft
5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft
dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft
fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft
88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
mycroft
eb44441b87 Pull in microcode dependencies. Remove -fno-builtin. 1995-10-10 05:58:00 +00:00
thorpej
bca85a86b1 Compile the kernel with -fno-builtin. 1995-09-19 23:25:29 +00:00
mycroft
6dfa7461a5 Add -Werror. 1995-07-24 03:30:07 +00:00
christos
a94817a5de GENERIC: Add COMPAT_IBCS2 in too by default.
Makefile.`arch`:	- Add -lcompat
			- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:39:40 +00:00
jtc
f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
cgd
8a640328ed clean up several ISA device interfaces: autoconfiguration, header
inclusion, and interrupt configuration.  more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
cgd
14d777dff7 allow most program names to be overridden. kill a bogus } in a comment, and
an unnecessary blank line.
1995-04-17 07:30:54 +00:00
jtc
d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
mycroft
8d87220928 Don't ignore the exit status of ld(1). 1994-12-06 06:07:39 +00:00
mycroft
e43f08ff4c Add `newvers' target. 1994-11-04 01:22:26 +00:00
mycroft
d58828dd61 vector.h should have been nuked ages ago. 1994-11-04 00:02:39 +00:00
mycroft
d35f08ffa6 isa.h -> isareg.h 1994-11-04 00:00:36 +00:00
mycroft
46ba25f017 Add vnode_if.[ch] to the clean target. 1994-10-28 17:05:29 +00:00
cgd
022ee8f7fe new RCS ID format. 1994-10-27 04:14:23 +00:00
mycroft
0248bdda10 Allow overriding the name of the awk program. This is a bit different from
how Gordon did it.
1994-06-15 16:46:39 +00:00
deraadt
4a1739545a build vnode_if.* early in a kernel compile 1994-06-15 02:13:47 +00:00
mycroft
3fa62971df Build vnode_if.o. 1994-06-08 07:51:36 +00:00
mycroft
a9614130fa Clone from hp300 version. 1994-05-23 10:18:52 +00:00
cgd
ef798b2ba2 kill symbols.{raw,sort}; no longer necessary, with kvm dbs. 1994-04-16 08:38:08 +00:00
cgd
4ac573bad9 kill refs to dbsym, and note that we have a working 'ex' now. 1994-01-28 08:43:10 +00:00
mycroft
07e22c53b9 LOAD_ADDRESS is now fixed at 0xf8100000. 1994-01-05 16:03:32 +00:00