Commit Graph

70 Commits

Author SHA1 Message Date
obrien
0cb826b8e0 Missed a gnu/usr.bin/cc/libgcc. 1999-04-03 23:46:18 +00:00
obrien
e7867623f2 EGCS will have some new includes that need to be installed. 1999-04-03 08:18:43 +00:00
peter
88bd2c71f9 Add libwrap to includes target, otherwise <tcpd.h> doesn't get installed
in time to build inetd.  (If you already have /usr/include/tcpd.h, the
build doesn't fail.  This mainly affects upgrades and 'make world' from
systems more than a few weeks old)
1999-04-02 15:37:07 +00:00
obrien
fd8441b8ba An earlier version of Rev 1.66 was reviewed by bde and the issues were
hashed out with his gracious help.
1999-03-31 06:42:36 +00:00
obrien
6c0cffc61f * Deal with libgcc's move from gnu/usr.bin/cc to gnu/lib.
Move was necessary as libgcc should be built with the freshly built
  compiler and thus we must wait until the freshly built bits have been
  installed somewhere so we can use them.  libgcc presence in gnu/usr.bin/cc/
  gets in the way of building the new compiler.  We could have either
  cd'ed to specific directories w/in gnu/usr.bin/cc/ and built and installed
  individual bits, or move libgcc out of the way and let our normal subdir
  building process work.

