summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/rtems/bsd/local/opt_dpaa.h')
-rw-r--r--rtemsbsd/include/rtems/bsd/local/opt_dpaa.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h b/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
index a369fca2..bb9fb7af 100644
--- a/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
+++ b/rtemsbsd/include/rtems/bsd/local/opt_dpaa.h
@@ -1,4 +1,5 @@
#include <bsp.h>
+
#ifdef LIBBSP_POWERPC_QORIQ_BSP_H
#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
#include <bsp/qoriq.h>
@@ -6,6 +7,14 @@
#else
#define QORIQ_CHIP_IS_T_VARIANT(x) 0
#endif
+
+#ifdef QORIQ_IS_HYPERVISOR_GUEST
+#define SDK_DPAA_COMPAT_STATIC
+#else
+#define SDK_DPAA_COMPAT_STATIC static
+#endif
+
#undef __ppc_generic
#define __ppc_generic
+
#define KBUILD_MODNAME "dpaa"