Commit Graph

135 Commits

Author SHA1 Message Date
jnemeth
306bc7a8b5 shared library bumps; undoubtably there will be many more 2009-01-11 13:26:29 +00:00
tsutsui
36e401605d Reorganize lists for MD modules:
- move MD module files from md.* into separate module.* lists
- make those module lists per MACHINE_CPU or MACHINE_ARCH,
  rather than per MACHINE

Tested on several ports.

XXX maybe we should also move usr/tests/modules/k_helper/k_helper.kmod
XXX from lists/tests/mi to lists/tests/module.mi and disable it on evbppc.
2008-11-29 17:57:33 +00:00
martin
c0355a8c33 Move the exec_elf32 module into MD files. 2008-11-23 15:47:42 +00:00
ad
92ce8c6a3d Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
2008-11-19 18:35:57 +00:00
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
mrg
9b0170606d make MKPIC=no builds work on i368, shark, vax, pmax, sgimips, sparc,
maybe all mips and all arm as well.
2008-10-31 20:24:51 +00:00
mrg
cff71853e3 fix MKPIC=no builds. 2008-10-31 03:34:49 +00:00
lukem
421b8d4ecc Add "dynamicroot" keyword to various entries in /lib and /libexec.
PR 33503
2008-08-25 07:58:37 +00:00
jmmv
4aae46826d Add missing kernel modules to the file lists. i386 untested because the
build is broken (for me at least).
2008-08-05 01:00:20 +00:00
kent
78e5efcf6e build and install azalia.kmod for amd64 and i386. 2008-06-26 16:10:35 +00:00
ad
14cd43625f Install kernel modules into the proper locations, taking machine and
kernel version into account.
2008-05-20 19:01:10 +00:00
jmcneill
adb4d61725 Add radeondrm kmod 2008-05-18 21:14:51 +00:00
jmcneill
904fcecc76 Add drm and i915drm kmods 2008-05-18 20:55:54 +00:00
xtraeme
126b0d446f Build and install by default the following LKMs on i386 and amd64:
aps(4), finsio(4), itesio(4), nsclpcsio(4), smsc(4) and ug(4).