* Don't build libgcc in "bootstrap-libraries:" target it should not be
  assumed the currently installed compiler can correctly build libgcc.
  (as is the case for g++ 2.7.2 and EGCS' libgcc)
1999-03-31 06:38:13 +00:00
imp
bf5bab7d0f The legacy boot stuff is available only on i386, not all architectures
which aren't the alpha.  Test for MACHINE_ARCH == i386 rather than
MACHINE_ARCH != alpha.
1999-03-01 01:09:06 +00:00
jkh
43f92efe2a Add a new flag, "WORLD", for telling certain tools that they're
being build as part of a bootstrap.
1999-02-27 03:18:10 +00:00
des
5e764fdd0e Ignore errors from chflags. This makes it possible to make installworld
with DESTDIR set to an NFS-mounted file system.
1999-02-14 13:56:15 +00:00
jkh
8f6dfcf6d4 further refine the upgrade process. 1999-01-27 15:08:05 +00:00
markm
d17fb5745d More broken crypt(3) backout. 1999-01-23 08:44:17 +00:00
brandon
e4c0668e85 One more fix to remove secure/lib/libcrypt from the build (both
cases are now handled in lib/libcrypt, depending upon if
secure/lib/libcrypt/crypt-des.c exists)

Reviewed by:	Mark Murray
1999-01-22 15:10:05 +00:00
markm
bb167947ac Help for Perl5 to make in cross-build environments.
Submitted by:	Eivind Eklund
1999-01-20 05:45:57 +00:00
eivind
52398d1d43 Don't do the ldconfig rescan if DESTDIR is set. 1999-01-07 13:09:15 +00:00
peter
c1bbc538a6 ``Disable'' a.out 'make world', as per flag day notification on current and
committers.  A 'make aout-to-elf' is strongly encouraged.  This isn't quite
the end of the line for people who have a real problem with updating yet,
but we've got to get this over and done with.  Yes, it's bound to be a
couple of bumpy couple of days.
1999-01-07 06:26:33 +00:00
bde
20aae7550b Removed the weak spam of ${DESTDIR}/usr/include in the bootstrap
target (see the previous log message).  This works for bootstrapping
from 2.2.7.  It won't work for bootstrapping from 2.1.x, but that
fails due to include problems earlier.
1999-01-06 10:06:36 +00:00
bde
4612ec716d Backed out rev.1.49. It broke bootstrapping from 2.1.5 2.2.7 and
probably other versions by spamming ${DESTDIR}/usr/include in much
the same way as `make includes'.

Details for 2.2.7: the bootstrap target has always done a weak spam
of ${DESTDIR}/usr/include; we depend on it not installing any
significant anachronisms (it probably shouldn't touch the headers
at all; however, we may be depending on it for things like the
renaming of ts_nsec to ts_sec in <sys/time.h>).  Rev.1.49 strengthens
the spam to everything in src/include.  For 2.2.7, this is not
immediately fatal.  However, the `make all' step in src/includes
is not followed by a `make clean' step, so new rpc headers are not
generated after we've bootstrapped rpcgen.  This causes a fatal
error much later when the old (generated) rpc headers are used with
the current headers (sys/types.h and/or the non-generated rpc
headers).

Details for 2.1.x: the bug is immediately fatal.  It gives definition
of errno that is not supported by 2.1.x's libc.  The weak spam in the
restored version avoids this problem by not installing errno.h.
(Bootstrapping from 2.1.5 actually breaks much earlier.)

I think the header problems supposedly fixed by rev.1.49 were caused
by using NOCLEAN and having the build fall over when the weakly
spammed headers are active.  Minor differences in the layout will
then cause the .depend files to point to nonexistent headers.  It
is a feature for symlinks like errno.h -> sys/errno.h to not exist
early.

The other change in rev.1.49 breaks building obj directories if NOCLEAN
is set.  It is only safe for _re_building with NOCLEAN set.
1999-01-04 12:05:59 +00:00
peter
7ecb6d1a26 Reconnect pcvt hooks..
Reviewed by:	core
1999-01-01 08:45:44 +00:00
bde
5a3f3b65eb Backed out previous commit. It depends on a.out utilities and libraries
somehow being available even on pure elf systems.
1998-12-30 12:06:08 +00:00
bde
11ee3cc9f6 Fixed bootstrapping of /usr/mdec/boot[12]. 1998-12-30 11:26:24 +00:00
peter
1a9ccea2c7 Dip my toes into the fire and zap the leftover lkm hooks.. It seems they
try and recurse if the lkm dir exists for some reason but there isn't any
Makefile there. (eg: stray files prevented cvs update -P from removing the
empty dirs)
1998-12-28 17:03:50 +00:00
phk
cca09a3177 follow up to:
Pre 3.0 branch cleanup casualty #4: pcvt
1998-12-27 21:11:07 +00:00
dillon
ba76e4bb3f Elf (and a.out?) rebuild of bootstrap tools appeared to be broken due to
some tools requiring header files, such as errno.h, that are softlinks.
    The mini installation of include files in Makefile.inc1 wasn't doing
    the job, so it has been ripped out and replaced with a true make of the
    /usr/src/include/ directory (make all and make beforeinstall).  I think
    the original idea was to save time by not installing unnecessary header
    files, but it doesn't really save all that much time.

    Also, I have moved a NOCLEAN conditional to cover rebuilding the object
    tree 'Rebuilding the ${OBJFORMAT} obj tree' section.  This may or may not
    be correct but it appears to function properly.  If it is not correct we
    need to find another way to avoid scanning every single file in the
    entire source hierarchy for make restarts.
1998-12-21 09:41:26 +00:00
dillon
3446338915 Grr. removed. backed-out. sorry! 1998-12-13 04:39:01 +00:00
dillon
278fc37bff This needs to be commited now to fix usbd for make world 1998-12-13 04:32:13 +00:00
jkh
c25f2745e5 Revert previous commit; write idea, wrong way. 1998-11-28 13:14:58 +00:00
jkh
d7f31224bf Remove netboot from build order; it's not ready for the limelight
and probably doesn't belong there anyway.
1998-11-28 08:19:24 +00:00
jdp
329a0dbf36 Make sure libskey is built before libpam. It is required for one of
the PAM modules.

Fix the comments describing the PAM dependencies to be consistent
with other related comments.
1998-11-20 02:03:52 +00:00
jdp
c20f2a7f07 Add libpam to the "includes" and "libraries" targets.
Build the ordered list of libraries in a variable "_libs" before
building any of them.  This eliminates a little bit of duplicated
code.  More importantly, it makes it easier to include or exclude
libraries with .if constructs, because the list can be built in
multiple steps using "+=".
1998-11-18 01:59:39 +00:00
jdp
3a0b04df61 Note the requirement that libcrypt be built before libkrb. 1998-11-18 00:40:38 +00:00
jb
d311800b95 Remove share/info from build tools because it breaks the build when
INFODIR is set.
1998-11-15 10:03:12 +00:00
jdp
1dadb98c2e Add libradius and libtacplus to the includes target. Note their
dependence on libmd.
1998-11-13 00:59:00 +00:00
msmith
a987679a11 Typo , -> .
Submitted by:	Shaun Courtney <shaun@emma.eng.uct.ac.za>
1998-11-05 07:54:05 +00:00
peter
ce2301cff0 sys/modules/linux has a build-tools target 1998-11-05 04:38:28 +00:00
peter
574454984e Add usr.bin/gensetdefs to build-tools; it is used for src/sys/modules and
maybe for other things that use linker sets under ELF.
1998-11-04 12:43:46 +00:00
bde
c30fd488f4 Don't add /usr/games to $PATH. Adding it here can only work for the
`make world' case, and only made a difference for the evil NOTOOLS case
of `make world' since games tools are installed in ${TOOLROOT}/usr/bin
if they are built, but the PR was for normal builds.  This is fixed
in rev.1.14 of src/games/fortune/datfiles/Makefile.

PR:		7936
1998-10-17 11:56:20 +00:00
bde
e46f762bf8 Fixed missing directories in the libraries target:
- in the elf case, csu must be built and installed before any shared
  libraries.  It wasn't, but we usually used a stale version that
  happened to work.  E.g., in the !NOTOOLS case we used the version
  built and installed by the bootstrap-libraries target.  Only cross
  building was completely broken.
- the shared libmd must be built and installed before any shared
  libraries that link to it.  It wasn't, but we sometimes used a stale
  version that happened to work, as above.  For elf, this caused
  bogus linkage of the target shared libatm and libopie with the host
  static libmd.  It isn't clear what this actually breaks, except for
  cross compiling.  For aout, the shared libmd is not built at all, so
  all shared libraries linked to libmd may be broken.  The linker
  reports them by spewing RRS warnings.

Note that building src/lib early and building subdirs of src/lib in
the correct order in src/lib/Makefile doesn't help, since the subdirs
are all built before any are installed.

Fixed bitrot in the comments about the ordering requirements.
1998-10-16 14:22:54 +00:00
rnordier
9f64b89556 Include btxld in build-tools only for i386. 1998-10-13 10:01:32 +00:00
jkh
444ef199f2 Conditionalise boot block building on i386. 1998-10-13 08:13:32 +00:00
rnordier
9076017523 Remove sys/boot from the install as well. 1998-10-11 19:02:27 +00:00
rnordier
a305e37727 In src/Makefile.inc1:
Remove /sys/boot from legacy-build.
    Add btxld to build-tools.
In src/sys/Makefile:
    Add /sys/boot for i386 ELF.

I'm still not sure why the new boot code was being built along with the
legacy stuff, which meant a completely wrong default environment for it.

This may well still be the wrong way to go about this, but it can't work
all that much worse than it has been.
1998-10-11 18:39:38 +00:00
peter
3cdd9c00a0 Comment about libm and libmd being needed for some libraries.
Prompted by: bde

Also. Don't build & install legacy lkm's when NOLKM has been set.
Otherwise it gets built in the src tree rather than obj, because the
previous 'make obj' at the start of legacy-build does respect NOLKM.
1998-10-11 07:41:31 +00:00
jkh
7b33b809b5 Move OBJFORMAT hack to the correct line; what can I say, it was very
late. :)
1998-10-10 19:56:59 +00:00
kato
b33672608e PC-98 uses different boot code from IBM-PC. So, MACHINE is used
instead of MACHINE_ARCH.

Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-10-10 11:16:08 +00:00
jkh
3e885396fd Quick commit to see if I can't fix Robert's i386/boot problem in one line.
If this doesn't work, we'll try something else.
1998-10-10 10:54:54 +00:00
jkh
4c8784324b Don't chain makes with &&; apparently this is evil for parallelism.
According to:	bde
1998-10-10 08:21:18 +00:00
jkh
994e0550ef Clean up the boot targets a bit.
Suggested by:	jdp
1998-10-09 22:22:34 +00:00
jkh
e28c3668b2 Make both types of boot targets. 1998-10-08 09:40:17 +00:00
msmith
5dfd833d41 Add libstand to the includes target. 1998-10-05 08:06:45 +00:00
sos
671f43fd74 Backout my last commit.
Find another way to get the LKM's rebuild.
1998-09-26 01:30:36 +00:00
sos
e6830769f7 Build the LKM's both on aout & ELF systems.
Reviewed by: jkh
1998-09-25 08:58:49 +00:00