Changeset 63006 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Aug 4, 2016 8:26:59 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/lwip-new/Makefile.kmk
r63005 r63006 97 97 98 98 define _def_vbox_lwip_use # VAR_BaseName, path/to/lwip/dir 99 $(strip $1)_SOURCES += \ 100 $(foreach file, $(LWIP_SOURCES), $(strip $2)/$(file)) 101 102 # if individual lwip files need special settings, add them here: 103 # $(strip $2)/src/foo/bar.c_CFLAGS += -magic 99 $(strip $1)_SOURCES += $(foreach file, $(LWIP_SOURCES), $(strip $2)/$(file)) 104 100 endef 105 101 … … 108 104 # add anything configured for the component via PROTO_BaseName 109 105 $(foreach suffix, INCS DEFS, 110 $(if $(value $(strip $1)_LWIP_$(suffix)), 111 $(eval # 112 $(strip $2)_$(suffix) += $(value $(strip $1)_LWIP_$(suffix)) 113 ))) 106 $(if $(value $(strip $1)_LWIP_$(suffix)), $(eval $(strip $2)_$(suffix) += $(value $(strip $1)_LWIP_$(suffix)) ),)) 114 107 115 108 # add lwip's own includes … … 142 135 define def_vbox_lwip_private # VAR_BaseName, path/to/lwip/dir 143 136 $(eval $(call _def_vbox_lwip_use, $1, $2)) 144 $(foreach file, $(LWIP_SOURCES), \ 145 $(eval $(call def_vbox_lwip_flags, $1, $(strip $2)/$(file), $2))) 137 $(foreach file, $(LWIP_SOURCES), $(eval $(call def_vbox_lwip_flags, $1, $(strip $2)/$(file), $2))) 146 138 endef 147 139 … … 158 150 Network/lwip-new/test/unit/udp/test_udp.c 159 151 endif 152
Note:
See TracChangeset
for help on using the changeset viewer.