Changeset 50058 in vbox for trunk/src/VBox/Devices/Network/lwip-new/Makefile.kmk
- Timestamp:
- Jan 13, 2014 3:58:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/lwip-new/Makefile.kmk
r50057 r50058 95 95 96 96 97 97 98 define _def_vbox_lwip_use # VAR_BaseName, path/to/lwip/dir 98 99 $(strip $1)_SOURCES += \ … … 103 104 endef 104 105 105 define def_vbox_lwip_flags # VAR_BaseName, path/to/lwip/dir 106 $(strip $1)_INCS += $(foreach incdir, $(LWIP_INCS), $(strip $2)/$(incdir)) 106 107 define def_vbox_lwip_flags # PROTO_BaseName, VAR_BaseName, path/to/lwip/dir 108 # add anything configured for the component via PROTO_BaseName 109 $(foreach suffix, INCS DEFS, 110 $(if $(value $(strip $1)_LWIP_$(suffix)), 111 $(eval # 112 $(strip $2)_$(suffix) += $(value $(strip $1)_LWIP_$(suffix)) 113 ))) 114 115 # add lwip's own includes 116 $(strip $2)_INCS += $(foreach incdir, $(LWIP_INCS), $(strip $3)/$(incdir)) 107 117 endef 118 108 119 109 120 ### … … 117 128 define def_vbox_lwip_public # VAR_BaseName, path/to/lwip/dir 118 129 $(eval $(call _def_vbox_lwip_use, $1, $2)) 119 $(eval $(call def_vbox_lwip_flags, $1, $ 2))130 $(eval $(call def_vbox_lwip_flags, $1, $1, $2)) 120 131 endef 132 121 133 122 134 ### … … 131 143 $(eval $(call _def_vbox_lwip_use, $1, $2)) 132 144 $(foreach file, $(LWIP_SOURCES), \ 133 $(eval $(call def_vbox_lwip_flags, $ (strip $2)/$(file), $2)))145 $(eval $(call def_vbox_lwip_flags, $1, $(strip $2)/$(file), $2))) 134 146 endef 135 147
Note:
See TracChangeset
for help on using the changeset viewer.