mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
drvmgr: Install header files conditionally
The --enable-drvmgr configure option controls the driver manager startup
and not if the driver manager is present or not. Presence of the driver
manager is determined by the architecture (only available on sparc so
far).
Partially revert 4719019486.
This commit is contained in:
1 parent
297aa075dc
commit
93244a9769
2 files changed
+4
-1
No files matched your search
@@ -242,10 +242,12 @@ include_rtems_HEADERS += libmisc/untar/untar.h
|
||||
include_rtems_HEADERS += libmisc/fsmount/fsmount.h
|
||||
|
||||
## Driver manager
|
||||
if LIBDRVMGR
|
||||
include_drvmgrdir = $(includedir)/drvmgr
|
||||
include_drvmgr_HEADERS = libdrvmgr/drvmgr.h
|
||||
include_drvmgr_HEADERS += libdrvmgr/drvmgr_confdefs.h
|
||||
include_drvmgr_HEADERS += libdrvmgr/drvmgr_list.h
|
||||
endif
|
||||
|
||||
## HACK: doxygen filter.
|
||||
EXTRA_DIST = doxy-filter
|
||||
|
||||
@@ -527,6 +527,7 @@ $(PROJECT_INCLUDE)/rtems/fsmount.h: libmisc/fsmount/fsmount.h $(PROJECT_INCLUDE)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fsmount.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fsmount.h
|
||||
|
||||
if LIBDRVMGR
|
||||
$(PROJECT_INCLUDE)/drvmgr/$(dirstamp):
|
||||
@$(MKDIR_P) $(PROJECT_INCLUDE)/drvmgr
|
||||
@: > $(PROJECT_INCLUDE)/drvmgr/$(dirstamp)
|
||||
@@ -543,4 +544,4 @@ PREINSTALL_FILES += $(PROJECT_INCLUDE)/drvmgr/drvmgr_confdefs.h
|
||||
$(PROJECT_INCLUDE)/drvmgr/drvmgr_list.h: libdrvmgr/drvmgr_list.h $(PROJECT_INCLUDE)/drvmgr/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/drvmgr/drvmgr_list.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/drvmgr/drvmgr_list.h
|
||||
|
||||
endif
|
||||
Reference in new issue
Block a user