mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-17 10:19:48 +00:00
Add dependency rule for CXX_OBJECTS (fix #719)
This commit is contained in:
parent
de2b5c0925
commit
814652d243
@ -55,6 +55,20 @@ KEEP_SYMBOLS += _ZN10__cxxabiv121__vmi_class_type_infoD0Ev
|
|||||||
KEEP_SYMBOLS += _ZTVN10__cxxabiv119__pointer_type_infoE
|
KEEP_SYMBOLS += _ZTVN10__cxxabiv119__pointer_type_infoE
|
||||||
KEEP_SYMBOLS += _ZTSN10__cxxabiv120__function_type_infoE
|
KEEP_SYMBOLS += _ZTSN10__cxxabiv120__function_type_infoE
|
||||||
|
|
||||||
|
#
|
||||||
|
# Include dependency files for the corresponding object files except
|
||||||
|
# when cleaning.
|
||||||
|
#
|
||||||
|
# Normally, the inclusion of dependency files is handled by 'generic.mk'.
|
||||||
|
# However, the mechanism in 'generic.mk' considers only the dependencies
|
||||||
|
# for the compilation units contained in the 'OBJECTS' variable. For building
|
||||||
|
# the cxx library, we rely on the 'CXX_OBJECTS' variable instead. So we need to
|
||||||
|
# include the dependenies manually.
|
||||||
|
#
|
||||||
|
ifneq ($(filter-out $(MAKECMDGOALS),clean),)
|
||||||
|
-include $(CXX_OBJECTS:.o=.d)
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Rule to link all libc definitions and libsupc++ libraries
|
# Rule to link all libc definitions and libsupc++ libraries
|
||||||
# and to hide after that the exported libc symbols
|
# and to hide after that the exported libc symbols
|
||||||
|
Loading…
Reference in New Issue
Block a user