Before we can install the package we have to edit the MCONFIG file, find and modify the following variables as follows:
HAVE_SLN=yes
HAVE_TSORT=yes
Now find the following lines in the MCONFIG file:
ifeq "$(CPU)" "intel"
OPT= -pipe -O2 -m486 -fomit-frame-pointer
else
ifeq "$(CPU)" "arm"
OPT= -pipe -O2 -fsigned-char -fomit-frame-pointer
else
OPT= -O2 -fomit-frame-pointer
endif
endif
Modify the proper OPT variable to include the -mcpu= and -march= options. If you modify the first OPT variable, replace -m486 with the -mcpu variable.
Install Util-Linux by running the following commands:
./configure &&
make &&
make install
The Util-linux package contains the arch, dmesg, kill, more, mount, umount, agetty, blockdev, cfdisk, ctrlaltdel, elvtune, fdisk, fsck.minix, hwclock, kbdrate, losetup, mkfs, mkfs.bfs, mkfs.minix, mkswap, sfdisk, swapoff, swapon, cal, chkdupexe, col, colcrt, colrm, column, cytune, ddate, fdformat, getopt, hexdump, ipcrm, ipcs, logger, look, mcookie, namei, rename, renice, rev, script, setfdprm, setsid, setterm, ul, whereis, write, ramsize, rdev, readprofile, rootflags, swapdev, tunelp and vidmode programs.
arch prints the machine architecture.
dmesg is used to examine or control the kernel ring buffer (boot messages from the kernel).
kill sends a specified signal to the specified process.
more is a filter for paging through text one screenful at a time.
mount mounts a filesystem from a device to a directory (mount point).
umount unmounts a mounted filesystem.
agetty opens a tty port, prompts for a login name and invokes the /bin/login command.
No description available.
cfdisk is an libncurses based disk partition table manipulator.
ctrlaltdel sets the function of the CTRL+ALT+DEL key combination (hard or soft reset).
elvtune allows to tune the I/O elevator per blockdevice queue basis.
fdisk is a disk partition table manipulator.
fsck.minix performs a consistency check for the Linux MINIX filesystem.
hwclock queries and sets the hardware clock (Also called the RTC or BIOS clock).
kbdrate resets the keyboard repeat rate and delay time.
losetup sets up and controls loop devices.
mkfs builds a Linux filesystem on a device, usually a harddisk partition.
mkfs.bfs creates a SCO bfs file system on a device, usually a harddisk partition.
mkfs.minix creates a Linux MINIX filesystem on a device, usually a harddisk partition.
mkswap sets up a Linux swap area on a device or in a file.
sfdisk is a disk partition table manipulator.
swapoff disables devices and files for paging an swapping.
swapon enables devices and files for paging and swapping.
cal displays a simple calender.
chkdupexe finds duplicate executables.
col filters reverse line feeds from input.
colcrt filters nroff output for CRT previewing.
colrm removes columns from a file.
column columnates lists.
cytune queries and modifies the interruption threshold for the Cyclades driver.
ddate converts Gregorian dates to Discordian dates.
fdformat low-level formats a floppy disk.
getops parses command options the same way as the getopt C command.
hexdump displays specified files, or standard input, in a user specified format (ascii, decimal, hexadecimal, octal).
ipcrm removes a specified resource.
ipcs provides information on ipc facilities.
logger makes entries in the system log.
look displays lines beginning with a given string.
mcookie generates magic cookies for xauth.
namei follows a pathname until a terminal point is found.
rename renames files.
renice alters priority of running processes.
rev reverses lines of a file.
script makes typescript of terminal session.
setfdprm sets user-provides floppy disk parameters.
setsid runs programs in a new session.
setterm sets terminal attributes.
ul reads a file and translates occurences of underscores to the sequence which indicates underlining for the terminal in use.
whereis locates a binary, source and manual page for a command.
write sends a message to another user.
ramsize queries and sets RAM disk size.
rdev queries and sets image root device, swap device, RAM disk size, or video mode.
readprofile reads kernel profiling information.
rootflags queries and sets extra information used when mounting root.
swapdev queries and sets swap device.
tunelp sets various paramters for the lp device.
vidmode queries and sets the video mode.