Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af449d46 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add is-board-platform2/is-board-platform-in-list2" am: 562e71bb am:...

Merge "Add is-board-platform2/is-board-platform-in-list2" am: 562e71bb am: 3aac1ab1 am: 34af8ed3 am: faa23914 am: c1c98f8a

Original change: https://android-review.googlesource.com/c/platform/build/+/1810519

Change-Id: I80af642330b4639cf526f61144e7a3b7a10f6473
parents 85b0b6f6 c1c98f8a
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -100,6 +100,16 @@ define product-copy-files-by-pattern
$(join $(patsubst %,$(1),$(3)),$(patsubst %,:$(2),$(3)))
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
ifeq ($(CALLED_FROM_SETUP),true)