Commit Graph

50 Commits

Author SHA1 Message Date
thorpej a7f360c6c9 Specify a non-profiling C rule. 1998-05-31 23:25:41 +00:00
tv b21bfbde11 Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
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
lukem 7d508b124f define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier
1997-10-03 07:17:00 +00:00
christos 7f41ec0345 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:50:53 +00:00
leo 198bd713f2 Generate assym.h dependencies when making 'depend'. 1997-07-12 22:07:36 +00:00
matthias b3d60fed7c * Add -Werror again. 1997-04-01 16:30:48 +00:00
matthias c44822f0e3 * Add "-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format"
to CWARNFLAGS.
1997-03-20 12:03:23 +00:00
mycroft f868dff8d3 Define the `cleankernel' target consistently with other ports. 1997-03-14 23:27:29 +00:00
mycroft 44149b42c2 Put the genassym.sh output in a temp file, and mv -f it, in case
it fails spectacularly and doesn't clean up.
1997-03-14 23:21:36 +00:00
matthias 258699485f add missing parentheses to assym.h rule. 1997-02-10 10:54:00 +00:00
matthias d90eb8ee1e * Corrected rule for assym.h. In case genassym.sh fails assym.h
has to be removed and a non-zero exit value has to be provided
  to make.
* Removed last references to genassym and genassym.o.
1997-02-08 09:33:27 +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
matthias a6befcbede * clean, depend :: -> : change
* use genassym.sh to create assym.h
1997-02-01 09:23:02 +00:00
veego 26f6e45d39 Fix a typo: s/COPT/COPTS/ 1996-12-22 19:14:14 +00:00
matthias 781cd59dd4 * Enlarge kernel virtual memory space. The pc532 kernel now runs at
0xf8000000. When the kernel was running at 0xfe000000, the INSTALL
  kernel would not run on a 32mb machine.
1996-12-07 09:24:37 +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
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
phil a3a96d6af3 Another tweek to support libcompat. 1996-02-15 20:19:48 +00:00
phil 5e7b18feac Catch up with changes in the libkern and libcompat get $S ...
Comment out ns_cksum.c.
1996-02-15 08:37: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 cec913603e Don't special-case conf.c. 1996-02-02 13:38:05 +00:00
mycroft fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
phil 5d2a046ccb Update makefile to match recent pc532 MD changes, new config file. 1996-02-01 03:00:57 +00:00
thorpej 57219ebad3 Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00
thorpej c9dfdd20b6 Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:48:41 +00:00
christos 98df248f95 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:46:09 +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
phil 83c5692e19 Move to config.new, genassym static 1994-12-22 03:23:20 +00:00
cgd dafacba9d5 new RCS ID format. 1994-10-26 08:23:50 +00:00
phil 2f40172e20 Checkpoint: closer to having config.new working with the pc532 1994-06-26 14:58:53 +00:00
phil c0c42e4703 Makefile: fs changes
others: Start move to config.new
1994-06-17 07:09:39 +00:00
phil b4d3cf9bc2 Removing minix hack. 1994-05-17 17:28:36 +00:00
phil 4cf1fbc402 configuration name changes, cleanup on the Makefile 1994-05-03 07:26:59 +00:00
phil 3626d9a416 Makefile.pc532: removing work-arounds for minix
files.pc532: adding pc532/scsi to get temporary access to old scsi code
1994-04-01 23:14:54 +00:00
phil d5540a64d1 Added support for making libkern.a. 1993-10-20 23:53:26 +00:00
phil 893cab1278 Adding ../libkern.a to the link phase. 1993-09-23 18:25:14 +00:00
phil e401483244 Adding the src/sys/arch/pc532 tree. 1993-09-09 23:53:45 +00:00