Merge "Add is-board-platform2/is-board-platform-in-list2"
This commit is contained in:
@@ -100,6 +100,16 @@ define product-copy-files-by-pattern
|
|||||||
$(join $(patsubst %,$(1),$(3)),$(patsubst %,:$(2),$(3)))
|
$(join $(patsubst %,$(1),$(3)),$(patsubst %,:$(2),$(3)))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# Return empty unless the board matches
|
||||||
|
define is-board-platform2
|
||||||
|
$(filter $(1), $(TARGET_BOARD_PLATFORM))
|
||||||
|
endef
|
||||||
|
|
||||||
|
# Return empty unless the board is in the list
|
||||||
|
define is-board-platform-in-list2
|
||||||
|
$(filter $(1),$(TARGET_BOARD_PLATFORM))
|
||||||
|
endef
|
||||||
|
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# Check for obsolete PRODUCT- and APP- goals
|
# Check for obsolete PRODUCT- and APP- goals
|
||||||
ifeq ($(CALLED_FROM_SETUP),true)
|
ifeq ($(CALLED_FROM_SETUP),true)
|
||||||
|
Reference in New Issue
Block a user