Changeset 1642d27 in rtems


Ignore:
Timestamp:
Jul 18, 2014, 10:29:29 AM (5 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
4.11, master
Children:
3f9cd87d
Parents:
0b9fe3ec
git-author:
Christian Mauderer <Christian.Mauderer@…> (07/18/14 10:29:29)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/11/14 06:01:26)
Message:

bsp/altera-cyclone-v: Add socal from hwlib.

Some of the headers from the hwlib need the files from the socal subdirectory.

Location:
c/src/lib/libbsp/arm/altera-cyclone-v
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am

    r0b9fe3ec r1642d27  
    1111
    1212include_bspdir = $(includedir)/bsp
     13include_bsp_socaldir = $(includedir)/bsp/socal
    1314include_libcpudir = $(includedir)/libcpu
    1415
     
    2829
    2930include_bsp_HEADERS =
     31include_bsp_socal_HEADERS =
     32
    3033include_bsp_HEADERS += ../../shared/include/utility.h
    3134include_bsp_HEADERS += ../../shared/include/irq-generic.h
     
    7275#The following Altera hwlib headers would be problematic with RTEMS:
    7376#include_bsp_HEADERS += hwlib/include/alt_interrupt.h
    74 #All header files from hwlib/include/socal are regarded as BSP
    75 #internal and thus not installed
     77
     78# Some of the headers from hwlib need the files from socal. Install them.
     79include_bsp_socal_HEADERS += hwlib/include/socal/alt_clkmgr.h
     80include_bsp_socal_HEADERS += hwlib/include/socal/alt_gpio.h
     81include_bsp_socal_HEADERS += hwlib/include/socal/alt_i2c.h
     82include_bsp_socal_HEADERS += hwlib/include/socal/alt_l3.h
     83include_bsp_socal_HEADERS += hwlib/include/socal/alt_rstmgr.h
     84include_bsp_socal_HEADERS += hwlib/include/socal/alt_sdr.h
     85include_bsp_socal_HEADERS += hwlib/include/socal/alt_sysmgr.h
     86include_bsp_socal_HEADERS += hwlib/include/socal/alt_uart.h
     87include_bsp_socal_HEADERS += hwlib/include/socal/hps.h
     88include_bsp_socal_HEADERS += hwlib/include/socal/socal.h
    7689
    7790include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/arm-cp15.h
  • c/src/lib/libbsp/arm/altera-cyclone-v/preinstall.am

    r0b9fe3ec r1642d27  
    3434PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3535
     36$(PROJECT_INCLUDE)/bsp/socal/$(dirstamp):
     37        @$(MKDIR_P) $(PROJECT_INCLUDE)/bsp/socal
     38        @: > $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     39PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     40
    3641$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
    3742        @$(MKDIR_P) $(PROJECT_INCLUDE)/libcpu
     
    175180PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/hwlib.h
    176181
     182$(PROJECT_INCLUDE)/bsp/socal/alt_clkmgr.h: hwlib/include/socal/alt_clkmgr.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     183        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_clkmgr.h
     184PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_clkmgr.h
     185
     186$(PROJECT_INCLUDE)/bsp/socal/alt_gpio.h: hwlib/include/socal/alt_gpio.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     187        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_gpio.h
     188PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_gpio.h
     189
     190$(PROJECT_INCLUDE)/bsp/socal/alt_i2c.h: hwlib/include/socal/alt_i2c.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     191        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_i2c.h
     192PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_i2c.h
     193
     194$(PROJECT_INCLUDE)/bsp/socal/alt_l3.h: hwlib/include/socal/alt_l3.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     195        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_l3.h
     196PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_l3.h
     197
     198$(PROJECT_INCLUDE)/bsp/socal/alt_rstmgr.h: hwlib/include/socal/alt_rstmgr.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     199        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_rstmgr.h
     200PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_rstmgr.h
     201
     202$(PROJECT_INCLUDE)/bsp/socal/alt_sdr.h: hwlib/include/socal/alt_sdr.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     203        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_sdr.h
     204PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_sdr.h
     205
     206$(PROJECT_INCLUDE)/bsp/socal/alt_sysmgr.h: hwlib/include/socal/alt_sysmgr.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     207        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_sysmgr.h
     208PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_sysmgr.h
     209
     210$(PROJECT_INCLUDE)/bsp/socal/alt_uart.h: hwlib/include/socal/alt_uart.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     211        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/alt_uart.h
     212PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/alt_uart.h
     213
     214$(PROJECT_INCLUDE)/bsp/socal/hps.h: hwlib/include/socal/hps.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     215        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/hps.h
     216PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/hps.h
     217
     218$(PROJECT_INCLUDE)/bsp/socal/socal.h: hwlib/include/socal/socal.h $(PROJECT_INCLUDE)/bsp/socal/$(dirstamp)
     219        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/socal/socal.h
     220PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/socal/socal.h
     221
    177222$(PROJECT_INCLUDE)/libcpu/arm-cp15.h: ../../../libcpu/arm/shared/include/arm-cp15.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
    178223        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/arm-cp15.h
Note: See TracChangeset for help on using the changeset viewer.