Commit Graph

58 Commits

Author SHA1 Message Date
gwr
7ceee3c729 Add -fno-defer-pop to COPTS (helps ddb backtrace).
Add AFLAGS=-m68020 and use it with ${AS} commands.
Depend kgdb_stub.o on Makefile (KGDBDEV, KGDBRATE).
1997-02-10 19:23:41 +00:00
gwr
60d4782469 Get rid of HOSTED_CC. 1997-02-07 22:55:44 +00:00
gwr
c0b220738c change :: to : 1997-02-04 17:15:38 +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
gwr
0c5e3e4955 Make this compile with -Werror -Wall -Wstrict-prototypes
(finally! yea!)  Also get rid of __BROKEN_INDIRECT_CONFIG
1996-12-17 21:10:35 +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
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
mycroft
558d72128e Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
1996-08-12 00:51:24 +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
gwr
a1ec070f97 Take control over the kernel libraries so cross-build is easier. 1996-06-20 03:47:27 +00:00
gwr
a2b74a415d Several minor changes to make cross-compilation easier.
(I do most compiles on a sparc these days...)
1996-06-18 16:18:34 +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
gwr
dfdd60a3d1 keep static symbols 1996-02-20 22:03:56 +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
gwr
86f10d8343 Switch to ncr_si (will just do PIO for now) and cleanup 1995-11-17 23:31:11 +00:00
thorpej
970f736653 Compile the kernel with -Werror -fno-builtin. 1995-09-19 23:54:29 +00:00
gwr
38c03f8581 Add ${LIBKERN} ${LIBCOMPAT} to SYSTEM_DEP so they are built.
Move ${DEBUG} from ${CC} to ${CFLAGS} for compatibility.
1995-07-01 00:51:15 +00:00
christos
8d8973280c 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:48:36 +00:00
gwr
b80b4c93a5 Retool for native build. 1995-06-09 21:53:27 +00:00
gwr
23718d5ee4 Merged locore code back into locore.s 1995-05-24 20:29:16 +00:00
jtc
f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
jtc
d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
gwr
bb34764434 Minor tweaks: avoid accidental FPU instructions,
allow DEBUG=-O override on the make command line.
1995-03-01 05:07:02 +00:00
gwr
b756f0feb1 Include vnode_if.c in mkdep args. 1995-01-24 05:45:54 +00:00
gwr
20c7e5582c Cleanup (cpp flags just once) 1995-01-11 20:37:12 +00:00
gwr
59bf96aa56 Lots of changes. Fairly stable now. 1994-11-21 21:26:40 +00:00
cgd
20af809ca2 new RCS ID format. 1994-10-26 09:07:55 +00:00
gwr
255acc64c2 Turn on optimization. 1994-09-20 16:17:53 +00:00
gwr
23e5b7b70a Add mising dependency 1994-07-18 14:59:47 +00:00
gwr
321a38087b Move vnode_if.o earlier in the OBJ list. 1994-06-28 21:40:34 +00:00
gwr
99b3d9f091 Update for new FS code (vnode_if.*) 1994-06-13 15:54:16 +00:00
gwr
9456eaca13 SCSI driver works! 1994-05-13 15:01:39 +00:00
gwr
77a3c6a20e Make conf.o depend on the Makefile 1994-05-04 05:57:27 +00:00
glass
4193c502e4 fixed to use new queue stuff. random diffs to make ddb stuff mostly compile 1994-04-24 20:10:13 +00:00
glass
c0a47356da cleanup 1994-03-01 08:23:57 +00:00
glass
8461eac15e boots, presents shell prompt, and doesn't crash immediately 1994-02-23 08:28:11 +00:00
glass
0224e19bc6 sun3 port works under NetBSD-current now. rcsids probably fucked 1994-02-04 08:19:37 +00:00
glass
06932ce0f8 Now works with current tree, as opposed to the july 8th tree in which it was
written.
Requires magnum infrastructure now, particularly the clock stuff.
Fails to exec init because the /sbin/init binary
is a sunos binary.  Next step is to integrate sunos compatibility code
from /sys/compat/sunos, and the amiga port.
Does not yet implement MACHINE_NOCONTIG support.

[from glass Mon Nov 22 21:22:45 PST 1993  home tag: home2]
1993-11-23 05:28:35 +00:00
deraadt
7679710d7c some cleanup, better than sending adam reminder notes 1993-11-10 07:42:12 +00:00
glass
8585a64107 sun3 port updated. netboot integrated. 1993-10-12 05:17:41 +00:00
glass
dc22f15a6d snapshot. for uploading. gets lost in swtch after enablertclock() 1993-08-21 02:16:07 +00:00