Commit 1b403c98 authored by Sam Ravnborg's avatar Sam Ravnborg

kbuild/doc: Delete instructions about running make dep

Patch from: YOSHIFUJI Hideaki <yoshfuji@wide.ad.jp>

make dep is obsolete - so remove it from the documentation
at various places
parent cc79cb64
......@@ -471,8 +471,6 @@ when configuring the kernel. Build the kernel image in the usual way
</Para>
<Para><screen>
make dep
make clean
make bzlilo
......
......@@ -212,7 +212,6 @@ replacing "/usr/src" with wherever you keep your Linux kernel source tree:
patch -p0 < DAC960.patch (if DAC960.patch is included)
cd linux
make config
make depend
make bzImage (or zImage)
Then install "arch/i386/boot/bzImage" or "arch/i386/boot/zImage" as your
......
......@@ -30,9 +30,9 @@ Compilation of kernel
eg.
CROSS_COMPILE=arm-linux-
Do a 'make config', followed by 'make dep', and finally 'make Image' to
build the kernel (arch/arm/boot/Image). A compressed image can be built
by doing a 'make zImage' instead of 'make Image'.
Do a 'make config', followed by 'make Image' to build the kernel
(arch/arm/boot/Image). A compressed image can be built by doing a
'make zImage' instead of 'make Image'.
Bug reports etc
......
......@@ -16,7 +16,6 @@ To build the kernel with current defaults:
make assabet_config
make oldconfig
make dep
make zImage
The resulting kernel image should be available in linux/arch/arm/boot/zImage.
......
......@@ -8,7 +8,6 @@ To compile for Brutus, you must issue the following commands:
make brutus_config
make config
[accept all the defaults]
make dep
make zImage
The resulting kernel will end up in linux/arch/arm/boot/zImage. This file
......
......@@ -26,7 +26,6 @@ will suffice:
make cerf_config
make xconfig
make dep
make zImage
cp arch/arm/boot/zImage <TFTP directory>
......
......@@ -7,7 +7,6 @@ To build the kernel:
make huw_webpanel_config
make oldconfig
[accept all defaults]
make dep
make zImage
Mostly of the work is done by:
......
......@@ -13,7 +13,7 @@ serial console (to see what you're doing). No other devices have been
enabled.
To build, do a "make menuconfig" (or xmenuconfig) and select Itsy support.
Disable Flash and LCD support. and then do a make dep and a make zImage.
Disable Flash and LCD support. and then do a make zImage.
Finally, you will need to cd to arch/arm/boot/tools and execute a make there
to build the params-itsy program used to boot the kernel.
......
......@@ -8,7 +8,6 @@ To compile for Pangolin, you must issue the following commands:
make pangolin_config
make oldconfig
make dep
make zImage
Supported peripherals:
......
......@@ -35,7 +35,6 @@ Building the Kernel
change Linux makefile
make adi_evb_config
make oldconfig
make dep
make zImage
Loading Linux
......
......@@ -39,7 +39,6 @@ Building the Kernel
-----------------------------
make iq80310_config
make oldconfig
make dep
make zImage
This will build an image setup for BOOTP/NFS root support. To change this,
......
......@@ -37,7 +37,6 @@ Building the Kernel
-----------------------------
make iq80321_config
make oldconfig
make dep
make zImage
This will build an image setup for BOOTP/NFS root support. To change this,
......
......@@ -56,7 +56,7 @@ Compiling the kernel
2) then do a
make dep; make clean; make zImage; make modules
make clean; make zImage; make modules
3) do the usual things to install a new image (backup the old one, run
`rdev -R zImage 1', copy the new image in place, run lilo). Might
......
......@@ -37,7 +37,7 @@ configuration for your kernel. If you want to use the GoldStar driver
like a module, don't select 'GoldStar CDROM support'. By the way, you
have to include the iso9660 filesystem.
Now start compiling the kernel with 'make dep ; make zImage'.
Now start compiling the kernel with 'make zImage'.
If you want to use the driver as a module, you have to do 'make modules'
and 'make modules_install', additionally.
Install your new kernel as usual - maybe you do it with 'make zlilo'.
......
......@@ -229,7 +229,7 @@ To install:
second, third, or fourth controller installed, do not say "y" to the
secondary Matsushita CD-ROM questions.
3. Then do a "make dep", then make the kernel image ("make zlilo" or similar).
3. Then make the kernel image ("make zlilo" or similar).
4. Make the device file(s). This step usually already has been done by the
MAKEDEV script.
......
......@@ -60,12 +60,11 @@ c) Set address on ISA cards then:
or
edit /etc/modules.conf if needed (module).
or both to match this setting.
d) Run "make dep"
e) Run "make modules"
f) Run "make modules_install"
g) Run "/sbin/depmod -a"
h) install driver using `modprobe ip2 <options>` (options listed below)
i) run ip2mkdev (either the script below or the binary version)
d) Run "make modules"
e) Run "make modules_install"
f) Run "/sbin/depmod -a"
g) install driver using `modprobe ip2 <options>` (options listed below)
h) run ip2mkdev (either the script below or the binary version)
Kernel installation:
......@@ -77,13 +76,12 @@ b) Run "make config" or "make menuconfig" or "make xconfig"
c) Set address on ISA cards then:
edit /usr/src/linux/drivers/char/ip2.c
(Optional - may be specified on kernel command line now)
d) Run "make dep"
e) Run "make zImage" or whatever target you prefer.
f) mv /usr/src/linux/arch/i386/boot/zImage to /boot.
g) Add new config for this kernel into /etc/lilo.conf, run "lilo"
d) Run "make zImage" or whatever target you prefer.
e) mv /usr/src/linux/arch/i386/boot/zImage to /boot.
f) Add new config for this kernel into /etc/lilo.conf, run "lilo"
or copy to a floppy disk and boot from that floppy disk.
h) Reboot using this kernel
i) run ip2mkdev (either the script below or the binary version)
g) Reboot using this kernel
h) run ip2mkdev (either the script below or the binary version)
Kernel command line options:
......@@ -176,7 +174,6 @@ all cards will operate in polled mode.
If you select the driver as part of the kernel run :
make depend
make zlilo (or whatever you do to create a bootable kernel)
If you selected a module run :
......
......@@ -710,9 +710,8 @@ The Kernel
Finally, you need to make sure devfs is compiled into your kernel. Set
CONFIG_EXPERIMENTAL=y, CONFIG_DEVFS_FS=y and CONFIG_DEVFS_MOUNT=y by
using favourite configuration tool (i.e. make config or
make xconfig) and then make dep; make clean and then
recompile your kernel and modules. At boot, devfs will be mounted onto
/dev.
make xconfig) and then make clean and then recompile your kernel and
modules. At boot, devfs will be mounted onto /dev.
If you encounter problems booting (for example if you forgot a
configuration step), you can pass devfs=nomount at the kernel
......
......@@ -504,7 +504,7 @@ to e.g. the Internet:
cd /usr/src/linux
make menuconfig
<ISDN subsystem - ISDN support -- HiSax>
make clean; make dep; make zImage; make modules; make modules_install
make clean; make zImage; make modules; make modules_install
2. Install the new kernel
cp /usr/src/linux/arch/i386/boot/zImage /etc/kernel/linux.isdn
vi /etc/lilo.conf
......
......@@ -254,19 +254,18 @@ Content
a. cd /usr/src/linux
b. make clean /* take a few minutes */
c. make dep /* take a few minutes */
d. make bzImage /* take probably 10-20 minutes */
e. Backup original boot kernel. /* optional step */
f. cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz
g. Please make sure the boot kernel (vmlinuz) is in the
c. make bzImage /* take probably 10-20 minutes */
d. Backup original boot kernel. /* optional step */
e. cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz
f. Please make sure the boot kernel (vmlinuz) is in the
correct position. If you use 'lilo' utility, you should
check /etc/lilo.conf 'image' item specified the path
which is the 'vmlinuz' path, or you will load wrong
(or old) boot kernel image (vmlinuz).
h. chmod 400 /vmlinuz
i. lilo
j. rdev -R /vmlinuz 1
k. sync
g. chmod 400 /vmlinuz
h. lilo
i. rdev -R /vmlinuz 1
j. sync
Note that if the result of "make zImage" is ERROR, then you have to
go back to Linux configuration Setup. Type "make config" in directory
......
......@@ -93,7 +93,6 @@ Released 1994-06-13
(else included in the kernel:)
# make config (answer yes on CONFIG _NET, _INET and _DE600 or _DE620)
# make clean
# make depend
# make zImage (or whatever magic you usually do)
o I use lilo to boot multiple kernels, so that I at least
......
......@@ -108,7 +108,6 @@ All you will need to do in order to install the driver is:
make config
(be sure to choose ARCnet in the network devices
and at least one chipset driver.)
make dep
make clean
make zImage
......
......@@ -437,8 +437,8 @@ Also add:
into the /usr/src/linux/drivers/net directory.
3.) Go to /usr/src/linux directory and run 'make config' followed by 'make dep'
and finally 'make' (or make bzImage) to rebuild the kernel.
3.) Go to /usr/src/linux directory and run 'make config' followed by 'make'
(or make bzImage) to rebuild the kernel.
4.) Use the DOS 'setup' utility to disable plug and play on the NIC.
......
......@@ -215,8 +215,6 @@ Building the driver into kernel
on "SiS 900/7016 PCI Fast Ethernet Adapter support" when configuring
the kernel. Build the kernel image in the usual way
make dep
make clean
make bzlilo
......
......@@ -79,7 +79,6 @@ Here are the installation steps in detail:
(If you wish to disable 3215 console support, edit
.config; change CONFIG_TN3215's value to "n";
and rerun "make oldconfig".)
make dep
make image
make modules
make modules_install
......
......@@ -597,7 +597,6 @@ replacing "/usr/src" with wherever you keep your Linux kernel source tree:
patch -p0 < BusLogic.patch (only for 2.0.33 and below)
cd linux
make config
make depend
make zImage
Then install "arch/i386/boot/zImage" as your standard kernel, run lilo if
......
......@@ -102,7 +102,6 @@ using "qa_test" (esp. io_test script) suite modified from Unix tests.
Installation:
make menuconfig
(select SCSI low-level, Compaq FC HBA)
make dep
make modules
make modules_install
......
......@@ -15,7 +15,7 @@ with this one.
Of course you should time how long each build takes :-)
Example:
make config
time -v sh -c 'make dep ; make clean install modules modules_install'
time -v sh -c 'make clean install modules modules_install'
If you are using some Compaq MP compliant machines you will need to set
the operating system in the BIOS settings to "Unixware" - don't ask me
......
......@@ -114,8 +114,7 @@ the README takes precedence.
Blaster, etc., select M (module) for OSS sound modules.
[thanks to Marvin Stodolsky <stodolsk@erols.com>]A
5. Make the kernel (e.g., make dep ; make bzImage), and install
the kernel.
5. Make the kernel (e.g., make bzImage), and install the kernel.
6. Make the modules and install them (make modules; make modules_install).
......
......@@ -722,8 +722,8 @@ To configure the driver, run "make config" in the kernel source directory
(after the questions about mouse, CD-ROM, ftape, etc. support). Questions
about options for sound will then be asked.
After configuring the kernel and sound driver, run "make dep" and compile
the kernel following instructions in the kernel README.
After configuring the kernel and sound driver and compile the kernel
following instructions in the kernel README.
The sound driver configuration dialog
-------------------------------------
......
......@@ -139,7 +139,6 @@ PART THREE: configure your kernel
soundcards you want support for)
make dep
make boot
.
.
......
......@@ -363,7 +363,7 @@ modules. The command string for the final compile looks like this:
1. cp .config /tmp
2. make mrproper
3. cp /tmp/.config .
4. make dep;make clean;make bzImage;make modules;make modules_install
4. make clean;make bzImage;make modules;make modules_install
This rebuilds both the kernel and all the modules and makes sure they all
have the same linkages. This generally solves the problem once the new
......
......@@ -50,8 +50,7 @@ configuration. The appropriate flags are:
With these flags, the kernel should compile and install the modules.
To record and monitor the compilation, I use:
(make dep; \
make zlilo ; \
(make zlilo ; \
make modules; \
make modules_install ;
depmod -a ) &>log &
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment