Gilles Chanteperdrix wrote:
Philippe Gerum wrote:
> Jan Kiszka wrote:
> > But this raised the question to me again if we really need the "xenomai"
> > prefix for all the skin headers /from within xenomai/. Why not doing the
> > same linking dance for the other skins as well? Or do you also prefer
> > that user include <xenomai/native/task.h> instead of just <native/task.h>?
> We need this for building from within the kernel. Other options would
> require to either alter the Xenomai source tree adding symlinks there,
> pollute linux/include with symlinks to reach the individual Xeno
> components, or refer to some external tree that eventually redirects to
> the Xenomai tree, which is not acceptable in any case.
Maybe we could add EXTRA_CFLAGS=-I$(TOPDIR)/include/xenomai to every
xenomai kernel makefile
While checking the 2.4 builds for ppc and x86, I stumbled upon cases
where we do need this fix right now (e.g. benchmark and 16550A drivers).
So I will handle this global change right after -rc2 is out.