Changeset fe1aa9c0 in rtems


Ignore:
Timestamp:
Dec 21, 2011, 12:21:49 PM (8 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
3bb4122
Parents:
3681925
git-author:
Daniel Hellstrom <daniel@…> (12/21/11 12:21:49)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:17)
Message:

LEON: added network device configuration helper function

Location:
c/src/lib/libbsp/sparc
Files:
2 added
5 edited

Legend:

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

    r3681925 rfe1aa9c0  
    8484EXTRA_DIST += shared/include/i2cmst.h
    8585
     86# Network configuration
     87EXTRA_DIST += shared/net/network_interface_add.c
     88EXTRA_DIST += shared/include/network_interface_add.h
     89
    8690# Driver Manager
    8791EXTRA_DIST += shared/drvmgr/ambapp_bus.c
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r3681925 rfe1aa9c0  
    167167endif
    168168
     169# BSP Network configuration
     170include_HEADERS += ../../sparc/shared/include/network_interface_add.h
     171libbsp_a_SOURCES += ../../sparc/shared/net/network_interface_add.c
     172endif
     173
    169174libbsp_a_LIBADD = \
    170175    ../../../libcpu/@RTEMS_CPU@/access.rel \
  • c/src/lib/libbsp/sparc/leon2/preinstall.am

    r3681925 rfe1aa9c0  
    167167PREINSTALL_FILES += $(PROJECT_INCLUDE)/drvmgr/leon2_amba_bus.h
    168168
     169$(PROJECT_INCLUDE)/network_interface_add.h: ../../sparc/shared/include/network_interface_add.h $(PROJECT_INCLUDE)/$(dirstamp)
     170        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/network_interface_add.h
     171PREINSTALL_FILES += $(PROJECT_INCLUDE)/network_interface_add.h
     172endif
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r3681925 rfe1aa9c0  
    192192endif
    193193
     194# BSP Network configuration
     195if HAS_NETWORKING
     196include_HEADERS += ../../sparc/shared/include/network_interface_add.h
     197libbsp_a_SOURCES += ../../sparc/shared/net/network_interface_add.c
     198endif
     199
    194200EXTRA_DIST = shmsupp/README
    195201if HAS_MP
  • c/src/lib/libbsp/sparc/leon3/preinstall.am

    r3681925 rfe1aa9c0  
    194194        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/drvmgr/ambapp_bus.h
    195195PREINSTALL_FILES += $(PROJECT_INCLUDE)/drvmgr/ambapp_bus.h
     196
     197if HAS_NETWORKING
     198$(PROJECT_INCLUDE)/network_interface_add.h: ../../sparc/shared/include/network_interface_add.h $(PROJECT_INCLUDE)/$(dirstamp)
     199        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/network_interface_add.h
     200PREINSTALL_FILES += $(PROJECT_INCLUDE)/network_interface_add.h
     201endif
Note: See TracChangeset for help on using the changeset viewer.