LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2014, 01:21 AM   #1
rohit.bohara
LQ Newbie
 
Registered: Jul 2014
Location: Bangalore
Posts: 1

Rep: Reputation: Disabled
Post reflects the configs of external module in .config file


i have written a external module. i am using a Kbuid file to compile the module.this kbuild file is generating a header file which includes some configs based on the choices given during compilation of module.
i want to compile the modules files based on those configs defined in the generated header file as the same way kernel does by including the generated header autoconf.h . The problem which i am facing is the kbuild system comping the modules files first and generating the header file later.
so i have two question .
1. how can i generate the header before compiling the module files.
2.how can i define config macros for external module and reflect to .config .

thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Module Server config versus Dir Config kenneth_phough Programming 0 11-12-2012 01:51 PM
What log file reflects boot hang reason? Dims Linux - Newbie 15 06-09-2009 03:53 PM
Does your distro of choice reflects you? dv502 General 21 08-17-2007 08:01 PM
configs file in the linux kernel source tree ashlesha Linux - Newbie 7 06-29-2006 05:47 AM
Config file and IEEE1394 module loading help needed BarkingBonefish Linux - Newbie 0 03-11-2004 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration