2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>

* asm.h: New (stub file. For consistency with other ports, only).
	* Makefile.am: Add asm.h.
This commit is contained in:
Ralf Corsepius
2004-04-13 15:03:04 +00:00
parent 3411bac464
commit bd00319d39
4 changed files with 83 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
* asm.h: New (stub file. For consistency with other ports, only).
* Makefile.am: Add asm.h.
2004-04-12 Ralf Corsepius <ralf_corsepius@rtems.org>
* rtems/score/cpu.h: Remove defining _POSIX_C_SOURCE for solaris.
+12
View File
@@ -6,6 +6,9 @@ include $(top_srcdir)/automake/compile.am
AM_CPPFLAGS += -DCPU_SYNC_IO
include_rtemsdir = $(includedir)/rtems
include_rtems_HEADERS = asm.h
include_rtems_scoredir = $(includedir)/rtems/score
include_rtems_score_HEADERS = rtems/score/types.h rtems/score/cpu.h \
rtems/score/unix.h
@@ -25,6 +28,15 @@ all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a
PREINSTALL_DIRS =
PREINSTALL_FILES =
$(PROJECT_INCLUDE)/rtems/$(dirstamp):
@$(mkdir_p) $(PROJECT_INCLUDE)/rtems
@: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
$(PROJECT_INCLUDE)/rtems/asm.h: asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h
$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
@$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
@: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
+33
View File
@@ -0,0 +1,33 @@
/* asm.h
*
* This include file attempts to address the problems
* caused by incompatible flavors of assemblers and
* toolsets. It primarily addresses variations in the
* use of leading underscores on symbols and the requirement
* that register names be preceded by a %.
*
* This file is a "just an incomplete stub" and provided for consistency
* with other ports, only.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#ifndef __UNIX_ASM_h
#define __UNIX_ASM_h
/*
* Indicate we are in an assembly file and get the basic CPU definitions.
*/
#ifndef ASM
#define ASM
#endif
#include <rtems/score/cpuopts.h>
#include <rtems/score/unix.h>
#endif
+33
View File
@@ -0,0 +1,33 @@
/* asm.h
*
* This include file attempts to address the problems
* caused by incompatible flavors of assemblers and
* toolsets. It primarily addresses variations in the
* use of leading underscores on symbols and the requirement
* that register names be preceded by a %.
*
* This file is a "just an incomplete stub" and provided for consistency
* with other ports, only.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#ifndef __UNIX_ASM_h
#define __UNIX_ASM_h
/*
* Indicate we are in an assembly file and get the basic CPU definitions.
*/
#ifndef ASM
#define ASM
#endif
#include <rtems/score/cpuopts.h>
#include <rtems/score/unix.h>
#endif