From 1342fad09c897f2bec6780d96cfb550ba395eb9d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 17 Jan 2018 13:49:44 +0100 Subject: dpaa: Add and use SDK_DPAA_COMPAT_STATIC Update #3277. --- rtemsbsd/include/rtems/bsd/local/opt_dpaa.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'rtemsbsd/include/rtems/bsd/local/opt_dpaa.h') 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 + #ifdef LIBBSP_POWERPC_QORIQ_BSP_H #if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT) #include @@ -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" -- cgit v1.2.3