Advertisement
k5t4j5

Untitled

Apr 25th, 2014
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. source- https://github.com/DirtyUnicorns-KitKat/build/blob/du-44/core/node_fns.mk
  2.  
  3.  
  4.  
  5.  
  6. my build/core/node_fns.mk
  7.  
  8.  
  9.  
  10.  
  11. # _include_stack contains the list of included files, with the most recent files first.
  12. define _import-node
  13. $(eval _include_stack := $(2) $$(_include_stack))
  14. $(call clear-var-list, $(3))
  15. $(eval LOCAL_PATH := $(patsubst %/,%,$(dir $(2))))
  16. $(eval MAKEFILE_LIST :=)
  17. $(eval include $(2))
  18. $(eval _included := $(filter-out $(2),$(MAKEFILE_LIST)))
  19. $(eval MAKEFILE_LIST :=)
  20. $(eval LOCAL_PATH :=)
  21. $(call copy-var-list, $(1).$(2), $(3))
  22. $(call clear-var-list, $(3))
  23.  
  24. $(eval $(1).$(2).inherited := \
  25. $(call get-inherited-nodes,$(1).$(2),$(3)))
  26. $(call _import-nodes-inner,$(1),$($(1).$(2).inherited),$(3))
  27.  
  28. $(call _expand-inherited-values,$(1),$(2),$(3))
  29.  
  30. $(eval $(1).$(2).inherited :=)
  31. $(eval _include_stack := $(wordlist 2,9999,$$(_include_stack)))
  32. endef
  33.  
  34.  
  35.  
  36.  
  37. ERROR= build/core/node_fns.mk:185: *** unterminated call to function `call': missing `)'. Stop.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement