Sponsored Content
Operating Systems Linux Automate compiling of linux kernel Post 302380323 by Corona688 on Monday 14th of December 2009 09:50:20 PM
Old 12-14-2009
I'm not positive, but I think
Code:
export KCONFIG_CONFIG=path/to/.config_file
make

will tell it to use that particular configuration file. Or you could just replace the .config file with whatever alternative configuration you want and that's what it will build.

Last edited by Corona688; 12-14-2009 at 10:56 PM..
 

10 More Discussions You Might Find Interesting

1. Tips and Tutorials

Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it

Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it( almost same steps to upgrade to 2.6.11 and above ....note--> also check additional documentation) ############################################################# 1. First of... (0 Replies)
Discussion started by: fed.linuxgossip
0 Replies

2. UNIX for Advanced & Expert Users

problem when compiling and installing the kernel

hello; i'm trying to install a new kernel in fedora core 5 i'm using the following command: /usr/src/linux-2.6.15.1# make && make modules && make modules_install && make install but i always have the following error: ld: édition de lien finale en échec: Aucun espace disponible sur le périphérique ... (1 Reply)
Discussion started by: jalil smail
1 Replies

3. Red Hat

Compiling 2.6 Kernel. :confused:

Dear Linux Masters, I need ur help in the following: 1. Compiling 2.6 kernel. 2. my Redhat system is 2.4 kernel how to add 2.6 kernel. 3. I need minimum feature in 2.6 ( most probably related to networking) Please let me know if any sites to download 2.6 kernel. Can u all please help me... (2 Replies)
Discussion started by: ashokmeti
2 Replies

4. UNIX for Dummies Questions & Answers

Compiling Mach 3.0 Kernel

Hi, I am very new to this. I would like to compile the Mach 3.0 kernel. Can someone explain, step-by-step, how to turn all the Mach 3.0 kernel code into a single binary file that will run directly on an x86 computer? Also, once (and if) I get it working, what software works on it? My goal is... (2 Replies)
Discussion started by: dublinus
2 Replies

5. Linux

Help Cross compiling a kernel for an HP Jornada 728

Hello, I just bought an old Jornada 728 and, as you may know, it comes with Windows CE 3.0. I do not use Windows, so i wanted to create my own linux system for the Jornada. I know there are projects like Jlime, Familiar Linux, 720 Degrees, etc. But i want something based on the distribution i... (1 Reply)
Discussion started by: semash!
1 Replies

6. UNIX for Dummies Questions & Answers

Compiling Kernel for an Embedded System

-----Edit----- My original post was long and confusing. To sum it up, I am wondering how to do the following Debian based commands on an RPM type system. dpkg -i XXX.deb update-initramfs -k xxx -c update-grub I hope someone can provide some insight. Thanks in advance! --------------... (0 Replies)
Discussion started by: b4sakenxx
0 Replies

7. Linux

kernel compiling

Hello, I have several questions to get awnsered about the newer linux kernels (2.6.25) and above. 1st question: Ive read that the newer kernels you can compile the marvell sd8686 driver from the source. can anyone confrim this? only binaries i see for that driver are for 2.6.24 and im already... (0 Replies)
Discussion started by: old noob
0 Replies

8. UNIX for Dummies Questions & Answers

Error while compiling the kernel 3.3.1.

Hi I m using redhat 6 with kernel release 2.6.32-71.el6.i686 I have downloaded latest kernel 3.3.1 from kernel.org . when i run make module_install i get below error. # make modules_install /usr/src/kernels/linux-3.3.1/scripts/depmod.sh: line 37: 11314 Killed ... (0 Replies)
Discussion started by: pinga123
0 Replies

9. UNIX for Advanced & Expert Users

drbd module compiling error for Kernel

Hi I am trying to install drbd8 via apt-get on ubuntu10 sudo apt-get install drbd8-source password for vishals: Reading package lists... Done Building dependency tree Reading state information... Done drbd8-source is already the newest version. drbd8-source set to manually installed. 0... (0 Replies)
Discussion started by: vishal_vsh1
0 Replies

10. UNIX for Beginners Questions & Answers

Missing Modules After Compiling Kernel

