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:
Joel Sherrill
2000-01-10 15:18:20 +00:00
parent 6e7b6cab8d
commit 94a86c40e2
2 changed files with 4 additions and 4 deletions

View File

@@ -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 \

View File

@@ -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