- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- "make config" and ./configure
Operating System - Linux
1820592
Members
2247
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2003 11:07 AM
тАО12-07-2003 11:07 AM
"make config" and ./configure
I have a question with regards 2 steps in building the new kernel.
One is "make config", another is "./configure", what does these two steps do, and what are differences between these two, and if I have to run both of them.
Thanks!
One is "make config", another is "./configure", what does these two steps do, and what are differences between these two, and if I have to run both of them.
Thanks!
none
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2003 11:17 AM
тАО12-07-2003 11:17 AM
Re: "make config" and ./configure
Hello,
AFAIK there is no ./configure for the kernel sources.
The (ultra) short set of commands:
make mrproper
make config (or variants)
make dep
make bzImage (or variants)
make modules
make modules_install
I highly recommend to read (at least) the README file that comes in the top level directory of the kernel sources.
Greetings, Martin
AFAIK there is no ./configure for the kernel sources.
The (ultra) short set of commands:
make mrproper
make config (or variants)
make dep
make bzImage (or variants)
make modules
make modules_install
I highly recommend to read (at least) the README file that comes in the top level directory of the kernel sources.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2003 11:20 AM
тАО12-07-2003 11:20 AM
Re: "make config" and ./configure
Hello,
"./configure" is not used to build a Linux kernel. It is generally used to build many software programs. It is generated by Autoconf/Automake.
Here are the available methods :
=> Edit .config file in /usr/src/linux : of course, you need to know what you are doing (very difficult).
=> Type "make config" in /usr/src/linux : this is a question&answer method that can be very long because one needs to answer ALL questions, even those about kernel parameters that do not need to be changed. At the end, it creates a ".config" file.
=> Type "make menuconfig" in text mode. It provides a ncurses" menu that makes the configuration easier. Of course, it also creates the ".config" file.
=> Type "make xconfig" : the same in X11 (graphical) mode.
The ".config" file contains kernel compilation parameters such as load or not a specific driver, as module or kernel built-in, etc...
Good luck.
Kodjo
"./configure" is not used to build a Linux kernel. It is generally used to build many software programs. It is generated by Autoconf/Automake.
Here are the available methods :
=> Edit .config file in /usr/src/linux : of course, you need to know what you are doing (very difficult).
=> Type "make config" in /usr/src/linux : this is a question&answer method that can be very long because one needs to answer ALL questions, even those about kernel parameters that do not need to be changed. At the end, it creates a ".config" file.
=> Type "make menuconfig" in text mode. It provides a ncurses" menu that makes the configuration easier. Of course, it also creates the ".config" file.
=> Type "make xconfig" : the same in X11 (graphical) mode.
The ".config" file contains kernel compilation parameters such as load or not a specific driver, as module or kernel built-in, etc...
Good luck.
Kodjo
Learn and explain...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2003 07:47 PM
тАО12-07-2003 07:47 PM
Re: "make config" and ./configure
As mentioned, ./configure is not used for building kernel sources.
configure is a shell script created by automake that creates "make" files based on information it collects from the system.
"make" is a very handy tool that developers use to build applications. It keeps tracks of all the files in an application that depend on each other and when they were last modified. Thus, if you make a change to one of the source files in your application and re-run make, it will build only those bits that need to be re-built. However, cerating a make file is an art unto itself and so the "configure" script is a very handy tool. Typically a make file will have different rules to allow you to do different things. Usually you'll have a "make" on it's own, to build the thing, "make install" will install it but you might have other things like "make clean" to remove all the binaries and stuff, leaving you with a clean source.
The kernel make file includes a "make config" which pretty much only starts up the configure routines allowing you to add compile time options before the "make bzImage" that actually build your new kernel.
configure is a shell script created by automake that creates "make" files based on information it collects from the system.
"make" is a very handy tool that developers use to build applications. It keeps tracks of all the files in an application that depend on each other and when they were last modified. Thus, if you make a change to one of the source files in your application and re-run make, it will build only those bits that need to be re-built. However, cerating a make file is an art unto itself and so the "configure" script is a very handy tool. Typically a make file will have different rules to allow you to do different things. Usually you'll have a "make" on it's own, to build the thing, "make install" will install it but you might have other things like "make clean" to remove all the binaries and stuff, leaving you with a clean source.
The kernel make file includes a "make config" which pretty much only starts up the configure routines allowing you to add compile time options before the "make bzImage" that actually build your new kernel.
Never preceed any demonstration with anything more predictive than "watch this"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP