Changeset 4f09060 in rtems


Ignore:
Timestamp:
Apr 13, 2015, 8:32:50 AM (4 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
bf2c3f8b
Parents:
4a7d1026
git-author:
Daniel Hellstrom <daniel@…> (04/13/15 08:32:50)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:28)
Message:

DRVMGR: only build on SPARC platform

Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Makefile.am

    r4a7d1026 r4f09060  
    241241
    242242## Driver manager
     243if LIBDRVMGR
    243244include_drvmgrdir = $(includedir)/drvmgr
    244245include_drvmgr_HEADERS = libdrvmgr/drvmgr.h
    245246include_drvmgr_HEADERS += libdrvmgr/drvmgr_confdefs.h
    246247include_drvmgr_HEADERS += libdrvmgr/drvmgr_list.h
     248endif
    247249
    248250## HACK: doxygen filter.
  • cpukit/configure.ac

    r4a7d1026 r4f09060  
    427427AM_CONDITIONAL(LIBPCI,[test x"$HAVE_LIBPCI" = x"yes"])
    428428AC_MSG_RESULT([$HAVE_LIBPCI])
     429
     430# Filter libdrvmgr to only build for architectures that have support for it
     431AC_MSG_CHECKING([whether CPU supports libdrvmgr])
     432case $RTEMS_CPU in
     433  sparc)
     434   HAVE_LIBDRVMGR=yes ;;
     435  *)
     436   HAVE_LIBDRVMGR=no ;;
     437esac
     438AM_CONDITIONAL(LIBDRVMGR,[test x"$HAVE_LIBDRVMGR" = x"yes"])
     439AC_MSG_RESULT([$HAVE_LIBDRVMGR])
     440
    429441
    430442RTEMS_AMPOLISH3
  • cpukit/libdrvmgr/Makefile.am

    r4a7d1026 r4f09060  
    11include $(top_srcdir)/automake/compile.am
     2
     3if LIBDRVMGR
    24
    35EXTRA_DIST=
     
    2729libdrvmgr_a_SOURCES += drvmgr_unregister.c
    2830
     31endif
     32
    2933include $(top_srcdir)/automake/local.am
  • cpukit/preinstall.am

    r4a7d1026 r4f09060  
    528528PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fsmount.h
    529529
     530if LIBDRVMGR
    530531$(PROJECT_INCLUDE)/drvmgr/$(dirstamp):
    531532        @$(MKDIR_P) $(PROJECT_INCLUDE)/drvmgr
     
    544545        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/drvmgr/drvmgr_list.h
    545546PREINSTALL_FILES += $(PROJECT_INCLUDE)/drvmgr/drvmgr_list.h
    546 
     547endif
Note: See TracChangeset for help on using the changeset viewer.