Skip to content

Commit c1b0bb6

Browse files
committed
build: core: Parameterize recovery with a variant
Include extra vendor config early. If RECOVERY_VARIANT is set, use it to look for the recovery in an alternate path. Change-Id: Iba54f0746d728c0dfeeb67b4d3166d5e25b1b5d7
1 parent 9f1cd7f commit c1b0bb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/pathmap.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ pathmap_INCL := \
5353
wilhelm-ut:frameworks/wilhelm/src/ut \
5454
speex:external/speex/include
5555

56-
ifneq ($(WITH_SIMPLE_RECOVERY),true)
57-
pathmap_INCL += recovery:bootable/recovery
56+
ifneq ($(RECOVERY_VARIANT),)
57+
pathmap_INCL += recovery:bootable/recovery-$(RECOVERY_VARIANT)
5858
else
59-
pathmap_INCL += recovery:bootable/simplerecovery
59+
pathmap_INCL += recovery:bootable/recovery
6060
endif
6161

6262
#

0 commit comments

Comments
 (0)