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