forked from Imagelibrary/rtems
score/cpu/or1k: Add cpuatomic.h to fix broken build.
4e3d9a4d6c broke or1k, cpuatomic.h has to
be added to all architectures.
This commit is contained in:
committed by
Joel Sherrill
parent
461a9302bc
commit
3358d62fe7
@@ -11,13 +11,12 @@ include_rtems_scoredir = $(includedir)/rtems/score
|
||||
|
||||
include_rtems_score_HEADERS =
|
||||
include_rtems_score_HEADERS += rtems/score/cpu.h
|
||||
include_rtems_score_HEADERS += rtems/score/cpuatomic.h
|
||||
include_rtems_score_HEADERS += rtems/score/cpu_asm.h
|
||||
include_rtems_score_HEADERS += rtems/score/types.h
|
||||
include_rtems_score_HEADERS += rtems/score/or1k.h
|
||||
include_rtems_score_HEADERS += rtems/score/or1k-utility.h
|
||||
|
||||
|
||||
|
||||
noinst_LIBRARIES = libscorecpu.a
|
||||
|
||||
libscorecpu_a_SOURCES =
|
||||
|
||||
@@ -31,6 +31,10 @@ $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/cpuatomic.h: rtems/score/cpuatomic.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h
|
||||
|
||||
14
cpukit/score/cpu/or1k/rtems/score/cpuatomic.h
Normal file
14
cpukit/score/cpu/or1k/rtems/score/cpuatomic.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* COPYRIGHT (c) 2012-2013 Deng Hengyi.
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#ifndef _RTEMS_SCORE_ATOMIC_CPU_H
|
||||
#define _RTEMS_SCORE_ATOMIC_CPU_H
|
||||
|
||||
#include <rtems/score/cpustdatomic.h>
|
||||
|
||||
#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */
|
||||
Reference in New Issue
Block a user