Commit Graph

3017 Commits

Author SHA1 Message Date
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
ross
b9e3ec284d Add the -T etc_pkg arg back to the MAKEDEV install. 2003-10-25 03:55:26 +00:00
jdolecek
3b77895e3d adjust the device descriptions for better MAKEDEV(8) manpage output
note PF is not in tree (for the manpage)
2003-10-24 23:39:42 +00:00
ross
ebbe98fcaf Now that MAKEDEV is generated, just do an ordinary ${INSTALL_FILE} instead
of going back to the source dir (and losing) with ${ETC_INSTALL_FILE}
2003-10-24 22:39:51 +00:00
jdolecek
1b00681156 switch over to unified MAKEDEV 2003-10-24 20:12:04 +00:00
jdolecek
dd2276a2ee make friendlier to objdir builds; now expect the caller to set ETCDIR
to the directory with src/etc; top of kernel sources is assumed
to be ETCDIR/../sys

fix error message for case when platform MAKEDEV.conf is not found
2003-10-24 19:57:36 +00:00
jdolecek
930959c6c0 fix floppy & ramdisk targets 2003-10-24 11:05:23 +00:00
jdolecek
9e9c552bb7 g/c SCSI-related entries 2003-10-24 10:26:44 +00:00
jdolecek
b2607ae4cb make 'sd' optional 2003-10-24 10:25:08 +00:00
jdolecek
6108862993 fix pasto in pty target 2003-10-24 08:41:11 +00:00
jdolecek
3b5469b94c fix various mistakes, such as using hardcoded majors or typos/pastos
add some more necessary device entries
introduce makedisk_minimal() and use it to create the CD-ROM & md entries;
this procedure only creates 'a' and RAW_PART device entries
remove pf from 'all' target - it's not part of tree, so shouldn't be
created by default
2003-10-24 08:29:57 +00:00
jdolecek
53d9446257 fix handling of ARM ports' majors file
fix handling of sbmips majors - it uses the evbmips majors

fetch information about platform RAW_PART, and make it available
to MAKEDEV.tmpl
2003-10-24 08:27:26 +00:00
jdolecek
1eeb241e42 sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
2003-10-24 08:20:26 +00:00
matt
72bc77e103 No INSTALL kernel for ofppc. 2003-10-24 05:01:39 +00:00
jdolecek
7234f6fb3c don't put GENERIC into BUILD_KERNELS 2003-10-22 20:40:42 +00:00
jdolecek
a9b5015c6d fix bug in pty target (pasto from some other port) 2003-10-22 20:22:26 +00:00
jdolecek
c5808c177b no dmoverio either 2003-10-22 17:13:50 +00:00
jdolecek
bc7edb6f2d add stic0 to 'all' (used to be created in alpha 'wscons' target) 2003-10-22 17:09:50 +00:00
jdolecek
0f5caa8622 no apm 2003-10-22 17:08:50 +00:00
jdolecek
ed841056c7 no USB/openfirm on acorn32, remove from lists
put back some stuff which was in the original MAKEDEV lists
2003-10-20 17:56:35 +00:00
jdolecek
4c5a46429b use tty0 instead of com0 2003-10-20 16:42:13 +00:00
jdolecek
520acde2ae com0/com1 is exactly tty00/tty01, so g/c them from the list 2003-10-20 16:41:39 +00:00
fredb
836389dfbc Supply the usual default setting of $commmand. Omission pointed out by
Launey Thomas in private mail.
2003-10-20 16:09:15 +00:00
christos
b5aee30a01 set fsck_flags=-p in /etc/defaults/rc.conf instead of checking if it is
empty in /etc/rc.d/fsck. From Bernd Ernesti.
2003-10-20 15:02:15 +00:00
jdolecek
fbdef6175b remove entry for clockctl; that is created in the MI 'all' target 2003-10-19 19:08:59 +00:00
jdolecek
7a46124ea4 determine the platform number of disk partitions by looking
at MAXPARTITIONS/OLDMAXPARTITIONS in kernel sources, so that it wouldn't
need to be specified separately in MAKEDEV.conf

