[rtems-libbsd commit] link01: Only include fxp on pc386

Joel Sherrill joel at rtems.org
Tue Jul 17 18:06:19 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    19ffee0716af4fd8eed0ac885fce631d85ffb99f
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=19ffee0716af4fd8eed0ac885fce631d85ffb99f

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Jul 17 13:09:58 2012 -0500

link01: Only include fxp on pc386

---

 testsuite/link01/test.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/testsuite/link01/test.c b/testsuite/link01/test.c
index 684a7d2..422e7f5 100644
--- a/testsuite/link01/test.c
+++ b/testsuite/link01/test.c
@@ -61,8 +61,11 @@ rtems_task Init(
 #include <freebsd/machine/rtems-bsd-sysinit.h>
 
 #define CONFIGURE_NEED_NET
-#define CONFIGURE_NEED_PCIB
-#define CONFIGURE_NEED_NET_IF_FXP
+/* only include FXP and PCI for i386/pc386 for debug on qemu (for now) */
+#if defined(i386)
+  #define CONFIGURE_NEED_PCIB
+  #define CONFIGURE_NEED_NET_IF_FXP
+#endif
 
 /*
  * This is correct for the PC




More information about the vc mailing list