Changeset e629076 in rtems for c/src/lib/libbsp/arm/tms570


Ignore:
Timestamp:
Nov 29, 2016, 10:19:05 PM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
aadd318
Parents:
de7b174e
git-author:
Chris Johns <chrisj@…> (11/29/16 22:19:05)
git-committer:
Chris Johns <chrisj@…> (12/02/16 04:39:56)
Message:

libdebugger: Build for ARM's without a CP15.

Location:
c/src/lib/libbsp/arm/tms570
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/tms570/Makefile.am

    rde7b174e re629076  
    1111
    1212include_bspdir = $(includedir)/bsp
     13include_libcpudir = $(includedir)/libcpu
    1314
    1415include_bsp_ti_herculesdir = $(includedir)/bsp/ti_herc
     
    4647include_bsp_HEADERS += include/tms570-pins.h
    4748include_bsp_HEADERS += include/tms570ls3137zwt-pins.h
     49
     50include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/arm-cp15.h
    4851
    4952include_bsp_ti_hercules_HEADERS = include/ti_herc/reg_adc.h
     
    122125libbsp_a_SOURCES += ../../shared/src/stackalloc.c
    123126libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
     127libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
     128libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
    124129
    125130# Startup
  • c/src/lib/libbsp/arm/tms570/preinstall.am

    rde7b174e re629076  
    3434PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3535
     36$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
     37        @$(MKDIR_P) $(PROJECT_INCLUDE)/libcpu
     38        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
     39PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
     40
    3641$(PROJECT_INCLUDE)/bsp/ti_herc/$(dirstamp):
    3742        @$(MKDIR_P) $(PROJECT_INCLUDE)/bsp/ti_herc
     
    127132PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/tms570ls3137zwt-pins.h
    128133
     134$(PROJECT_INCLUDE)/libcpu/arm-cp15.h: ../../../libcpu/arm/shared/include/arm-cp15.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
     135        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/arm-cp15.h
     136PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/arm-cp15.h
     137
    129138$(PROJECT_INCLUDE)/bsp/ti_herc/reg_adc.h: include/ti_herc/reg_adc.h $(PROJECT_INCLUDE)/bsp/ti_herc/$(dirstamp)
    130139        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/ti_herc/reg_adc.h
Note: See TracChangeset for help on using the changeset viewer.