3 # d: show subdirectory tree
4 # t: show added targets
5 # l: show legacy targets
14 $$(findstring $(2),$$(if
$$(DEBUG_DIR
),$$(if
$$(filter $$(DEBUG_DIR
)%,$(1)),$(build_debug
)),$(build_debug
)))
18 $$(if
$(call debug
,$(1),$(2)),$$(warning
$(3)))
22 $(call warn
,$(1),$(2),$(3) $(4))
26 SUBTARGETS
:=clean download prepare compile
install update refresh prereq
29 $(call warn_eval
,$(1),t
,T
,$(1)/$(2): $($(1)/) $(foreach bd
,$(if
$($(1)/builddirs-
$(2)),$($(1)/builddirs-
$(2)),$($(1)/builddirs
)),$(1)/$(bd
)/$(2)))
33 # Parameters: <subdir>
35 $(call warn
,$(1),d
,D
$(1))
36 $(foreach bd
,$($(1)/builddirs
),
37 $(call warn
,$(1),d
,BD
$(1)/$(bd
))
38 $(foreach target
,$(SUBTARGETS
),
39 $(call warn_eval
,$(1)/$(bd
),t
,T
,$(1)/$(bd
)/$(target
): $($(1)/$(bd
)/$(target
)) $(call
$(1)//$(target
),$(1)/$(bd
)))
40 @
+$$(MAKE
) -j1
-C
$(1)/$(bd
) $(target
)
43 $(call warn_eval
,$(1)/$(bd
),l
,T
,$(1)/$(bd
)-$(target
): $(1)/$(bd
)/$(target
))
46 $(foreach target
,$(SUBTARGETS
),$(call subtarget
,$(1),$(target
)))
49 # Parameters: <subdir> <name>
51 $(1)/stamp
:=$(STAGING_DIR
)/stampfiles
/.
$(2)_installed
52 $(call rdep
,$(1),$$($(1)/stamp
))
55 @
+$(MAKE
) $(1)/install
56 @mkdir
-p
$$$$(dirname
$$($(1)/stamp
))
58 .PRECIOUS
: $$($(1)/stamp
) # work around a make bug
60 $(1)//clean:=$(1)/stamp
/clean
61 $(1)/stamp
/clean: FORCE
This page took 0.045699 seconds and 5 git commands to generate.