Skip to content

Commit

Permalink
Merge pull request NetSys#840 from NetSys/include_plugin_mk
Browse files Browse the repository at this point in the history
makefile: allow plugins to inject .mk files
  • Loading branch information
shinae-woo authored Aug 20, 2018
2 parents fc9f723 + 218bb0b commit ee98b1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ endif

-include extra*.mk

# Each plugin may have their own extra Makefile snippets
-include $(addsuffix /extra*.mk,$(PLUGINS))

# Given PLUGINS (set in extra.mk), set up PROTO_PLUGINS,
# DRIVER_PLUGINS, MODULE_PLUGINS, and UTIL_PLUGINS. Note
# that paths in extra.mk are already absolute. Use
Expand Down

0 comments on commit ee98b1b

Please sign in to comment.