Fix general PowerPC build

This commit is contained in:
Sebastian Huber
2017-10-26 15:02:24 +02:00
parent 936b597a57
commit 45149ec24e
6 changed files with 30 additions and 5 deletions

View File

@@ -1,3 +1,11 @@
#include <bsp.h>
#ifdef LIBBSP_POWERPC_QORIQ_BSP_H
#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
#include <bsp/qoriq.h>
#endif
#else
#define QORIQ_CHIP_IS_T_VARIANT(x) 0
#endif
#undef __ppc_generic
#define __ppc_generic
#define KBUILD_MODNAME "dpaa"