Changeset 1ccce05 in rtems


Ignore:
Timestamp:
Aug 22, 2017, 8:57:41 AM (2 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
master
Children:
360fb2f
Parents:
3471d3d
git-author:
Daniel Hellstrom <daniel@…> (08/22/17 08:57:41)
git-committer:
Daniel Hellstrom <daniel@…> (08/29/17 06:44:05)
Message:

libchip,greth: disable driver if SMP kernel

Update #2355

Location:
c/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/configure.ac

    r3471d3d r1ccce05  
    2424RTEMS_CHECK_NETWORKING(RTEMS_BSP)
    2525RTEMS_CHECK_POSIX_API(RTEMS_BSP)
     26RTEMS_CHECK_SMP
    2627
    2728AC_MSG_NOTICE([setting up make/custom])
     
    198199
    199200AM_CONDITIONAL([HAS_NETWORKING],[test "$HAS_NETWORKING" = "yes"])
     201AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
    200202
    201203AM_CONDITIONAL(RTEMS_ADA,[test x"$enable_ada" = x"yes" \
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r3471d3d r1ccce05  
    283283if HAS_NETWORKING
    284284noinst_PROGRAMS += leon_greth.rel
     285if !HAS_SMP
    285286libbsp_a_SOURCES += leon_greth/leon_greth.c
     287endif
    286288leon_greth_rel_SOURCES = ../../sparc/shared/net/greth.c
    287289include_bsp_HEADERS += ../../sparc/shared/include/greth.h
  • c/src/libchip/Makefile.am

    r3471d3d r1ccce05  
    3838    network/if_fxpvar.h network/sonic.h
    3939include_libchip_HEADERS += network/open_eth.h network/if_dcreg.h
    40 include_libchip_HEADERS += network/greth.h
    4140libnetchip_a_SOURCES = network/cs8900.c network/dec21140.c network/i82586.c \
    4241    network/sonic.c network/if_fxp.c network/elnk.c network/open_eth.c \
    4342    network/if_dc.c
     43if !HAS_SMP
    4444libnetchip_a_SOURCES += network/greth.c
     45include_libchip_HEADERS += network/greth.h
     46endif
    4547include_libchip_HEADERS += network/smc91111.h network/smc91111exp.h
    4648libnetchip_a_SOURCES += network/smc91111.c network/smc91111config.h
  • c/src/libchip/preinstall.am

    r3471d3d r1ccce05  
    8787PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/if_dcreg.h
    8888
     89if !HAS_SMP
    8990$(PROJECT_INCLUDE)/libchip/greth.h: network/greth.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    9091        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/greth.h
    9192PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/greth.h
    92 
     93endif
    9394$(PROJECT_INCLUDE)/libchip/smc91111.h: network/smc91111.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
    9495        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/smc91111.h
Note: See TracChangeset for help on using the changeset viewer.