Skip to contentSkip to conversation

--includedir ignored

Xenomai-core Paul 2 participants 3 messages Mar 5, 2007 – Mar 7, 2007

lore
Share & tools
lore

Paul

author
#0 lore raw

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.

#1 lore raw
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>, 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 ?

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.
author
#2 lore raw
Quoted 4 lines · Philippe Gerum

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.

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.