Re: 2.4 kernel build system, redhat 8.0/9 tricks and modules building...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2003-12-21 at 11:22, Dimitry V. Ketov wrote:
> I'm trying to figure out how to build any arbitrary module for redhat 8.0/9 kernels...
> 
> As I see, they ship with include/linux/modules populated with *.ver files that rely on some macros defined in /boot/kernel.h and include/linux/rhconfig.h through include/linux/modversions.h that included in every module at compile time.
> 
> Configuration headers include/linux/autoconf.h and include/linux/version.h source include/linux/rhconfig.h as well, so far all seems good with the tricks that speed up building, but we haven't got any dependenÑy files to build modules with the make SUBDIRS=/path/to/module/dir modules command. (Am I right?)
> 
correct

> But if someone tries to build dependencies with the make dep, he lost hacked modversions.h that includes rhconfg.h (make {old,c,menu}config command will reset autoconf.h to defaults as well).

One thing is not clear from your question: are you trying to build
out-of-tree drivers or drivers inside the kernel tree ?
Out of tree drivers ought to just work; they need to provide their own
dependency info if that is really required. In tree you have to start
with a full new build unfortionatly.


Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux