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]

 



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?)

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).
Is there any way to compile any module without full cycle rebuilding from make mrproper to make modules?

Thanks in adnvance,
Dimitry.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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