These drivers aren't enabled in GENERIC kernels, so having the LKMs
in base will simplify future testing.
2008-05-01 21:51:20 +00:00
dyoung
05e738a7c8 Add /usr/mdec/mbr_com0{,_9600}. Sort. 2008-01-19 23:30:08 +00:00
dyoung
1db95ef542 Sort. 2008-01-19 23:29:29 +00:00
christos
6cb99b54c6 add acpitools 2007-01-14 04:45:18 +00:00
dsl
c3c91bb346 Add the 512-byte bootxx_fat16 2007-01-06 20:49:59 +00:00
he
9975d46f43 Move ndiscvt to be an i386 MD program, so that this matches what the
Makefile specifies -- it only builds the program for i386 so far.
2006-04-19 21:53:12 +00:00
xtraeme
8173ef37e7 AMD PowerNow LKM contributed by Olaf 'Rhialto' Seibert. 2006-01-11 00:18:28 +00:00
dsl
5bc344755a Mark pxeboot_ia32_com0.bin obsolete.
Serial pxeboot can be generated by applying 'installboot -e' to pxeboot.
2005-11-12 09:41:28 +00:00
scw
76bcd7f008 ./usr/sbin/iwictl is now mi. 2005-10-29 08:17:18 +00:00
dyoung
00d2915456 Build and install /usr/mdec/bootxx_cd9660, a primary boot loader
for ISO9660 filesystems.
2005-10-06 08:22:58 +00:00
wiz
429d29ed4f Add dummy_pci and wi_pcmcia lkms. 2005-07-24 13:08:29 +00:00
rpaulo
34048808b6 Add new libm387.so.0.1. 2005-07-21 22:50:44 +00:00
lukem
dfee67134f Make fdisk(8) available on all platforms, since MS-DOS partitioning
is the de-facto standard for many removable media types.
2005-05-22 03:45:30 +00:00
skrll
610de09f75 Update after iwi(4) additions. 2005-01-11 18:59:34 +00:00
lukem
61c4fc8d5c ipw(4) and ipwctl(8) 2004-08-23 13:55:15 +00:00
lukem
90feed6848 Move the lib<foo>.so entry (link) from comp to base, so that
applications on systems without the `comp' set installed can
dlopen() a library without supplying the major number.
2004-08-12 16:07:07 +00:00
lukem
ee7d99d474 reformat whitespace 2004-01-11 10:24:58 +00:00
lukem
b852db83fb Significant overhaul of how the sets are used:
* Add an optional third field to the sets file which is a list of
  comma separated keywords that control if the line is printed.
  Currently supported keywords
	kerberos4	${MKKERBEROS4} != no
	kerberos	${MKKERBEROS} != no
	lint		${MKLINT} != no
	obsolete	${obsolete} != 0.
			In this case, non obsolete files are not printed.
  (This will allow future support for builds with variables such as
  MKHESIOD and MKYP set to "no".)

* Use sh(1)'s getopts where appropriate, and otherwise cleanup the
  various scripts.

* Move defaults for sets.subr from sets.defaults into sets.subr.
  Move replicated code for determining stuff such as shlibs type
  from various scripts into sets.subr.

* Merge the obsolete.*, krb.*, krb4.* and lint.* into the appropriate
  main lists with the relevant third field keyword(s).
2003-12-29 03:13:25 +00:00
lukem
1c33b4e6a4 Overhaul MBR handling (part 1):
<sys/bootblock.h>:
    *	Added definitions for the Master Boot Record (MBR) used by
	a variety of systems (primarily i386), including the format
	of the BIOS Parameter Block (BPB).
	This information was cribbed from a variety of sources
	including <sys/disklabel_mbr.h> which this is a superset of.

	As part of this, some data structure elements and #defines
	were renamed to be more "namespace friendly" and consistent
	with other bootblocks and MBR documentation.
	Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
    *	Deprecated in favor of <sys/bootblock.h> (the latter is more
	"host tool" friendly).

amd64 & i386:
    *	Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
	be consistent with the naming convention of the msdosfs tools.

    *	Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
	and it's confusing to have two functionally equivalent bootblocks,
	especially given that "ufs" has multiple meanings (it could be
	a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

    *	Rework pbr.S (the first sector of bootxx_*):
	    +	Ensure that BPB (bytes 11..89) and the partition table
		(bytes 446..509) do not contain code.
	    +	Add support for booting from FAT partitions if BOOT_FROM_FAT
		is defined.  (Only set for bootxx_msdos).
	    +	Remove "dummy" partition 3; if people want to installboot(8)
		these to the start of the disk they can use fdisk(8) to
		create a real MBR partition table...
	    +	Compile with TERSE_ERROR so it fits because of the above.
		Whilst this is less user friendly, I feel it's important
		to have a valid partition table and BPB in the MBR/PBR.

    *	Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
	with other platforms.

    *	Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
    	we can boot off FAT partitions.

    *	Crank version of /usr/mdec/boot to 3.1, and fix some of the other
	entries in the version file.

installboot(8) (i386):
    *	Read the existing MBR of the filesystem and retain the BIOS
    	Parameter Block (BPB) in bytes 11..89 and the MBR partition
	table in bytes 446..509.  (Previously installboot(8) would
	trash those two sections of the MBR.)

mbrlabel(8):
    *	Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
	to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
2003-10-08 04:25:43 +00:00
christos
29153b1d45 bump libi386 2003-09-11 19:21:00 +00:00
dsl
e141360764 Obsolete i386/amd64 /usr/mdec/biosboot*.sym and /usr/mdec/installboot 2003-07-26 08:43:02 +00:00
thorpej
1abf972108 Add new boot programs. 2003-05-13 05:31:56 +00:00
dsl
4047f3a2a1 Add /usr/mdec/mbr_ext to i386 and amd64 2003-04-30 19:57:42 +00:00
thorpej
de7b2793e0 Back out change that made libpthread per-platform. It is *intentional*
that the build fails on platforms which do not yet have libpthread support.
2003-02-26 22:30:56 +00:00
jmc
e13c2b4818 Not all ports/archs have pthread support. So split this up by the proper arch's
for determining which ones get the libraries. Tested on dreamcast, macppc
and i386 builds to cover non builds, ad and md mods
2003-02-13 23:57:51 +00:00
thorpej
b8ba72b9c8 Add biosboot_com0_{9600,38400,57600,115200}.sym 2003-01-14 23:54:49 +00:00
thorpej
b8c378293f * Clean up the handling of rescue.* files makeflist.
* Move all md.* and ad.* /rescue/... files into their
  own list files.
2002-10-09 01:22:37 +00:00
lukem
2f7d49d929 Enable MKDYNAMICROOT=yes by default.
This means that:
    +	/bin and /sbin (and the few programs in /usr/* which were statically
	linked) are now dynamically linked.
    +	The shared libraries that are needed by the /bin and /sbin programs
	are now installed into /lib (with compatability symlinks from
	/usr/lib).  These are:
		c crypt edit ipsec kvm m m387 termcap termlib util z
    +	The shared linker is now in /libexec/ld.elf_so, and
	/usr/libexec/ld.elf_so is a symlink to the former.

If you want the prior behaviour of "some applications statically linked,
the rest dynamically linked", set MKDYNAMICROOT=no in your mk.conf(5).

If you have a philosophical objection to dynamic libraries, continue
to set LDSTATIC=-static in your mk.conf(5), and please don't waste any
more time in trying to convince us why dynamic libraries are 3v1l.
2002-09-22 15:08:17 +00:00
lukem
a647dca5e8 tweak the ./rescue entries 2002-08-29 01:30:37 +00:00
thorpej
55420f8c67 Add libpmc. 2002-08-09 00:15:57 +00:00
lukem
ded5b486f1 revert a chunk of the previous; we only need foo.so.x and foo.so.x.y moved
from comp to base; foo.so, and foo*.a stay in comp.
2002-07-04 03:23:32 +00:00
itojun
facb67f7a9 move lib[mi]387.so and friends to base/md.i386. PR 17452 2002-07-04 00:52:49 +00:00
kent
df092d3ea8 Add /usr/lkm/compat_pecoff.o 2002-03-25 08:04:06 +00:00
wiz
8d89dacbf0 Add exec_pecoff lkm. 2002-03-24 18:25:58 +00:00
thorpej
72a1f227a8 pxeboot -> pxeboot_ia32, and add pxeboot_ia32_com0 2002-02-20 03:07:08 +00:00
joda
38b981482c fix past-o: netboot_pcnet_wd80x3.rom -> netboot_wd80x3.rom 2002-02-19 08:30:23 +00:00
thorpej
7f18ea71f5 Add new i386 bootloaders. 2002-02-17 20:05:50 +00:00