Hi,
while compiling rtnet 0.9.11 for a mpc5200-based (powerpc) board with
xenomai 2.4.8 on a denx-2.6.29.4 kernel, i had problems while running
the configure script, which wasn't able to find Xenomai headers in the
kernel tree. This is due to the fact that the configure script is
still looking for the arch/ppc obsoleted directory.

The following patch worked for me, but I'm afraid this could break
compatibility with older kernels and/or RTAI/Xenomai releases. There's
probably a better way to do this. Any ideas?

Cheers,
Giammarco

--- a/configure.ac
+++ b/configure.ac
@@ -58,10 +58,14 @@ case "$host" in
        RTNET_TARGET_ARCH=arm
        wanted_kernel_arch=CONFIG_ARM
        ;;
-    powerpc-*|ppc-*)
+    ppc-*)
        RTNET_TARGET_ARCH=ppc
        wanted_kernel_arch=CONFIG_PPC
        ;;
+    powerpc-*)
+        RTNET_TARGET_ARCH=powerpc
+        wanted_kernel_arch=CONFIG_PPC
+        ;;
#    mips-*|mipsel-*)
#       RTNET_TARGET_ARCH=mips
#       wanted_kernel_arch=CONFIG_MIPS

------------------------------------------------------------------------------
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers

Reply via email to