Changeset 414
- Timestamp:
- Oct 7, 2012, 12:27:48 AM (10 years ago)
- Location:
- branches/contrib/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/contrib/plugins/README
r410 r414 19 19 plugin.mk is included by the plugins.mk Makefile. The suggested usage is to 20 20 add a plugin's target as a prerequisite of an existing DebWrt target. The 21 plugin's target will then be invoked before that DebWrt target. 21 plugin's target will then be invoked before that DebWrt target. The variable 22 $(PLUGIN_NAME) will be set to the name (directory) of the plugin during the 23 time Make is parsing the file, beware it WILL change afterwards (very tricky to 24 use!). 22 25 23 26 Make targets to manage plugings. Normally only needed when developing a plugin. Targets: -
branches/contrib/plugins/plugins.mk
r410 r414 26 26 endif 27 27 28 -include $(addprefix plugins/,$(addsuffix /plugin.mk,$(PLUGIN_LIST))) 28 $(foreach plugin,$(PLUGIN_LIST),$(eval PLUGIN_NAME:=$(plugin))\ 29 $(eval -include $(addprefix plugins/,$(addsuffix /plugin.mk,$(plugin))))) 30 PLUGIN_NAME:=\<invalid\> 29 31 30 32 ##need to resolve the -p0 vs -p1 issue first
Note: See TracChangeset
for help on using the changeset viewer.