change platform MAKEDEV.conf to contain only MD targets and nothing else;
simplify the parsing in MAKEDEV.awk accordingly
2003-10-19 19:07:26 +00:00
jdolecek
cf58aa2b57 remove copyright notice accidentaly carried over from the hp300
MAKEDEV script
2003-10-19 18:50:35 +00:00
jdolecek
c852a48a4f g/c audio0-3 (created by target 'audio')
g/c wscons-related devices (all created by target 'wscons')
2003-10-19 17:32:13 +00:00
jdolecek
3d2b1548ac g/c audio0-3 (created by target 'audio')
g/c duplicate ttyv0 entry
2003-10-19 17:30:35 +00:00
jdolecek
808373beb6 use target 'wscons' to create wscons-related devices; this creates
also some additional control devices besides the terminal devices, which
are needed for full operation
2003-10-19 17:29:08 +00:00
jdolecek
54bd322b10 no need to duplicate creation of wskbd/wsmouse - target 'wscons'
creates these
2003-10-19 17:26:24 +00:00
jdolecek
7822738b47 use 'audio' target to create audio devices, instead of creating
/dev/audio0-3; 'audio' makes some additional device files which are
necessary for full operation
2003-10-19 17:24:14 +00:00
jdolecek
46bdb9f87e target 'audio' creates /dev/audio0-3, g/c the duplicit entries creating
the files again
2003-10-19 17:22:42 +00:00
jdolecek
7c7f293c24 add platform MAKEDEV config file for unified MAKEDEV, based on info
from platform MAKEDEV script
2003-10-19 17:06:30 +00:00
fredb
663be81e89 Allow for a syntax extension for "ntp.conf" with ntp 4.2.0. 2003-10-19 13:31:28 +00:00
fredb
b703c0fa68 Use "$command", instead of hard-coded "ntpdate", so that the user can
override the path using the usual mechanisms.
2003-10-19 13:23:57 +00:00
wiz
a5e3bdad73 Add ibmnws {cat,html,man}8. 2003-10-19 09:08:40 +00:00
matt
14573b928a Add ibmnws specific files. (XXX someone should checkout MAKEDEV and make
it complies with how MAKEDEV is done now).
2003-10-19 03:36:45 +00:00
fvdl
82729ccc95 Really remove ed0 and ed1 2003-10-18 23:23:43 +00:00
matt
4480d87326 Fix iso-image support. 2003-10-18 03:00:05 +00:00
jdolecek
1af201c35f g/c ed0/ed1 nodes, the hardware is not present on amd64 2003-10-17 19:22:58 +00:00
jdolecek
ad4acc4abb allow also tty[0-9] for serial ports, they are convenient synonyms
for tty0[0-9]
as pointed out by David Laight

remove spaces between makedisk_p*() functions, so the output script looks
neater once some of them are filtered out
2003-10-17 19:06:33 +00:00
jdolecek
edf6a76108 improve error checking, and bail out early, instead of looping
when filtering the template, leave only the wanted makedisk_p*() routine
in the output
as pointed out by David Laight

also make it mandatory for MACHINE and MACHINE_ARCH to be set in
environment; it would be possible to use use uname -p/-m, but better
to catch possible cross-build mistakes sooner than later
2003-10-17 19:01:49 +00:00
jdolecek
20282f8b2e change minor of /dev/zero for ARM ports to 12, so that it is same as on other
ports; follows the kernel change
2003-10-17 17:56:28 +00:00
itojun
89159c0540 minor KNF 2003-10-15 21:40:49 +00:00
jdolecek
401cc27682 read the MD MAKEDEV.conf file and appropriately massage the template
contents; outputs fully functional MAKEDEV script now
2003-10-15 19:43:00 +00:00
jdolecek
db5fa0cba5 add MI 'all' target - this calls MD 'all_md' and then creates miscellaneous
devices supported on all plaforms

and MI 'init' target, which just calls 'all'; this is used if platform
doesn't define it's own 'init' target
2003-10-15 19:16:01 +00:00
jdolecek
7126da0813 MD part of unified MAKEDEV
this contains information about disk partitions used by platform,
and MD MAKEDEV targets, such as 'init', MD part of 'all',
as well as any other MD-specific targets not covered by MAKEDEV.tmpl
2003-10-15 19:13:32 +00:00
christos
e2ba1d7082 Allow overrides via fsck_flags 2003-10-15 17:38:04 +00:00
jdolecek
5351b51128 the main parts of new unified MAKEDEV framework - MAKEDEV template
and script for generating the MD MAKEDEV
this is work in progress, some parts are still missing
2003-10-13 09:37:45 +00:00