79624238b5a027980f40f0a7a58b60852fa8dbd2
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
28 # Parameters: <subdir>
30 $(call warn
,$(1),d
,D
$(1))
31 $(foreach bd
,$($(1)/builddirs
),
32 $(call warn
,$(1),d
,BD
$(1)/$(bd
))
33 $(foreach target
,$(SUBTARGETS
),
34 $(call warn_eval
,$(1)/$(bd
),t
,T
,$(1)/$(bd
)/$(target
): $($(1)/$(bd
)/$(target
)) $(call
$(1)//$(target
),$(1)/$(bd
)))
35 @
$$(MAKE
) -j1
-C
$(1)/$(bd
) $(target
)
38 $(call warn_eval
,$(1)/$(bd
),l
,T
,$(1)/$(bd
)-$(target
): $(1)/$(bd
)/$(target
))
41 $(foreach target
,$(SUBTARGETS
),
42 $(call warn_eval
,$(1),t
,T
,$(1)/$(target
): $($(1)/) $(foreach bd
,$(if
$($(1)/builddirs-
$(target
)),$($(1)/builddirs-
$(target
)),$($(1)/builddirs
)),$(1)/$(bd
)/$(target
)))
46 # Parameters: <subdir> <name>
48 $(1)/stamp
:=$(STAGING_DIR
)/stampfiles
/.
$(2)_installed
49 $(call rdep
,$(1),$$($(1)/stamp
))
53 @mkdir
-p
$$$$(dirname
$$($(1)/stamp
))
55 .PRECIOUS
: $$($(1)/stamp
) # work around a make bug
57 $(1)//clean:=$(1)/stamp
/clean
58 $(1)/stamp
/clean: FORCE
This page took 0.040771 seconds and 3 git commands to generate.