I'm a little embarrassed after all these years I've never really successfully compiled my own kernel. I used this guide to make the following files: linux-headers-5.1.9_5.1.9-1_amd64.deb linux-image-5.1.9_5.1.9-1_amd64.deb linux-libc-dev_5.1.9-1_amd64.deb When I first booted into this... (4 Replies)
Discussion started by: Azrael
4 Replies
Log::Dispatch::Configurator::Any(3pm)			User Contributed Perl Documentation		     Log::Dispatch::Configurator::Any(3pm)

NAME
Log::Dispatch::Configurator::Any - Configurator implementation with Config::Any VERSION
version 1.110690 SYNOPSIS
In the traditional Log::Dispatch::Config way: use Log::Dispatch::Config; # loads Log::Dispatch use Log::Dispatch::Configurator::Any; my $config = Log::Dispatch::Configurator::Any->new('log.yml'); Log::Dispatch::Config->configure($config); # nearby piece of code my $log = Log::Dispatch::Config->instance; $log->alert('Hello, world!'); Alternatively, without a config file on disk: use Log::Dispatch::Config; # loads Log::Dispatch use Log::Dispatch::Configurator::Any; my $confhash = { dispatchers => ['screen]', screen = { class => 'Log::Dispatch::Screen', min_level => 'debug', }, }; my $config = Log::Dispatch::Configurator::Any->new($confhash); Log::Dispatch::Config->configure($config); # nearby piece of code my $log = Log::Dispatch::Config->instance; $log->alert('Hello, world!'); DESCRIPTION
Log::Dispatch::Config is a wrapper for Log::Dispatch and provides a way to configure Log::Dispatch objects with configuration files. Somewhat like a lite version of log4j and Log::Log4perl it allows multiple log destinations. The standard configuration file format for Log::Dispatch::Config is AppConfig. This module plugs in to Log::Dispatch::Config and allows the use of other file formats, in fact any format supported by the Config::Any module. As a bonus you can also pass in a configuration data structure instead of a file name. PURPOSE
Use this module in combination with Log::Dispatch::Config to allow many formats of configuration file to be loaded, via the Config::Any module. USAGE
Follow the examples in the "SYNOPSIS". If you are using an external configuration file, be aware that you are required to use a filename extension (e.g. ".yml" for YAML). Below are a couple of tips and tricks you may find useful. Fall-back default config Being able to use a configuration data structre instead of a file on disk is handy when you want to provide application defaults which the user then replaces with their own settings. For example you could have the following: my $defaults = { dispatchers => ['screen'], screen => { class => 'Log::Dispatch::Screen', min_level => 'debug', }, }; my $config_file = '/etc/myapp_logging.conf'; my $config = $ENV{MYAPP_LOGGING_CONFIG} || $ARGV[0] || ( -e $config_file ? $config_file : $defaults); Log::Dispatch::Config->configure_and_watch( Log::Dispatch::Configurator::Any->new($config) ); my $dispatcher = Log::Dispatch::Config->instance; With the above code, your application will check for a filename in an environment variable, then a filename as a command line argument, then check for a file on disk, and finally use its built-in defaults. Dealing with a "dispatchers" list Log::Dispatch::Config requires that a global setting "dispatchers" have a list value (i.e. your list of dispatchers). A few config file formats do not support list values at all, or list values at the global level (two examples being Config::Tiny and Config::General). This module allows you to have a small grace when there is only one dispatcher in use. Write the configuration file normally, and the single-item "dispatchers" value will automatically be promoted to a list. In other words: # myapp.ini dispatchers = screen # this becomes a config of: $config = { dispatchers => 'screen', ... }; # so this module promotes it to: $config = { dispatchers => ['screen'], ... }; If you want more than one dispatcher, you then need to use a config file format which supports these lists natively, I'm afraid. A good suggestion might be YAML. THANKS
My thanks to "miyagawa" for writing Log::Dispatch::Config, from where I also took some tests. Also thanks to Florian Merges for his YAML Configurator, which was a useful example and saved me much time. AUTHOR
Oliver Gorwits <oliver@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by University of Oxford. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2011-03-10 Log::Dispatch::Configurator::Any(3pm)
All times are GMT -4. The time now is 11:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy