Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- source- https://github.com/DirtyUnicorns-KitKat/build/blob/du-44/core/node_fns.mk
- my build/core/node_fns.mk
- # _include_stack contains the list of included files, with the most recent files first.
- define _import-node
- $(eval _include_stack := $(2) $$(_include_stack))
- $(call clear-var-list, $(3))
- $(eval LOCAL_PATH := $(patsubst %/,%,$(dir $(2))))
- $(eval MAKEFILE_LIST :=)
- $(eval include $(2))
- $(eval _included := $(filter-out $(2),$(MAKEFILE_LIST)))
- $(eval MAKEFILE_LIST :=)
- $(eval LOCAL_PATH :=)
- $(call copy-var-list, $(1).$(2), $(3))
- $(call clear-var-list, $(3))
- $(eval $(1).$(2).inherited := \
- $(call get-inherited-nodes,$(1).$(2),$(3)))
- $(call _import-nodes-inner,$(1),$($(1).$(2).inherited),$(3))
- $(call _expand-inherited-values,$(1),$(2),$(3))
- $(eval $(1).$(2).inherited :=)
- $(eval _include_stack := $(wordlist 2,9999,$$(_include_stack)))
- endef
- ERROR= build/core/node_fns.mk:185: *** unterminated call to function `call': missing `)'. Stop.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement