3

export kernel header files

view full story
linux-howto

http://forums.fedoraforum.org – Hi, I am trying to export certain header files in FC11 (2.6.29.4-167.fc11.i686.PAE) using headers_install make target. I naively added "unifdef-y += xfs_fs.h" to include/linux/Kbuild to export xfs_fs.h but that apparently is not sufficient: Any idea what I am missing here? I did not see the need to config/rebuild kernel in this case. Thanks a lot! Amol ~/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.i686$ make headers_install CHK include/linux/version.h make[1]: `scripts/unifdef' is up to date. make[2]: *** No rule to make target `/home/dixit/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.i686/include/linux/xfs_fs.h', needed by `/home/dixit/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.i686/usr/include/linux/.install'. Stop. make[1]: *** [linux] Error 2 make: *** [headers_install] Error 2 (HowTos)