--includedir ignored
Exploring some of the configure options with the view to generating a Debian rule and I noticed a bug (?) in the make files - Passing an --includedir option to configure, during the install phase, the given directory path is ignored and make eventually bombs out when trying to create an asm/ symlink.
Checking the include/ Makefile.am and it's siblings, I note includedir is
overridden by $(prefix)/include/<skin> and $(prefix)/include/asm-<arch>, yet include/Makefile.am honours the $(includedir) config variable when attempting to create the symlink.
Also noted that include/compat/ headers don't get installed - Is this, and
the $(includedir) issue an oversight ?
Regards, Paul.
Quoted 5 lines · Paul
Exploring some of the configure options with the view to generating a Debian rule and I noticed a bug (?) in the make files - Passing an --includedir option to configure, during the install phase, the given directory path is ignored and make eventually bombs out when trying to create an asm/ symlink.
Quoted 7 lines
Checking the
include/Makefile.am and it's siblings, I note includedir is
overridden by $(prefix)/include/<skin> and $(prefix)/include/asm-<arch>, yetinclude/Makefile.amhonours the $(includedir) config variable when attempting to create the symlink.Also noted that
include/compat/headers don't get installed - Is this, and
the $(includedir) issue an oversight ?
include/compat is not installed on purpose, since what goes to $(prefix)/include is aimed at compiling user-space code only, and files under the compat/ root are placeholders for compiling Xenomai-enabled 2.4 kernels.
However, the includedir issue is clearly a bug of mine.
Quoted 8 lines
Regards, Paul.
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.
Quoted 4 lines · Philippe Gerum
include/compatis not installed on purpose, since what goes to $(prefix)/include is aimed at compiling user-space code only, and files under the compat/ root are placeholders for compiling Xenomai-enabled 2.4 kernels.
OK - That makes sense.. If the compat/ includes are specific to 2.4 kernels, then there would be little reason to put them in any 2.6 patches.
Regards, Paul.