forked from Imagelibrary/rtems
Per suggestions of Eric Valette <valette@crf.canon.fr> and Jay
Kulpinski <jskulpin@eng01.gdds.com>, the bsp_specs now defines USE_ENHANCED_INTR_API and powerpc/shared/include/bsp.h uses that to enable its tm27 support.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
%rename link old_link
|
||||
|
||||
*cpp:
|
||||
%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
|
||||
%(old_cpp) %{qrtems: -D__embedded__ -DUSE_ENHANCED_INTR_API} -Asystem(embedded)
|
||||
|
||||
*lib:
|
||||
%{!qrtems: %(old_lib)} %{qrtems: --start-group \
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
#ifndef LIBBSP_POWERPC_MCP750_BSP_H
|
||||
#define LIBBSP_POWERPC_MCP750_BSP_H
|
||||
#ifndef LIBBSP_POWERPC_MOTOROLA_SHARED_BSP_H
|
||||
#define LIBBSP_POWERPC_MOTOROLA_SHARED_BSP_H
|
||||
|
||||
#include <rtems.h>
|
||||
#include <console.h>
|
||||
@@ -60,7 +60,7 @@ extern int BSP_connect_clock_handler (void);
|
||||
* TM27 stuff
|
||||
*/
|
||||
|
||||
#if defined(MCP750) && defined(RTEMS_TM27)
|
||||
#if defined(USE_ENHANCED_INTR_API) && defined(RTEMS_TM27)
|
||||
|
||||
#define MUST_WAIT_FOR_INTERRUPT 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user